Space Engineers
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Medieval.Definitions.MyDx11VoxelMaterialDefinition Class Reference
Inheritance diagram for Medieval.Definitions.MyDx11VoxelMaterialDefinition:
Sandbox.Definitions.MyVoxelMaterialDefinition VRage.Game.MyDefinitionBase

Public Member Functions

override MyObjectBuilder_DefinitionBase GetObjectBuilder ()
 
void FillString (ref string stringToFill, ref string defaultValue, ref string alternative)
 
override void CreateRenderData (out MyRenderVoxelMaterialData renderData)
 
- Public Member Functions inherited from Sandbox.Definitions.MyVoxelMaterialDefinition
void AssignIndex ()
 
override MyObjectBuilder_DefinitionBase GetObjectBuilder ()
 
- 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 ()
 

Public Attributes

string ColorMetalXZnY
 
string ColorMetalY
 
string NormalGlossXZnY
 
string NormalGlossY
 
string ExtXZnY
 
string ExtY
 
string ColorMetalXZnYFar1
 
string ColorMetalYFar1
 
string NormalGlossXZnYFar1
 
string NormalGlossYFar1
 
string ExtXZnYFar1
 
string ExtYFar1
 
string ColorMetalXZnYFar2
 
string ColorMetalYFar2
 
string NormalGlossXZnYFar2
 
string NormalGlossYFar2
 
string ExtXZnYFar2
 
string ExtYFar2
 
Color Far3Color
 
float InitialScale
 
float ScaleMultiplier
 
float InitialDistance
 
float DistanceMultiplier
 
float Far1Distance
 
float Far2Distance
 
float Far3Distance
 
float Far1Scale
 
float Far2Scale
 
float Far3Scale
 
float ExtensionDetailScale
 
string FoliageTextureArray1
 
string FoliageTextureArray2
 
string[] FoliageColorTextureArray
 
string[] FoliageNormalTextureArray
 
float FoliageDensity
 
Vector2 FoliageScale
 
float FoliageRandomRescaleMult
 
int FoliageType
 
byte BiomeValueMin
 
byte BiomeValueMax
 
- Public Attributes inherited from Sandbox.Definitions.MyVoxelMaterialDefinition
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)
 
- Protected Member Functions inherited from Sandbox.Definitions.MyVoxelMaterialDefinition
override void Init (MyObjectBuilder_DefinitionBase ob)
 

Additional Inherited Members

- Static Public Member Functions inherited from Sandbox.Definitions.MyVoxelMaterialDefinition
static void ResetIndexing ()
 
- Properties inherited from Sandbox.Definitions.MyVoxelMaterialDefinition
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...
 

Detailed Description

Definition at line 17 of file MyDx11VoxelMaterialDefinition.cs.

Member Function Documentation

override void Medieval.Definitions.MyDx11VoxelMaterialDefinition.CreateRenderData ( out MyRenderVoxelMaterialData  renderData)
inlinevirtual
void Medieval.Definitions.MyDx11VoxelMaterialDefinition.FillString ( ref string  stringToFill,
ref string  defaultValue,
ref string  alternative 
)
inline

Definition at line 171 of file MyDx11VoxelMaterialDefinition.cs.

override MyObjectBuilder_DefinitionBase Medieval.Definitions.MyDx11VoxelMaterialDefinition.GetObjectBuilder ( )
inlinevirtual

Reimplemented from VRage.Game.MyDefinitionBase.

Definition at line 118 of file MyDx11VoxelMaterialDefinition.cs.

override void Medieval.Definitions.MyDx11VoxelMaterialDefinition.Init ( MyObjectBuilder_DefinitionBase  ob)
inlineprotectedvirtual

Reimplemented from VRage.Game.MyDefinitionBase.

Definition at line 63 of file MyDx11VoxelMaterialDefinition.cs.

Member Data Documentation

byte Medieval.Definitions.MyDx11VoxelMaterialDefinition.BiomeValueMax

Definition at line 61 of file MyDx11VoxelMaterialDefinition.cs.

byte Medieval.Definitions.MyDx11VoxelMaterialDefinition.BiomeValueMin

Definition at line 60 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.ColorMetalXZnY

Definition at line 19 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.ColorMetalXZnYFar1

Definition at line 25 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.ColorMetalXZnYFar2

Definition at line 31 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.ColorMetalY

Definition at line 20 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.ColorMetalYFar1

Definition at line 26 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.ColorMetalYFar2

Definition at line 32 of file MyDx11VoxelMaterialDefinition.cs.

float Medieval.Definitions.MyDx11VoxelMaterialDefinition.DistanceMultiplier

Definition at line 42 of file MyDx11VoxelMaterialDefinition.cs.

float Medieval.Definitions.MyDx11VoxelMaterialDefinition.ExtensionDetailScale

Definition at line 49 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.ExtXZnY

Definition at line 23 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.ExtXZnYFar1

Definition at line 29 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.ExtXZnYFar2

Definition at line 35 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.ExtY

Definition at line 24 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.ExtYFar1

Definition at line 30 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.ExtYFar2

Definition at line 36 of file MyDx11VoxelMaterialDefinition.cs.

float Medieval.Definitions.MyDx11VoxelMaterialDefinition.Far1Distance

Definition at line 43 of file MyDx11VoxelMaterialDefinition.cs.

float Medieval.Definitions.MyDx11VoxelMaterialDefinition.Far1Scale

Definition at line 46 of file MyDx11VoxelMaterialDefinition.cs.

float Medieval.Definitions.MyDx11VoxelMaterialDefinition.Far2Distance

Definition at line 44 of file MyDx11VoxelMaterialDefinition.cs.

float Medieval.Definitions.MyDx11VoxelMaterialDefinition.Far2Scale

Definition at line 47 of file MyDx11VoxelMaterialDefinition.cs.

Color Medieval.Definitions.MyDx11VoxelMaterialDefinition.Far3Color

Definition at line 37 of file MyDx11VoxelMaterialDefinition.cs.

float Medieval.Definitions.MyDx11VoxelMaterialDefinition.Far3Distance

Definition at line 45 of file MyDx11VoxelMaterialDefinition.cs.

float Medieval.Definitions.MyDx11VoxelMaterialDefinition.Far3Scale

Definition at line 48 of file MyDx11VoxelMaterialDefinition.cs.

string [] Medieval.Definitions.MyDx11VoxelMaterialDefinition.FoliageColorTextureArray

Definition at line 53 of file MyDx11VoxelMaterialDefinition.cs.

float Medieval.Definitions.MyDx11VoxelMaterialDefinition.FoliageDensity

Definition at line 55 of file MyDx11VoxelMaterialDefinition.cs.

string [] Medieval.Definitions.MyDx11VoxelMaterialDefinition.FoliageNormalTextureArray

Definition at line 54 of file MyDx11VoxelMaterialDefinition.cs.

float Medieval.Definitions.MyDx11VoxelMaterialDefinition.FoliageRandomRescaleMult

Definition at line 57 of file MyDx11VoxelMaterialDefinition.cs.

Vector2 Medieval.Definitions.MyDx11VoxelMaterialDefinition.FoliageScale

Definition at line 56 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.FoliageTextureArray1

Definition at line 51 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.FoliageTextureArray2

Definition at line 52 of file MyDx11VoxelMaterialDefinition.cs.

int Medieval.Definitions.MyDx11VoxelMaterialDefinition.FoliageType

Definition at line 58 of file MyDx11VoxelMaterialDefinition.cs.

float Medieval.Definitions.MyDx11VoxelMaterialDefinition.InitialDistance

Definition at line 41 of file MyDx11VoxelMaterialDefinition.cs.

float Medieval.Definitions.MyDx11VoxelMaterialDefinition.InitialScale

Definition at line 39 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.NormalGlossXZnY

Definition at line 21 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.NormalGlossXZnYFar1

Definition at line 27 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.NormalGlossXZnYFar2

Definition at line 33 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.NormalGlossY

Definition at line 22 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.NormalGlossYFar1

Definition at line 28 of file MyDx11VoxelMaterialDefinition.cs.

string Medieval.Definitions.MyDx11VoxelMaterialDefinition.NormalGlossYFar2

Definition at line 34 of file MyDx11VoxelMaterialDefinition.cs.

float Medieval.Definitions.MyDx11VoxelMaterialDefinition.ScaleMultiplier

Definition at line 40 of file MyDx11VoxelMaterialDefinition.cs.


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