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

Factory methods and constants for Scale3D.

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

Copies 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