API reference
Preparing search index…

DecoratorInstancer

Rml::DecoratorInstancer with properties and synchronous JS instancing.

Source & inheritance
Member directory7

Constructors

Methods

Constructors

Methods

  • Expose Rml::EffectSpecification::RegisterProperty for custom instancers.

    Parameters

    name
    string

    Instancer-local property name.

    defaultValue
    string

    RCSS default parsed after addParser.

    Returns

    Definition retaining the native instancer.

    Source & inheritance
  • Expose Rml::EffectSpecification::RegisterShorthand for custom instancers.

    Parameters

    name
    string

    Shorthand name.

    properties
    string

    Comma-separated property names.

    type
    ShorthandType = ShorthandType.FallThrough

    Shorthand interpretation, default FallThrough.

    Returns

    Local shorthand id, or zero on failure.

    Source & inheritance

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