API reference
Preparing search index…

Rml::TransformState, independently owned or a read-only element view.

Matrix reads copy sixteen column-major floats into native-owned storage. Copies outlive the element and runtime. Element views query current state; reads throw after element destruction or removal of its transform state.

Source & inheritance
Member directory6

Constructors

Methods

Constructors

Methods

  • Copy Rml::TransformState::GetInverseTransform.

    Returns

    null | Float32Array

    Column-major inverse, or null for absent or singular transforms.

    Source & inheritance
  • Copy Rml::TransformState::GetLocalPerspective.

    Returns

    null | Float32Array

    Column-major matrix or null when unset.

    Source & inheritance
  • Copy Rml::TransformState::GetTransform.

    Returns

    null | Float32Array

    Column-major matrix or null when unset.

    Source & inheritance
  • Set Rml::TransformState::SetLocalPerspective on an independent state.

    Parameters

    matrix
    null | Float32Array

    Sixteen finite column-major floats, or null to clear.

    Returns

    boolean

    Whether the native perspective changed.

    Source & inheritance
  • Set Rml::TransformState::SetTransform on an independent state.

    Parameters

    matrix
    null | Float32Array

    Sixteen finite column-major floats, or null to clear.

    Returns

    boolean

    Whether the native transform changed.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0