RotationAxis3D

@Stable
class RotationAxis3D(val x: Float = 0.0f, val y: Float = 0.0f, val z: Float = 0.0f)

Presents a 3d axis

Constructors

Link copied to clipboard
constructor(x: Float = 0.0f, y: Float = 0.0f, z: Float = 0.0f)

Types

Link copied to clipboard
object Companion

Holds built-in RotationAxis3D instances

Properties

Link copied to clipboard
val x: Float

x-axis value

Link copied to clipboard
val y: Float

y-axis value

Link copied to clipboard
val z: Float

z-axis value

Functions

Link copied to clipboard
fun copy(x: Float = this.x, y: Float = this.y, z: Float = this.z): RotationAxis3D

Returns a copy of this instance optionally overriding the x, y or z parameter

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
Link copied to clipboard
Link copied to clipboard
operator fun unaryMinus(): RotationAxis3D

Negates the rotation axis.