Scale3D

@Stable
class Scale3D(val scaleX: Float, val scaleY: Float, val scaleZ: Float, val pivot: NormalizedPoint3D = NormalizedPoint3D.Center)

Holds the values used to scale a 3D object

Constructors

Link copied to clipboard
constructor(scaleX: Float, scaleY: Float, scaleZ: Float, pivot: NormalizedPoint3D = NormalizedPoint3D.Center)

Types

Link copied to clipboard
object Companion

companion object

Properties

Link copied to clipboard

The pivot point to scale around. Default is NormalizedPoint3D.Center

Link copied to clipboard
val scaleX: Float

The scale factor to apply on the X axis

Link copied to clipboard
val scaleY: Float

The scale factor to apply on the Y axis

Link copied to clipboard
val scaleZ: Float

The scale factor to apply on the Z axis

Functions

Link copied to clipboard
fun copy(scaleX: Float = this.scaleX, scaleY: Float = this.scaleY, scaleZ: Float = this.scaleZ, pivot: NormalizedPoint3D = this.pivot): Scale3D

Copy this scale 3D with new values

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String