Scale

data class Scale(val x: Float, val y: Float, val z: Float)

A per-axis scale factor. See Position for the rationale behind the distinct type.

Constructors

Link copied to clipboard
constructor(x: Float, y: Float, z: Float)
constructor(v: Float)
constructor(v: Float3)

Properties

Link copied to clipboard
val x: Float
Link copied to clipboard
val y: Float
Link copied to clipboard
val z: Float

Functions

Link copied to clipboard
operator fun times(o: Scale): Scale
operator fun times(s: Float): Scale
Link copied to clipboard