Assembly: Sandbox.Game.dll

public class MyDx11VoxelMaterialDefinition: MyVoxelMaterialDefinition

Fields

Member Description
AsteroidGeneratorSpawnProbabilityMultiplier Inherited from MyVoxelMaterialDefinition
AvailableInSurvival Inherited from MyDefinitionBase
BareVariant Inherited from MyVoxelMaterialDefinition
CanBeHarvested Inherited from MyVoxelMaterialDefinition
ColorKey Inherited from MyVoxelMaterialDefinition
Context Inherited from MyDefinitionBase
DamagedMaterial Inherited from MyVoxelMaterialDefinition
DescriptionArgs String used for shortcuts used in description

Inherited from MyDefinitionBase
DescriptionEnum Enum used for localization of description. Null for player created definitions.

Inherited from MyDefinitionBase
DescriptionString String used for user created description which do not have localization support.

Inherited from MyDefinitionBase
Enabled Definition can be disabled by mod, then it will be removed from definition manager

Inherited from MyDefinitionBase
Friction Inherited from MyVoxelMaterialDefinition
Icons Icons for the definition, they are used from top to bottom.

Inherited from MyDefinitionBase
Id Inherited from MyDefinitionBase
IsRare Inherited from MyVoxelMaterialDefinition
LandingEffect Inherited from MyVoxelMaterialDefinition
MaterialTypeName Inherited from MyVoxelMaterialDefinition
MaxVersion Inherited from MyVoxelMaterialDefinition
MinedOre Inherited from MyVoxelMaterialDefinition
MinedOreRatio Inherited from MyVoxelMaterialDefinition
MinVersion Inherited from MyVoxelMaterialDefinition
Public Indicates if definition should be offered in Cube builder

Inherited from MyDefinitionBase
RenderParams Inherited from MyVoxelMaterialDefinition
Restitution Inherited from MyVoxelMaterialDefinition
SpawnsFromMeteorites Inherited from MyVoxelMaterialDefinition
SpawnsInAsteroids Inherited from MyVoxelMaterialDefinition
VoxelHandPreview Inherited from MyVoxelMaterialDefinition

Properties

Member Description
DescriptionText Use this property when showing description in GUI, as it takes into account more complex description construction.

Inherited from MyDefinitionBase
DisplayNameEnum Enum used for localization of display name. Null for player created definitions.

Inherited from MyDefinitionBase
DisplayNameString String name used for user created definitions which do not have localization support.

Inherited from MyDefinitionBase
DisplayNameText Use this property when showing name in GUI instead of DisplayName. This takes into account more complex name construction.

Inherited from MyDefinitionBase
DLCs Inherited from MyDefinitionBase
HasDamageMaterial Inherited from MyVoxelMaterialDefinition
Icon Inherited from MyVoxelMaterialDefinition
Index 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.

Inherited from MyVoxelMaterialDefinition
MaterialTypeNameHash Inherited from MyVoxelMaterialDefinition
MaterialTypeNameId Inherited from MyVoxelMaterialDefinition

Constructors

Member Description
MyDx11VoxelMaterialDefinition()
MyVoxelMaterialDefinition() Inherited from MyVoxelMaterialDefinition
MyDefinitionBase() Inherited from MyDefinitionBase

Methods

Member Description
static ResetIndexing() Inherited from MyVoxelMaterialDefinition
AssignIndex() Inherited from MyVoxelMaterialDefinition
CheckDefinitionDLCs(String[]) Checks if the definition has all required DLCs as it should have

Inherited from MyDefinitionBase
GetObjectBuilder() Inherited from MyVoxelMaterialDefinition
GetObjectBuilder() Inherited from MyDefinitionBase
Init(MyObjectBuilder_DefinitionBase, MyModContext) Inherited from MyDefinitionBase
Postprocess() Override this in case you want to do some postprocessing of the definition before the game starts. Prefer to use MyDefinitionPostprocessor instead.Postprocess is useful if you want to process the definition before the game begins,

but you only want to do it when all the definitions are loaded and merged.

Inherited from MyDefinitionBase
ToString() Inherited from MyDefinitionBase
UpdateVoxelMaterial() Inherited from MyVoxelMaterialDefinition

Inheritance: MyDefinitionBase ˃ MyVoxelMaterialDefinition