Aller au contenu

Origin3D

data class Origin3D(
    val x: GPUIntegerCoordinate, 
    val y: GPUIntegerCoordinate, 
    val z: GPUIntegerCoordinate
) : GPUOrigin3D
A three-dimensional origin represented by x, y, and z coordinates.

Constructors

Origin3D

constructor(
    x: GPUIntegerCoordinate, 
    y: GPUIntegerCoordinate, 
    z: GPUIntegerCoordinate
)

Properties

x

open override val x: GPUIntegerCoordinate
The X coordinate of the origin; defaults to 0 when the origin is specified as a dictionary.

y

open override val y: GPUIntegerCoordinate
The Y coordinate of the origin; defaults to 0 when the origin is specified as a dictionary.

z

open override val z: GPUIntegerCoordinate
The Z coordinate of the origin; defaults to 0 when the origin is specified as a dictionary.