Element
@Serializable
A voxel of a Model.
Parameters
from
The start position of the voxel.
to
The end position of the voxel.
rotation
The rotation of the voxel.
faces
A map of the voxel's faces.
Constructors
Link copied to clipboard
constructor(from: Vector3dc, to: Vector3dc, rotation: Model.Element.Rotation? = null, faces: Map<Model.Direction, Model.Element.Face>, shade: Boolean = true, lightEmission: Int = 0)