Space Engineers
|
Public Member Functions | |
void | AssignIndex () |
override MyObjectBuilder_DefinitionBase | GetObjectBuilder () |
virtual void | CreateRenderData (out MyRenderVoxelMaterialData renderData) |
Public Member Functions inherited from VRage.Game.MyDefinitionBase | |
void | Init (MyObjectBuilder_DefinitionBase builder, MyModContext modContext) |
virtual void | Postprocess () |
Override this in case you want to do some postprocessing of the definition before the game starts. More... | |
void | Save (string filepath) |
override string | ToString () |
Static Public Member Functions | |
static void | ResetIndexing () |
Public Attributes | |
string | MaterialTypeName |
string | MinedOre |
float | MinedOreRatio |
bool | CanBeHarvested |
bool | IsRare |
float | DamageRatio |
int | MinVersion |
bool | SpawnsInAsteroids |
bool | SpawnsFromMeteorites |
string | DiffuseXZ |
string | NormalXZ |
string | DiffuseY |
string | NormalY |
MyParticleEffectsIDEnum | ParticleEffect |
float | SpecularPower |
float | SpecularShininess |
int | DamageThreshold |
MyStringHash | DamagedMaterial |
Public Attributes inherited from VRage.Game.MyDefinitionBase | |
MyDefinitionId | Id |
MyStringId | DisplayNameEnum |
Enum used for localization of display name. Null for player created definitions. More... | |
MyStringId | DescriptionEnum |
Enum used for localization of description. Null for player created definitions. More... | |
String | DisplayNameString |
String name used for user created definitions which do not have localization support. More... | |
String | DescriptionString |
String used for user created description which do not have localization support. More... | |
string[] | Icons |
Icons for the definition, they are used from top to bottom. More... | |
bool | Enabled = true |
Definition can be disabled by mod, then it will be removed from definition manager More... | |
bool | Public = true |
Indicates if definition should be offered in Cube builder More... | |
bool | AvailableInSurvival |
MyModContext | Context |
Protected Member Functions | |
override void | Init (MyObjectBuilder_DefinitionBase ob) |
Properties | |
byte | DamagedMaterialId [get] |
byte | Index [get] |
Value generated at runtime to ensure correctness. Do not serialize or deserialize. This is what the old cast to int used to result into, but now numbers depend on order in XML file. TODO Serialize to XML and ensure upon loading that these values are starting from 0 and continuous. More... | |
bool | HasDamageMaterial [get] |
Properties inherited from VRage.Game.MyDefinitionBase | |
virtual String | DisplayNameText [get] |
Use this property when showing name in GUI instead of DisplayName. This takes into account more complex name construction. More... | |
virtual String | DescriptionText [get] |
Use this property when showing description in GUI, as it takes into account more complex description construction. More... | |
Definition at line 15 of file MyVoxelMaterialDefinition.cs.
|
inline |
Definition at line 69 of file MyVoxelMaterialDefinition.cs.
|
inlinevirtual |
Reimplemented in Medieval.Definitions.MyDx11VoxelMaterialDefinition.
Definition at line 140 of file MyVoxelMaterialDefinition.cs.
|
inlinevirtual |
Reimplemented from VRage.Game.MyDefinitionBase.
Definition at line 115 of file MyVoxelMaterialDefinition.cs.
|
inlineprotectedvirtual |
Reimplemented from VRage.Game.MyDefinitionBase.
Definition at line 81 of file MyVoxelMaterialDefinition.cs.
|
inlinestatic |
Definition at line 76 of file MyVoxelMaterialDefinition.cs.
bool Sandbox.Definitions.MyVoxelMaterialDefinition.CanBeHarvested |
Definition at line 22 of file MyVoxelMaterialDefinition.cs.
MyStringHash Sandbox.Definitions.MyVoxelMaterialDefinition.DamagedMaterial |
Definition at line 39 of file MyVoxelMaterialDefinition.cs.
float Sandbox.Definitions.MyVoxelMaterialDefinition.DamageRatio |
Definition at line 24 of file MyVoxelMaterialDefinition.cs.
int Sandbox.Definitions.MyVoxelMaterialDefinition.DamageThreshold |
Definition at line 37 of file MyVoxelMaterialDefinition.cs.
string Sandbox.Definitions.MyVoxelMaterialDefinition.DiffuseXZ |
Definition at line 29 of file MyVoxelMaterialDefinition.cs.
string Sandbox.Definitions.MyVoxelMaterialDefinition.DiffuseY |
Definition at line 31 of file MyVoxelMaterialDefinition.cs.
bool Sandbox.Definitions.MyVoxelMaterialDefinition.IsRare |
Definition at line 23 of file MyVoxelMaterialDefinition.cs.
string Sandbox.Definitions.MyVoxelMaterialDefinition.MaterialTypeName |
Definition at line 19 of file MyVoxelMaterialDefinition.cs.
string Sandbox.Definitions.MyVoxelMaterialDefinition.MinedOre |
Definition at line 20 of file MyVoxelMaterialDefinition.cs.
float Sandbox.Definitions.MyVoxelMaterialDefinition.MinedOreRatio |
Definition at line 21 of file MyVoxelMaterialDefinition.cs.
int Sandbox.Definitions.MyVoxelMaterialDefinition.MinVersion |
Definition at line 25 of file MyVoxelMaterialDefinition.cs.
string Sandbox.Definitions.MyVoxelMaterialDefinition.NormalXZ |
Definition at line 30 of file MyVoxelMaterialDefinition.cs.
string Sandbox.Definitions.MyVoxelMaterialDefinition.NormalY |
Definition at line 32 of file MyVoxelMaterialDefinition.cs.
MyParticleEffectsIDEnum Sandbox.Definitions.MyVoxelMaterialDefinition.ParticleEffect |
Definition at line 33 of file MyVoxelMaterialDefinition.cs.
bool Sandbox.Definitions.MyVoxelMaterialDefinition.SpawnsFromMeteorites |
Definition at line 27 of file MyVoxelMaterialDefinition.cs.
bool Sandbox.Definitions.MyVoxelMaterialDefinition.SpawnsInAsteroids |
Definition at line 26 of file MyVoxelMaterialDefinition.cs.
float Sandbox.Definitions.MyVoxelMaterialDefinition.SpecularPower |
Definition at line 34 of file MyVoxelMaterialDefinition.cs.
float Sandbox.Definitions.MyVoxelMaterialDefinition.SpecularShininess |
Definition at line 35 of file MyVoxelMaterialDefinition.cs.
|
get |
Definition at line 43 of file MyVoxelMaterialDefinition.cs.
|
get |
Definition at line 67 of file MyVoxelMaterialDefinition.cs.
|
get |
Value generated at runtime to ensure correctness. Do not serialize or deserialize. This is what the old cast to int used to result into, but now numbers depend on order in XML file. TODO Serialize to XML and ensure upon loading that these values are starting from 0 and continuous.
Definition at line 62 of file MyVoxelMaterialDefinition.cs.