RSX Code Reference
    Preparing search index...

    Function onSceneObjectSelectionChanged

    • Marks the function as a callback for reporting when a scene object containing the specified Component type has been selected or deselected.

      The attributed function must have the following signature

      • (component:Component, isSelected:boolean)

      When callback is triggered the component parameter will contain the instance of the component that was selected or deselected. The isSelected parameter must be a boolean which determines whether the component was added (if true) or removed (if true) from the current selection.

      Parameters

      • type: Type

        The component type that will trigger the callback.

      Returns AttributeDecorator<Attribute>