reportParentPosition(...)
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
reportParentPosition(val: boolean): this;
Sets whether the objects within a TriggerRegion should return their position in the parent’s coordinate system.
Default value: false
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
val | boolean | If true the objects within a TriggerRegion will return their position in the parent’s coordinate system. |
Returns
Section titled “Returns”this