Voxel Type

Represents a specific type of a voxel and defines its properties.

Properties

The material used to draw this voxel type.

public Material Material { get; set; }

Controls whether a collider is generated for this voxel type.

public bool EnableCollision { get; set; }

The color that faces front.

public Color32 ColorFront { get; set; }

The color that faces back.

public Color32 ColorBack { get; set; }

The color that faces right.

public Color32 ColorRight { get; set; }

The color that faces left.

public Color32 ColorLeft { get; set; }

The color that faces up.

public Color32 ColorUp { get; set; }

The color that faces down.

public Color32 ColorDown { get; set; }

The texture that faces front.

public Texture2D TextureFront { get; set; }

The texture that faces back.

public Texture2D TextureBack { get; set; }

The texture that faces right.

public Texture2D TextureRight { get; set; }

The texture that faces left.

public Texture2D TextureLeft { get; set; }

The texture that faces up.

public Texture2D TextureUp { get; set; }

The texture that faces down.

public Texture2D TextureDown { get; set; }

Last updated