Class RTree.SpatialNode
Inheritance
RTree.SpatialNode
Syntax
public sealed class SpatialNode : ISpatialObject, IDisposable
Constructors
SpatialNode()
Declaration
Fields
children
Declaration
public readonly List<ISpatialObject> children
Field Value
parent
Declaration
public RTree.SpatialNode parent
Field Value
Properties
Center
Declaration
public Vector3 Center { get; }
Property Value
Implements
Depth
Declaration
public int Depth { get; }
Property Value
Entry
Declaration
public EntryData Entry { get; set; }
Property Value
Implements
Id
Declaration
public DynamicGuid Id { get; }
Property Value
Implements
Ignore
Declaration
public bool Ignore { get; set; }
Property Value
isLeaf
Declaration
public bool isLeaf { get; }
Property Value
IsLoaded
Declaration
public bool IsLoaded { get; set; }
Property Value
IsVisible
Declaration
public bool IsVisible { get; set; }
Property Value
Implements
LoadedObject
Declaration
public GameObject LoadedObject { get; set; }
Property Value
Implements
Max
Declaration
public Vector3 Max { get; }
Property Value
Implements
Min
Declaration
public Vector3 Min { get; }
Property Value
Implements
OnAdded
Declaration
public static Action<ISpatialObject> OnAdded { get; set; }
Property Value
OnChanged
Declaration
public static Action<ISpatialObject> OnChanged { get; set; }
Property Value
OnRemoved
Declaration
public static Action<ISpatialObject> OnRemoved { get; set; }
Property Value
Priority
Declaration
public float Priority { get; set; }
Property Value
Implements
Methods
AdjustBounds()
Declaration
public void AdjustBounds()
Dispose()
Declaration
Encapsulates(ISpatialObject)
Declaration
public bool Encapsulates(ISpatialObject obj)
Parameters
Returns
FindChildLeastEnlargement(ISpatialObject)
Declaration
public RTree.SpatialNode FindChildLeastEnlargement(ISpatialObject obj)
Parameters
Returns