Interface IGLTFObjectModelTree
interface IGLTFObjectModelTree {
animations: {
__array__: {};
length: IObjectAccessor<IAnimation[], AnimationGroup[], FlowGraphInteger>;
};
cameras: IGLTFObjectModelTreeCamerasObject;
extensions: IGLTFObjectModelTreeExtensionsObject;
materials: IGLTFObjectModelTreeMaterialsObject;
meshes: IGLTFObjectModelTreeMeshesObject;
nodes: IGLTFObjectModelTreeNodesObject;
scene: any;
scenes: IGLTFObjectModelTreeScenesObject;
skins: IGLTFObjectModelTreeSkinsObject;
}
animations: {
__array__: {};
length: IObjectAccessor<IAnimation[], AnimationGroup[], FlowGraphInteger>;
};
cameras: IGLTFObjectModelTreeCamerasObject;
extensions: IGLTFObjectModelTreeExtensionsObject;
materials: IGLTFObjectModelTreeMaterialsObject;
meshes: IGLTFObjectModelTreeMeshesObject;
nodes: IGLTFObjectModelTreeNodesObject;
scene: any;
scenes: IGLTFObjectModelTreeScenesObject;
skins: IGLTFObjectModelTreeSkinsObject;
}
Properties
animations
animations: {
__array__: {};
length: IObjectAccessor<IAnimation[], AnimationGroup[], FlowGraphInteger>;
}
__array__: {};
length: IObjectAccessor<IAnimation[], AnimationGroup[], FlowGraphInteger>;
}
Accessor tree for /animations.
cameras
Accessor tree for /cameras.
extensions
Accessor tree for /extensions (root-level glTF extensions).
materials
Accessor tree for /materials.
meshes
Accessor tree for /meshes.
nodes
Accessor tree for /nodes.
scene
scene: any
Read-only accessor for the active scene index (/scene).
scenes
Accessor tree for /scenes.
skins
Accessor tree for /skins.
Top-level shape of the glTF Object Model accessor tree. Each property describes a navigable section of the JSON-Pointer namespace (e.g.
/nodes,/materials,/scenes) that KHR_interactivity, KHR_animation_pointer and other extensions consume via GetMappingForKey.