Function typeColor

  • Attribute that may be used on classes that are reperesnted in the UI with or without an icon representation. For library icons, the typeColor decorator is used to add an accent to make it easier to quickly recognize the type.

    Parameters

    Returns AttributeDecorator<Attribute>

    Make sure that your custom type does not overlap or collidie with built-in type colors. Otherwise, the UX is impacted by making it harder to build a visual memory around the type system.

    Built-in types must be registered in our RSX Type Color Scheme document that is available in our main RSXEngine repository located at ./Documentation/RSX-TypeColorScheme.afdesign.