Space Engineers
Public Member Functions | Static Public Member Functions | Protected Member Functions | Properties | List of all members
Sandbox.MyDestructionData Class Reference
Inheritance diagram for Sandbox.MyDestructionData:
VRage.Game.Components.MySessionComponentBase VRage.Game.Components.Interfaces.IMyUserInputComponent

Public Member Functions

override void UpdateAfterSimulation ()
 
override void LoadData ()
 
void LoadModelDestruction (string modelName, MyPhysicalModelDefinition modelDef, Vector3 defaultSize, bool destructionRequired=true, bool useShapeVolume=false)
 
float GetBlockMass (string model, MyCubeBlockDefinition def)
 
- Public Member Functions inherited from VRage.Game.Components.MySessionComponentBase
virtual bool UpdatedBeforeInit ()
 
 MySessionComponentBase ()
 
void SetUpdateOrder (MyUpdateOrder order)
 
virtual void InitFromDefinition (MySessionComponentDefinition definition)
 
virtual void Init (MyObjectBuilder_SessionComponent sessionComponent)
 
virtual MyObjectBuilder_SessionComponent GetObjectBuilder ()
 
void AfterLoadData ()
 
void UnloadDataConditional ()
 
virtual void SaveData ()
 
virtual void BeforeStart ()
 
virtual void UpdateBeforeSimulation ()
 
virtual void Simulate ()
 
virtual void UpdatingStopped ()
 
virtual void Draw ()
 
virtual void HandleInput ()
 
override string ToString ()
 

Static Public Member Functions

static MyPhysicalMaterialDefinition GetPhysicalMaterial (MyPhysicalModelDefinition modelDef, string physicalMaterial)
 

Protected Member Functions

override void UnloadData ()
 

Properties

static MyDestructionData Static [get, set]
 
HkWorld TemporaryWorld [get]
 
MyBlockShapePool BlockShapePool [get]
 
override bool IsRequiredByGame [get]
 
- Properties inherited from VRage.Game.Components.MySessionComponentBase
MyUpdateOrder UpdateOrder [get]
 
MyObjectBuilderType ObjectBuilderType [get]
 
bool Loaded [get]
 
bool Initialized [get]
 
MyDefinitionId Definition [get, set]
 
virtual Type[] Dependencies [get]
 
virtual bool IsRequiredByGame [get]
 Indicates whether a session component should be used in current configuration. Example: MyDestructionData component returns true only when game uses Havok Destruction More...
 

Additional Inherited Members

- Public Attributes inherited from VRage.Game.Components.MySessionComponentBase
readonly string DebugName
 
readonly int Priority
 
readonly Type ComponentType
 
IMySession Session
 

Detailed Description

Definition at line 30 of file MyDestructionData.cs.

Member Function Documentation

float Sandbox.MyDestructionData.GetBlockMass ( string  model,
MyCubeBlockDefinition  def 
)
inline

Definition at line 685 of file MyDestructionData.cs.

static MyPhysicalMaterialDefinition Sandbox.MyDestructionData.GetPhysicalMaterial ( MyPhysicalModelDefinition  modelDef,
string  physicalMaterial 
)
inlinestatic

Definition at line 572 of file MyDestructionData.cs.

override void Sandbox.MyDestructionData.LoadData ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 53 of file MyDestructionData.cs.

void Sandbox.MyDestructionData.LoadModelDestruction ( string  modelName,
MyPhysicalModelDefinition  modelDef,
Vector3  defaultSize,
bool  destructionRequired = true,
bool  useShapeVolume = false 
)
inline

Definition at line 360 of file MyDestructionData.cs.

override void Sandbox.MyDestructionData.UnloadData ( )
inlineprotectedvirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 152 of file MyDestructionData.cs.

override void Sandbox.MyDestructionData.UpdateAfterSimulation ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 47 of file MyDestructionData.cs.

Property Documentation

MyBlockShapePool Sandbox.MyDestructionData.BlockShapePool
get

Definition at line 37 of file MyDestructionData.cs.

override bool Sandbox.MyDestructionData.IsRequiredByGame
get

Definition at line 43 of file MyDestructionData.cs.

MyDestructionData Sandbox.MyDestructionData.Static
staticgetset

Definition at line 35 of file MyDestructionData.cs.

HkWorld Sandbox.MyDestructionData.TemporaryWorld
get

Definition at line 36 of file MyDestructionData.cs.


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