Class SpatialBubbleDatabaseNode
- Namespace
- KSP.Utilities
- Assembly
- Assembly-CSharp.dll
public class SpatialBubbleDatabaseNode
- Inheritance
-
SpatialBubbleDatabaseNode
- Inherited Members
-
- Extension Methods
-
Constructors
SpatialBubbleDatabaseNode()
public SpatialBubbleDatabaseNode()
Fields
Depth
Field Value
- int
Owner
public SpatialBubbleDatabase Owner
Field Value
- SpatialBubbleDatabase
PositionUnitySpace
public Vector3 PositionUnitySpace
Field Value
- Vector3
RadiusSqr
Field Value
- float
Properties
IsLeaf
public bool IsLeaf { get; }
Property Value
- bool
Methods
CollectNodes(ref List<SpatialBubbleDatabaseNode>, bool)
public void CollectNodes(ref List<SpatialBubbleDatabaseNode> nodes, bool all)
Parameters
nodes List<SpatialBubbleDatabaseNode>
all bool
Contains(ISpatialDatabaseNode)
public bool Contains(ISpatialDatabaseNode node)
Parameters
node ISpatialDatabaseNode
Returns
- bool
GetChildNodeContaining(ISpatialDatabaseNode)
public SpatialBubbleDatabaseNode GetChildNodeContaining(ISpatialDatabaseNode node)
Parameters
node ISpatialDatabaseNode
Returns
- SpatialBubbleDatabaseNode
RemoveNode(ISpatialDatabaseNode)
public bool RemoveNode(ISpatialDatabaseNode node)
Parameters
node ISpatialDatabaseNode
Returns
- bool
Reset()
TryAddNode(ISpatialDatabaseNode)
public bool TryAddNode(ISpatialDatabaseNode node)
Parameters
node ISpatialDatabaseNode
Returns
- bool