Header menu logo Nu

Affine Type

Lossless composition of individual affine matrix components.

Record fields

Record Field Description

Rotation

Full Usage: Rotation

Field type: Quaternion
Modifiers: mutable
Field type: Quaternion

Scale

Full Usage: Scale

Field type: Vector3
Modifiers: mutable
Field type: Vector3

Translation

Full Usage: Translation

Field type: Vector3
Modifiers: mutable
Field type: Vector3

Instance members

Instance member Description

this.Matrix

Full Usage: this.Matrix

Returns: Matrix4x4

Create an affine matrix (lossy).

Returns: Matrix4x4

Static members

Static member Description

Affine.Identity

Full Usage: Affine.Identity

Returns: Affine

The identity affine value (lossless).

Returns: Affine

Affine.make translation rotation scale

Full Usage: Affine.make translation rotation scale

Parameters:
Returns: Affine

Create from components (lossless).

translation : Vector3
rotation : Quaternion
scale : Vector3
Returns: Affine

Affine.makeFromMatrix affineMatrix

Full Usage: Affine.makeFromMatrix affineMatrix

Parameters:
Returns: Affine

Create from affine matrix value (lossy).

affineMatrix : Matrix4x4
Returns: Affine

Affine.makeRotation translation

Full Usage: Affine.makeRotation translation

Parameters:
Returns: Affine

Create from a rotation value (lossless).

translation : Quaternion
Returns: Affine

Affine.makeScale scale

Full Usage: Affine.makeScale scale

Parameters:
Returns: Affine

Create from a scale value (lossless).

scale : Vector3
Returns: Affine

Affine.makeTranslation translation

Full Usage: Affine.makeTranslation translation

Parameters:
Returns: Affine

Create from a translation value (lossless).

translation : Vector3
Returns: Affine

Type something to start searching.