Function module

  • Indicates that the decorated class belongs to the given module. Useful if the class is not exported but should still be usable as a virtual class or from other engine systems.

    For example, if the class belongs to the "rsx.Editor" module, the class should be decorated with @module(rsx.Editor).

    Parameters

    • module: object

    Returns AttributeDecorator<Attribute>