onStateChanged
The callback for SpatialContainerStateEvent.
Parameters
source
The source of the event.
event
The state change event of SpatialContainer.
The callback for SpatialContainerStateEvent.
The source of the event.
The state change event of SpatialContainer.