Skip to content

Function: findSceneRoot() ​

ts
function findSceneRoot(obj): Object3D;

Ascends obj.parent chain and returns the top-most ancestor (scene or root).

Parameters ​

ParameterType
objObject3D

Returns ​

Object3D

Distribué sous la licence indiquée dans le dépôt.