API reference
Preparing search index…

PropertyDictionary

Native-owned Rml::PropertyDictionary with independent property snapshots.

Plain properties, custom properties and variable shorthands have separate maps. Setters copy values; getters return owned copies. Callback resources remain alive while stored. Shutdown releases resources and invalidates the dictionary. Use IDs from the specification that owns these properties.

Source & inheritance
Member directory19

Constructors

Methods

Constructors

Methods

  • Rml::PropertyDictionary::Import using native specificity precedence.

    Parameters

    source

    Dictionary to copy from.

    specificity
    number = -1

    Forced specificity when positive; defaults to -1. Zero and negative values preserve incoming specificity, as in RmlUi 6.3.

    Returns

    void
    Source & inheritance
  • Remove a custom property by its exact name.

    Parameters

    name
    string

    Exact custom property name.

    Returns

    boolean

    Whether the entry existed.

    Source & inheritance

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