open class Pose(var t: Vector3 = Vector3(0f, 0f, 0f), var q: Quaternion = Quaternion(1.0f, 0f, 0f, 0f))
| Name | Summary |
|---|---|
Pose | constructor(t: Vector3 = Vector3(0f, 0f, 0f), q: Quaternion = Quaternion(1.0f, 0f, 0f, 0f)) |
| Name | Summary |
|---|---|
q | |
t |
| Name | Summary |
|---|---|
component1 | operator fun component1(): Vector3 |
component2 | operator fun component2(): Quaternion |
copy | fun copy(): Pose Returns a copy of this pose. |
equals | open operator override fun equals(other: Any?): Boolean |
forward | |
hashCode | open override fun hashCode(): Int |
inverse | fun inverse(): Pose Computes the inverse of this pose. |
lerp | fun lerp(dest: Pose, ratio: Float): Pose Interpolates between this pose and another pose. |
removePitchAndRoll | fun removePitchAndRoll(): Pose Removes the pitch and roll components from this pose, effectively aligning it with the up vector. |
right | |
times | |
toString | open override fun toString(): String Provides a string representation of the pose. |
up |