Function interactiveGizmo

  • Attribute that can be added to types deriving from InteractiveGizmo. The interactive gizmo implementation will then be instanced and activated whenever an interactive gizmo for the specified type is required. If type is null the gizmo will always be active.

    Parameters

    Returns AttributeDecorator<Attribute>

    The implementing class constructor must match the following signature, otherwise the gizmo will not be activated.

    		constructor(component?: ClassOf<T>)