Face

data class Face(val uv: Vector4dc?, val texture: String, val cullface: Model.Direction?, val rotation: Int, val tintIndex: Int)

A face of an Element.

Parameters

uv

The area of the texture in the format (fromX, fromY, toX, toY).

texture

The name of the texture. Resolved from the Model.textures map.

cullface

Used to check whether the face does not need to be rendered if an occluding block is present in the given direction.

rotation

The rotation of the texture.

tintIndex

Specifies the tint color for certain block- and item types.

Constructors

Link copied to clipboard
constructor(uv: Vector4dc?, texture: String, cullface: Model.Direction?, rotation: Int, tintIndex: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val uv: Vector4dc?