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

Classes

class  CollisionType
 

Public Member Functions

override void LoadData ()
 
bool TryCreateCollisionEffect (MyStringId type, Vector3D position, Vector3 normal, MyStringHash material1, MyStringHash material2)
 
string GetCollisionEffect (MyStringId type, MyStringHash materialType1, MyStringHash materialType2)
 
MySoundPair GetCollisionCue (MyStringId type, MyStringHash materialType1, MyStringHash materialType2)
 
MySoundPair GetCollisionCueWithMass (MyStringId type, MyStringHash materialType1, MyStringHash materialType2, ref float volume, float?mass=null, float velocity=0f)
 
- 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 UpdateAfterSimulation ()
 
virtual void UpdatingStopped ()
 
virtual void Draw ()
 
virtual void HandleInput ()
 
override string ToString ()
 

Static Public Attributes

static MyMaterialPropertiesHelper Static
 

Protected Member Functions

override void UnloadData ()
 

Additional Inherited Members

- Public Attributes inherited from VRage.Game.Components.MySessionComponentBase
readonly string DebugName
 
readonly int Priority
 
readonly Type ComponentType
 
IMySession Session
 
- 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...
 

Detailed Description

Definition at line 19 of file MyMaterialPropertiesHelper.cs.

Member Function Documentation

MySoundPair Sandbox.Game.Utils.MyMaterialPropertiesHelper.GetCollisionCue ( MyStringId  type,
MyStringHash  materialType1,
MyStringHash  materialType2 
)
inline

Definition at line 188 of file MyMaterialPropertiesHelper.cs.

MySoundPair Sandbox.Game.Utils.MyMaterialPropertiesHelper.GetCollisionCueWithMass ( MyStringId  type,
MyStringHash  materialType1,
MyStringHash  materialType2,
ref float  volume,
float?  mass = null,
float  velocity = 0f 
)
inline

Definition at line 204 of file MyMaterialPropertiesHelper.cs.

string Sandbox.Game.Utils.MyMaterialPropertiesHelper.GetCollisionEffect ( MyStringId  type,
MyStringHash  materialType1,
MyStringHash  materialType2 
)
inline

Definition at line 168 of file MyMaterialPropertiesHelper.cs.

override void Sandbox.Game.Utils.MyMaterialPropertiesHelper.LoadData ( )
inlinevirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 48 of file MyMaterialPropertiesHelper.cs.

bool Sandbox.Game.Utils.MyMaterialPropertiesHelper.TryCreateCollisionEffect ( MyStringId  type,
Vector3D  position,
Vector3  normal,
MyStringHash  material1,
MyStringHash  material2 
)
inline

Definition at line 152 of file MyMaterialPropertiesHelper.cs.

override void Sandbox.Game.Utils.MyMaterialPropertiesHelper.UnloadData ( )
inlineprotectedvirtual

Reimplemented from VRage.Game.Components.MySessionComponentBase.

Definition at line 146 of file MyMaterialPropertiesHelper.cs.

Member Data Documentation

MyMaterialPropertiesHelper Sandbox.Game.Utils.MyMaterialPropertiesHelper.Static
static

Definition at line 44 of file MyMaterialPropertiesHelper.cs.


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