API reference
Preparing search index…

Rml::StyleSheet: a checked compiled view or an owned combination.

Get a view from a container, then combineStyleSheet for a mutable owned sheet. Only owned combinations allow mergeStyleSheet and buildNodeIndex. Shutdown invalidates both forms. Sprite metadata is copied.

Source & inheritance
Member directory8

Methods

Methods

  • Copy Rml::StyleSheet::GetKeyframes, including property dictionaries.

    Parameters

    name
    string

    Animation name declared by @keyframes.

    Returns

    null | Keyframes

    Independent metadata, or null when absent.

    Source & inheritance
  • Instance Rml::StyleSheet decorators using the supplied render manager.

    Parameters

    manager

    Manager that owns the decorator resources.

    declarations

    Parsed or constructed decorator declarations.

    source
    null | PropertySource = null

    Optional declaration location for relative texture paths.

    Returns

    Decorator<object>[]

    Independent array of shared instances; empty on native failure.

    A nonempty declaration value caches instances by value, source path and manager. An empty value creates fresh instances on every call.

    Source & inheritance

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