Class TriTree
A wrapper provides native tree-grid-based structure. It wraps NativeStl.
public class TriTree : IDisposable, IGetTriTree, ICollidee, ICollidable, IExpandToBox3d, IGetCollidable
- Inheritance
-
TriTree
- Implements
- Inherited Members
- Extension Methods
Constructors
TriTree(NativeStl)
Ctor.
public TriTree(NativeStl nativeStl)
Parameters
nativeStl
NativeStlNative Stl
Properties
CollisionFlag
Gets or sets the collision flag.
public CollisionFlag CollisionFlag { get; set; }
Property Value
NativeStl
For internal.
public NativeStl NativeStl { get; set; }
Property Value
TriTreePtr
For internal.
public nint TriTreePtr { get; set; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Remarks
If NativeStl is disposed, this object will also be disposed.
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposing
bool
ExpandToBox3d(Box3d)
Expands the destination box. This function is usually used to compute the bounding box of elements.
public void ExpandToBox3d(Box3d dst)
Parameters
dst
Box3dDestination box
~TriTree()
protected ~TriTree()
GetCollidable()
Get ICollidable.
public ICollidable GetCollidable()
Returns
- ICollidable
The collidable object.
GetCollidee()
Get ICollidee.
public ICollidee GetCollidee()
Returns
GetTriTree()
Get TriTree.
public TriTree GetTriTree()