Share via


GKRTree<ElementType>.AddElement Method

Definition

[Foundation.Export("addElement:boundingRectMin:boundingRectMax:splitStrategy:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void AddElement(ElementType element, System.Numerics.Vector2 boundingRectMin, System.Numerics.Vector2 boundingRectMax, GameplayKit.GKRTreeSplitStrategy splitStrategy);
[<Foundation.Export("addElement:boundingRectMin:boundingRectMax:splitStrategy:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member AddElement : 'ElementType * System.Numerics.Vector2 * System.Numerics.Vector2 * GameplayKit.GKRTreeSplitStrategy -> unit
override this.AddElement : 'ElementType * System.Numerics.Vector2 * System.Numerics.Vector2 * GameplayKit.GKRTreeSplitStrategy -> unit

Parameters

element
ElementType
boundingRectMin
Vector2
boundingRectMax
Vector2
splitStrategy
GKRTreeSplitStrategy
Attributes

Applies to