Class PointDataV2.Id
- Namespace
- VoxelPlayground.Engine
- Assembly
- VoxEngineCore.dll
Helper class for material IDs.
public static class PointDataV2.Id
- Inheritance
-
objectPointDataV2.Id
Fields
Air
Constants for material IDs.
public const uint Air = 0
Field Value
- uint
Armor
Constants for material IDs.
public const uint Armor = 18
Field Value
- uint
Asphalt
Constants for material IDs.
public const uint Asphalt = 10
Field Value
- uint
Bone
Constants for material IDs.
public const uint Bone = 4
Field Value
- uint
Brick
Constants for material IDs.
public const uint Brick = 8
Field Value
- uint
CarbonSteel
Constants for material IDs.
public const uint CarbonSteel = 22
Field Value
- uint
Concrete
Constants for material IDs.
public const uint Concrete = 9
Field Value
- uint
Crust
Constants for material IDs.
public const uint Crust = 11
Field Value
- uint
Dirt
Constants for material IDs.
public const uint Dirt = 6
Field Value
- uint
EnergyShield
Constants for material IDs.
public const uint EnergyShield = 20
Field Value
- uint
FistSkin
Constants for material IDs.
public const uint FistSkin = 17
Field Value
- uint
Glass
Constants for material IDs.
public const uint Glass = 14
Field Value
- uint
Glow
Constants for material IDs.
public const uint Glow = 13
Field Value
- uint
Grass
Constants for material IDs.
public const uint Grass = 2
Field Value
- uint
HarderSkin
Constants for material IDs.
public const uint HarderSkin = 15
Field Value
- uint
HardSkin
Constants for material IDs.
public const uint HardSkin = 16
Field Value
- uint
MAX_ID
Constants for material IDs.
public const uint MAX_ID = 26
Field Value
- uint
Metal
Constants for material IDs.
public const uint Metal = 12
Field Value
- uint
Names
Names of the material IDs.
public static string[] Names
Field Value
- string[]
PierceBullet
Constants for material IDs.
public const uint PierceBullet = 21
Field Value
- uint
Plastic
Constants for material IDs.
public const uint Plastic = 3
Field Value
- uint
Skin
Constants for material IDs.
public const uint Skin = 5
Field Value
- uint
Stone
Constants for material IDs.
public const uint Stone = 7
Field Value
- uint
Water
Constants for material IDs.
public const uint Water = 19
Field Value
- uint
Wood
Constants for material IDs.
public const uint Wood = 1
Field Value
- uint
Methods
GetName(uint)
Gets the name of the block ID.
public static string GetName(uint blockId)
Parameters
blockIduintThe block ID.
Returns
- string
The name of the block.
IsMetalClass(uint)
Checks if the ID represents a metal class material.
public static bool IsMetalClass(uint id)
Parameters
iduintThe material ID.
Returns
- bool
True if it is a metal type.