Origin2D¶
data class Origin2D(val x: GPUIntegerCoordinate, val y: GPUIntegerCoordinate) : GPUOrigin2D
Constructors¶
Origin2D¶
constructor(x: GPUIntegerCoordinate, y: 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.