Space Engineers
Public Member Functions | List of all members
Sandbox.Engine.Physics.MyWeldGroupData Class Reference
Inheritance diagram for Sandbox.Engine.Physics.MyWeldGroupData:
VRage.Groups.IGroupData< MyEntity >

Public Member Functions

void OnRelease ()
 
void OnNodeAdded (MyEntity entity)
 
void OnNodeRemoved (MyEntity entity)
 
void OnCreate< TGroupData > (MyGroups< MyEntity, TGroupData >.Group group)
 
bool UpdateParent (MyEntity oldParent)
 Call when node body changes quality type (dynamic/static/doubled) Checks if there isnt more suitable parent in the group i.e. group parent is dynamic and there is node that is static More...
 
- Public Member Functions inherited from VRage.Groups.IGroupData< MyEntity >
void OnCreate< TGroupData > (MyGroups< TNode, TGroupData >.Group group)
 Group is taken from pool More...
 
void OnRelease ()
 Group is returned to pool More...
 
void OnNodeAdded (TNode entity)
 Node is added to group More...
 
void OnNodeRemoved (TNode entity)
 Node is removed from group More...
 

Detailed Description

Definition at line 15 of file MyWeldGroupData.cs.

Member Function Documentation

void Sandbox.Engine.Physics.MyWeldGroupData.OnCreate< TGroupData > ( MyGroups< MyEntity, TGroupData >.Group  group)
inline
Type Constraints
TGroupData :IGroupData<MyEntity> 
TGroupData :new() 

Definition at line 90 of file MyWeldGroupData.cs.

void Sandbox.Engine.Physics.MyWeldGroupData.OnNodeAdded ( MyEntity  entity)
inline

Definition at line 26 of file MyWeldGroupData.cs.

void Sandbox.Engine.Physics.MyWeldGroupData.OnNodeRemoved ( MyEntity  entity)
inline

Definition at line 54 of file MyWeldGroupData.cs.

void Sandbox.Engine.Physics.MyWeldGroupData.OnRelease ( )
inline

Definition at line 20 of file MyWeldGroupData.cs.

bool Sandbox.Engine.Physics.MyWeldGroupData.UpdateParent ( MyEntity  oldParent)
inline

Call when node body changes quality type (dynamic/static/doubled) Checks if there isnt more suitable parent in the group i.e. group parent is dynamic and there is node that is static

Parameters
oldParentWeldInfo.Parent or self if WeldInfo.Parent is null
Returns
parent changed

Definition at line 103 of file MyWeldGroupData.cs.


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