Show / Hide Table of Contents

Class MyVoxelConstants

Inheritance
System.Object
MyVoxelConstants
Namespace: VRage.Voxels
Assembly: VRage.dll
Syntax
public static class MyVoxelConstants : Object

Fields

DATA_CELL_CONTENT_SUM_TOTAL

Declaration
public const int DATA_CELL_CONTENT_SUM_TOTAL = 130560
Field Value
Type Description
System.Int32

DATA_CELL_SIZE_IN_METRES

Declaration
public const float DATA_CELL_SIZE_IN_METRES = 8F
Field Value
Type Description
System.Single

DATA_CELL_SIZE_IN_VOXELS

Declaration
public const int DATA_CELL_SIZE_IN_VOXELS = 8
Field Value
Type Description
System.Int32

DATA_CELL_SIZE_IN_VOXELS_BITS

Declaration
public const int DATA_CELL_SIZE_IN_VOXELS_BITS = 3
Field Value
Type Description
System.Int32

DATA_CELL_SIZE_IN_VOXELS_MASK

Declaration
public const int DATA_CELL_SIZE_IN_VOXELS_MASK = 7
Field Value
Type Description
System.Int32

DATA_CELL_SIZE_IN_VOXELS_TOTAL

Declaration
public const int DATA_CELL_SIZE_IN_VOXELS_TOTAL = 512
Field Value
Type Description
System.Int32

DEFAULT_WRINKLE_WEIGHT_ADD

Declaration
public const float DEFAULT_WRINKLE_WEIGHT_ADD = 0.5F
Field Value
Type Description
System.Single

DEFAULT_WRINKLE_WEIGHT_REMOVE

Declaration
public const float DEFAULT_WRINKLE_WEIGHT_REMOVE = 0.45F
Field Value
Type Description
System.Single

FILE_EXTENSION

Declaration
public const string FILE_EXTENSION = ".vx2"
Field Value
Type Description
System.String

GEOMETRY_CELL_CACHE_SIZE

Declaration
public static readonly int GEOMETRY_CELL_CACHE_SIZE
Field Value
Type Description
System.Int32

GEOMETRY_CELL_MAX_TRIANGLES_COUNT

Declaration
public const int GEOMETRY_CELL_MAX_TRIANGLES_COUNT = 2560
Field Value
Type Description
System.Int32

GEOMETRY_CELL_SIZE_IN_METRES

Declaration
public const float GEOMETRY_CELL_SIZE_IN_METRES = 8F
Field Value
Type Description
System.Single

GEOMETRY_CELL_SIZE_IN_METRES_HALF

Declaration
public const float GEOMETRY_CELL_SIZE_IN_METRES_HALF = 4F
Field Value
Type Description
System.Single

GEOMETRY_CELL_SIZE_IN_VOXELS

Declaration
public const int GEOMETRY_CELL_SIZE_IN_VOXELS = 8
Field Value
Type Description
System.Int32

GEOMETRY_CELL_SIZE_IN_VOXELS_BITS

Declaration
public const int GEOMETRY_CELL_SIZE_IN_VOXELS_BITS = 3
Field Value
Type Description
System.Int32

GEOMETRY_CELL_SIZE_IN_VOXELS_TOTAL

Declaration
public const int GEOMETRY_CELL_SIZE_IN_VOXELS_TOTAL = 512
Field Value
Type Description
System.Int32

GEOMETRY_CELL_SIZE_VECTOR_IN_METRES

Declaration
public static readonly Vector3 GEOMETRY_CELL_SIZE_VECTOR_IN_METRES
Field Value
Type Description
Vector3

NULL_MATERIAL

Declaration
public const byte NULL_MATERIAL = 255
Field Value
Type Description
System.Byte

PRIORITY_IGNORE_EXTRACTION

Declaration
public const int PRIORITY_IGNORE_EXTRACTION = -1
Field Value
Type Description
System.Int32

PRIORITY_NORMAL

Declaration
public const int PRIORITY_NORMAL = 1
Field Value
Type Description
System.Int32

PRIORITY_PLANET

Declaration
public const int PRIORITY_PLANET = 0
Field Value
Type Description
System.Int32

RenderCellBits

Declaration
public const int RenderCellBits = 3
Field Value
Type Description
System.Int32

RenderCellSize

Declaration
public const int RenderCellSize = 8
Field Value
Type Description
System.Int32

VOXEL_CONTENT_EMPTY

Declaration
public const byte VOXEL_CONTENT_EMPTY = 0
Field Value
Type Description
System.Byte

VOXEL_CONTENT_FULL

Declaration
public const byte VOXEL_CONTENT_FULL = 255
Field Value
Type Description
System.Byte

VOXEL_CONTENT_FULL_FLOAT

Declaration
public const float VOXEL_CONTENT_FULL_FLOAT = 255F
Field Value
Type Description
System.Single

VOXEL_GENERATOR_MIN_ICE_VERSION

Declaration
public const int VOXEL_GENERATOR_MIN_ICE_VERSION = 1
Field Value
Type Description
System.Int32

VOXEL_GENERATOR_VERSION

Declaration
public const int VOXEL_GENERATOR_VERSION = 4
Field Value
Type Description
System.Int32

VOXEL_ISO_LEVEL

Declaration
public const byte VOXEL_ISO_LEVEL = 127
Field Value
Type Description
System.Byte

VOXEL_RADIUS

Declaration
public static readonly float VOXEL_RADIUS
Field Value
Type Description
System.Single

VOXEL_SIZE_IN_METRES

Declaration
public const float VOXEL_SIZE_IN_METRES = 1F
Field Value
Type Description
System.Single

VOXEL_SIZE_IN_METRES_HALF

Declaration
public const float VOXEL_SIZE_IN_METRES_HALF = 0.5F
Field Value
Type Description
System.Single

VOXEL_SIZE_VECTOR

Declaration
public static readonly Vector3 VOXEL_SIZE_VECTOR
Field Value
Type Description
Vector3

VOXEL_SIZE_VECTOR_HALF

Declaration
public static readonly Vector3 VOXEL_SIZE_VECTOR_HALF
Field Value
Type Description
Vector3

VOXEL_VOLUME_IN_METERS

Declaration
public const float VOXEL_VOLUME_IN_METERS = 1F
Field Value
Type Description
System.Single

Methods

DefaultValue(MyStorageDataTypeEnum)

Declaration
public static byte DefaultValue(MyStorageDataTypeEnum type)
Parameters
Type Name Description
MyStorageDataTypeEnum type
Returns
Type Description
System.Byte
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾