Space Engineers
Public Member Functions | Properties | List of all members
VRageMath.Spatial.MyClusterTree.IMyActivationHandler Interface Reference
Inheritance diagram for VRageMath.Spatial.MyClusterTree.IMyActivationHandler:
Sandbox.Engine.Physics.MyPhysicsBody Sandbox.Engine.Voxels.MyVoxelPhysicsBody Sandbox.Game.Entities.Cube.MyGridPhysics Sandbox.Game.Entities.Cube.MyGridPhysics Sandbox.Game.Entities.Debris.MyDebrisBase.MyDebrisPhysics Sandbox.Game.Entities.MyHandToolBase.MyBlockingBody Sandbox.Game.Entities.MyManipulationTool.MyCharacterVirtualPhysicsBody

Public Member Functions

void Activate (object userData, ulong clusterObjectID)
 Called when standalone object is added to cluster More...
 
void Deactivate (object userData)
 Called when standalone object is removed from cluster More...
 
void ActivateBatch (object userData, ulong clusterObjectID)
 Called when multiple objects are added to cluster. More...
 
void DeactivateBatch (object userData)
 Called when multiple objects are removed from cluster. More...
 
void FinishAddBatch ()
 Called when adding multiple objects is finished. More...
 
void FinishRemoveBatch (object userData)
 Called when removing multiple objects is finished. More...
 

Properties

bool IsStaticForCluster [get]
 If true, than this object is not calculated into cluster division algorithm. It is just added or removed if dynamic object is in range. More...
 

Detailed Description

Definition at line 26 of file MyClusterTree.cs.

Member Function Documentation

void VRageMath.Spatial.MyClusterTree.IMyActivationHandler.Activate ( object  userData,
ulong  clusterObjectID 
)

Called when standalone object is added to cluster

Parameters
userData
clusterObjectID

Implemented in Sandbox.Engine.Physics.MyPhysicsBody, Sandbox.Engine.Voxels.MyVoxelPhysicsBody, and Sandbox.Game.Entities.Cube.MyGridPhysics.

void VRageMath.Spatial.MyClusterTree.IMyActivationHandler.ActivateBatch ( object  userData,
ulong  clusterObjectID 
)

Called when multiple objects are added to cluster.

Parameters
userData
clusterObjectID

Implemented in Sandbox.Engine.Physics.MyPhysicsBody, Sandbox.Engine.Voxels.MyVoxelPhysicsBody, and Sandbox.Game.Entities.Cube.MyGridPhysics.

void VRageMath.Spatial.MyClusterTree.IMyActivationHandler.Deactivate ( object  userData)

Called when standalone object is removed from cluster

Parameters
userData

Implemented in Sandbox.Engine.Physics.MyPhysicsBody, Sandbox.Engine.Voxels.MyVoxelPhysicsBody, and Sandbox.Game.Entities.Cube.MyGridPhysics.

void VRageMath.Spatial.MyClusterTree.IMyActivationHandler.DeactivateBatch ( object  userData)

Called when multiple objects are removed from cluster.

Parameters
userData

Implemented in Sandbox.Engine.Physics.MyPhysicsBody, Sandbox.Engine.Voxels.MyVoxelPhysicsBody, and Sandbox.Game.Entities.Cube.MyGridPhysics.

void VRageMath.Spatial.MyClusterTree.IMyActivationHandler.FinishAddBatch ( )

Called when adding multiple objects is finished.

Implemented in Sandbox.Engine.Physics.MyPhysicsBody.

void VRageMath.Spatial.MyClusterTree.IMyActivationHandler.FinishRemoveBatch ( object  userData)

Called when removing multiple objects is finished.

Implemented in Sandbox.Engine.Physics.MyPhysicsBody.

Property Documentation

bool VRageMath.Spatial.MyClusterTree.IMyActivationHandler.IsStaticForCluster
get

If true, than this object is not calculated into cluster division algorithm. It is just added or removed if dynamic object is in range.

Definition at line 67 of file MyClusterTree.cs.


The documentation for this interface was generated from the following file: