gameObjOf
gameObjOf(
node):GameObj|null
Defined in: packages/threeplay/src/core/util.ts:39
The game object a three.js node belongs to (walking up the graph), if any.
Parameters
Section titled “Parameters”{ parent: unknown; userData: Record<string, unknown>; } | null
Returns
Section titled “Returns”GameObj | null