Class BlockInfoData
- Namespace
- VoxelPlayground.Engine
- Assembly
- VoxEngine.dll
[CreateAssetMenu(fileName = "BlockInfoData", menuName = "VoxelPlayground/BlockInfoData", order = 1)]
public class BlockInfoData : ScriptableObject
- Inheritance
-
object
BlockInfoData
- Extension Methods
-
Fields
burnTemperatureSpread
[Space]
[InfoBox("If material burn, it will spread to neighbor voxels with this temperature. note this is a float value. 1.8 means: 80% probability to spread at 2, 20% probability to spread at 1.", InfoMessageType.Info, null)]
public float burnTemperatureSpread
Field Value
- float
freezingPoint
[Space]
[InfoBox("If material temperature below this value, it will freeze. Not used now.", InfoMessageType.Info, null)]
public uint freezingPoint
Field Value
- uint
hardness
Field Value
- uint
ignitionPoint
[Space]
[InfoBox("If material temperature above this value, it will catch fire", InfoMessageType.Info, null)]
public uint ignitionPoint
Field Value
- uint
insulationLevel
[Space]
[InfoBox("If material insulation level is above this value, it will spread electricity. Not used now.", InfoMessageType.Info, null)]
public uint insulationLevel
Field Value
- uint
[Range(0, 1)]
public float metallic
Field Value
- float
ParentBlockInfo
public BlockInfo ParentBlockInfo
Field Value
- BlockInfo
poisonSpreadLevel
[Space]
[InfoBox("If material poision level is above this value, it will spread. ", InfoMessageType.Info, null)]
public uint poisonSpreadLevel
Field Value
- uint
smoothnessBrightness
[Range(-1, 1)]
public float smoothnessBrightness
Field Value
- float
smoothnessContrast
[Range(0, 3)]
public float smoothnessContrast
Field Value
- float
texID
[Space]
[Header("Don't Change It. Procedurally Filled In")]
public int texID
Field Value
- int