Scene.ISceneObjectSpy
A spy allows for spying on events triggered on a component from outside of the component system
Properties
path
The path to spy on
Methods
onEvent
onEvent(eventData: T): void
Triggered when the data at path changes or when its event is triggered
| Parameter | Type |
|---|---|
| eventData | T The data sent with event from a [`IComponent.notify`](#IComponent.notify) call or the new value of the input or output referenced by the path. |