API reference
Preparing search index…

Owning or Core-borrowed handle to a real native Rml::DataView.

RML instancing transfers unique native ownership to Core. Core schedules dependencies, depth and sort order; JS supplies only the virtual operations. Manual initialize/update does not add a view to the model scheduler. Destruction, recursive callbacks and active release are checked.

Source & inheritance
Member directory8

Constructors

Accessors

Methods

Constructors

Accessors

  • get isValid(): boolean

    Rml::DataView::IsValid, including native release and generation checks.

    Returns

    boolean

    Whether the native instance and attached element are alive.

    Source & inheritance
  • get sortOrder(): number

    Read the real native depth and sort offset with GetSortOrder.

    Returns

    number

    Native combined sort order.

    Source & inheritance

Methods

  • Rml::DataView::GetElement; null when the observed element was destroyed.

    Returns

    null | Element

    Canonical attached element, or null.

    Source & inheritance
  • Copy native GetVariableNameList dependencies.

    Returns

    string[]

    Native root variable names.

    Source & inheritance
  • Initialize once with the attached element and a live native model.

    Parameters

    model

    Native model whose expressions are used.

    element

    Same element passed to the constructor.

    expression
    string

    Native attribute expression.

    modifier
    string

    Binding attribute suffix.

    Returns

    boolean

    Native initialization result.

    Source & inheritance
  • Invoke native Release on an owned inactive view; Core ownership rejects it.

    Returns

    void
    Source & inheritance

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