Finds the parent Scenes associated with the given Node. In most cases a Node is associated with only one Scene, but it is possible for a Node to be located in two or more Scenes, or none at all.
Example:
import { listNodeScenes } from '@gltf-transform/functions'; const node = document.getRoot().listNodes() .find((node) => node.getName() === 'MyNode'); const scenes = listNodeScenes(node);
Made by Don McCurdy. Documentation built with greendoc and published under Creative Commons Attribution 3.0.
Finds the parent Scenes associated with the given Node. In most cases a Node is associated with only one Scene, but it is possible for a Node to be located in two or more Scenes, or none at all.
Example:
import { listNodeScenes } from '@gltf-transform/functions'; const node = document.getRoot().listNodes() .find((node) => node.getName() === 'MyNode'); const scenes = listNodeScenes(node);