Rotation3D
@Stable
Holds the values used by 3d rotation.
Constructors
Link copied to clipboard
constructor(degree: Float, axis: RotationAxis3D, pivot: NormalizedPoint3D = NormalizedPoint3D.Center)
Types
Link copied to clipboard
object Companion
Holds built-in Rotation3D instances.
Properties
Link copied to clipboard
The axis of rotation, see RotationAxis3D.
Link copied to clipboard
The NormalizedPoint3D relative the composable about which to perform the rotation.
Functions
Link copied to clipboard
fun copy(degree: Float = this.degree, axis: RotationAxis3D = this.axis, pivot: NormalizedPoint3D = this.pivot): Rotation3D
Returns a copy of this instance optionally overriding the degree, axis or pivot parameter.
Link copied to clipboard
Rotates this Rotation3D by quat.
Rotates this Rotation3D by rotation.
Link copied to clipboard
Rotation3D convert to Quat.