Quaternion

gdext.builtin.Quaternion
See theQuaternion companion class
object Quaternion

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Quaternion.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(): Quaternion
def apply(axis: Vector3, angle: Float): Quaternion

Rotation of angle radians around axis (normalized internally).

Rotation of angle radians around axis (normalized internally).

Attributes

def apply(arcFrom: Vector3, arcTo: Vector3): Quaternion

The shortest arc rotating arcFrom onto arcTo.

The shortest arc rotating arcFrom onto arcTo.

Attributes

The rotation of a pure-rotation basis.

The rotation of a pure-rotation basis.

Attributes

From YXZ Euler angles.

From YXZ Euler angles.

Attributes

Concrete fields