Skip to content

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.

{ parent: unknown; userData: Record<string, unknown>; } | null

GameObj | null