Class CAaBspNode
One MOBN BSP node for collision: a split plane or a leaf referencing faces through MOBR.
public class CAaBspNode : IDisposable
- Inheritance
-
CAaBspNode
- Implements
- Inherited Members
Constructors
CAaBspNode()
public CAaBspNode()
CAaBspNode(ushort, short, short, ushort, uint, float)
public CAaBspNode(ushort flags, short negChild, short posChild, ushort nFaces, uint faceStart, float planeDist)
Parameters
CAaBspNode(CAaBspNode)
Copy-construct: a deep copy of other (the C++ copy constructor).
public CAaBspNode(CAaBspNode other)
Parameters
otherCAaBspNode
Properties
FaceStart
First face index in MOBR.
public uint FaceStart { get; set; }
Property Value
Flags
0-2: split axis, 0x4: leaf.
public ushort Flags { get; set; }
Property Value
NFaces
Face count in MOBR (leaves).
public ushort NFaces { get; set; }
Property Value
NegChild
Negative-side child node, -1 for none.
public short NegChild { get; set; }
Property Value
PlaneDist
Split plane distance from the model origin.
public float PlaneDist { get; set; }
Property Value
PosChild
Positive-side child node, -1 for none.
public short PosChild { get; set; }
Property Value
Methods
Dispose()
Release the native object now. Optional: the finalizer releases it on
collection anyway - dispose (or using) when you want native memory back
promptly.
public virtual void Dispose()