TriggerPresentEvent
interface TriggerPresentEvent extends TriggerEvent {
localPosition ?: number[];
parentPosition ?: number[];
}
An extended collection of information during trigger events, with positional data, including:
Variables
Variable | Type | Description |
---|---|---|
localPosition | optional, number[] | The position of the node in the local coordinate system of the TriggerRegion. Only populated if reportLocalPosition( ) is true. |
parentPosition | optional, number[] | The position of the node in the parent's coordinate system (e.g. a parent group). Only populated if reportParentPosition( ) is true. |