Function: parentOf()
function parentOf(node: BabylonTransformNodeLike):
| BabylonTransformNodeLike
| null;
Defined in: babylon-interactions/src/babylon-types.ts:267
The parent of a node, when it is one this adapter can read a world pose
from. Babylon types parent as Node, which has no transform, so a
parent that is a bone or a bare node reports null and the caller treats
the node as unparented.
Parameters
| Parameter | Type |
|---|---|
node | BabylonTransformNodeLike |
Returns
| BabylonTransformNodeLike
| null