Skip to content

Documentation / scene / computeMaxDepth

Function: computeMaxDepth() ​

computeMaxDepth(rootPoints): number

Defined in: libs/scene/src/animation/joint_dynamics/constraints.ts:286

Computes the maximum chain depth among all root points.

Parameters ​

rootPoints ​

BoneNode[]

Returns ​

number

Released under the MIT License.