Class SpatialBubbleDatabase
- Namespace
- KSP.Utilities
- Assembly
- Assembly-CSharp.dll
public class SpatialBubbleDatabase
- Inheritance
-
SpatialBubbleDatabase
- Inherited Members
-
- Extension Methods
-
Constructors
SpatialBubbleDatabase(NodeCollisionBehavior, List<float>)
public SpatialBubbleDatabase(NodeCollisionBehavior collisionBehavior, List<float> nodeRadiiSqr)
Parameters
collisionBehavior NodeCollisionBehavior
nodeRadiiSqr List<float>
Fields
CollisionBehavior
public NodeCollisionBehavior CollisionBehavior
Field Value
- NodeCollisionBehavior
NodeRadiiSqr
public List<float> NodeRadiiSqr
Field Value
- List<float>
_nodePool
public static Stack<SpatialBubbleDatabaseNode> _nodePool
Field Value
- Stack<SpatialBubbleDatabaseNode>
Methods
AcquireNode()
public static SpatialBubbleDatabaseNode AcquireNode()
Returns
- SpatialBubbleDatabaseNode
CollectNodes(ref List<SpatialBubbleDatabaseNode>, bool)
public void CollectNodes(ref List<SpatialBubbleDatabaseNode> nodes, bool all)
Parameters
nodes List<SpatialBubbleDatabaseNode>
all bool
ReleaseNode(SpatialBubbleDatabaseNode)
public static void ReleaseNode(SpatialBubbleDatabaseNode node)
Parameters
node SpatialBubbleDatabaseNode
RemoveNode(ISpatialDatabaseNode)
public void RemoveNode(ISpatialDatabaseNode node)
Parameters
node ISpatialDatabaseNode
TryAddNode(ISpatialDatabaseNode)
public bool TryAddNode(ISpatialDatabaseNode node)
Parameters
node ISpatialDatabaseNode
Returns
- bool