API 参考
正在准备搜索索引…

DecoratorInstancer

具有属性和同步 JS 实例化回调的 Rml::DecoratorInstancer。

源码与继承
成员目录7

构造函数

方法

构造函数

方法

  • 为自定义实例器暴露 Rml::EffectSpecification::RegisterShorthand。

    参数

    name
    string

    简写名称。

    properties
    string

    逗号分隔的属性名称。

    type
    ShorthandType = ShorthandType.FallThrough

    简写解释方式,默认 FallThrough。

    返回值

    局部简写编号;失败时为零。

    源码与继承

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