FilamentAsset
FilamentAsset owns a loaded glTF 2.0 asset and all its Filament objects.
A FilamentAsset represents a complete glTF scene with a hierarchy of entities, each having a Transform component. Some entities also have Renderable, Light, Camera, or animation components.
Assets own strong references to VertexBuffer, IndexBuffer, Texture objects, and optionally an Animator for skeletal animations. External resource loading (textures, buffer data) is handled separately via ResourceLoader.
Note: Only the default glTF scene is loaded; other glTF scenes are ignored.
See also
FilamentAsset owns a loaded glTF 2.0 asset and all its Filament objects.
A FilamentAsset represents a complete glTF scene with a hierarchy of entities, each having a Transform component. Some entities also have Renderable, Light, Camera, or animation components.
Assets own strong references to VertexBuffer, IndexBuffer, Texture objects, and optionally an Animator for skeletal animations. External resource loading (textures, buffer data) is handled separately via ResourceLoader.
Note: Only the default glTF scene is loaded; other glTF scenes are ignored.
See also
FilamentAsset owns a loaded glTF 2.0 asset and all its Filament objects.
A FilamentAsset represents a complete glTF scene with a hierarchy of entities, each having a Transform component. Some entities also have Renderable, Light, Camera, or animation components.
Assets own strong references to VertexBuffer, IndexBuffer, Texture objects, and optionally an Animator for skeletal animations. External resource loading (textures, buffer data) is handled separately via ResourceLoader.
Note: Only the default glTF scene is loaded; other glTF scenes are ignored.
See also
FilamentAsset owns a loaded glTF 2.0 asset and all its Filament objects.
A FilamentAsset represents a complete glTF scene with a hierarchy of entities, each having a Transform component. Some entities also have Renderable, Light, Camera, or animation components.
Assets own strong references to VertexBuffer, IndexBuffer, Texture objects, and optionally an Animator for skeletal animations. External resource loading (textures, buffer data) is handled separately via ResourceLoader.
Note: Only the default glTF scene is loaded; other glTF scenes are ignored.
See also
FilamentAsset owns a loaded glTF 2.0 asset and all its Filament objects.
A FilamentAsset represents a complete glTF scene with a hierarchy of entities, each having a Transform component. Some entities also have Renderable, Light, Camera, or animation components.
Assets own strong references to VertexBuffer, IndexBuffer, Texture objects, and optionally an Animator for skeletal animations. External resource loading (textures, buffer data) is handled separately via ResourceLoader.
Note: Only the default glTF scene is loaded; other glTF scenes are ignored.
See also
Functions
Returns the number of instances created from this asset (>= 1 unless detached).
Returns the number of instances created from this asset (>= 1 unless detached).
Returns the number of instances created from this asset (>= 1 unless detached).
Returns the number of instances created from this asset (>= 1 unless detached).
Returns the number of instances created from this asset (>= 1 unless detached).
Returns every FilamentInstance created from this asset.
Returns every FilamentInstance created from this asset.
Returns every FilamentInstance created from this asset.
Returns every FilamentInstance created from this asset.
Returns every FilamentInstance created from this asset.
Gets the bounding box computed from the min/max values in the glTF accessors.
Gets the bounding box computed from the min/max values in the glTF accessors.
Gets the bounding box computed from the min/max values in the glTF accessors.
Gets the bounding box computed from the min/max values in the glTF accessors.
Gets the bounding box computed from the min/max values in the glTF accessors.
Gets the entities representing cameras. All of these have a Camera component.
Gets the entities representing cameras. All of these have a Camera component.
Gets the entities representing cameras. All of these have a Camera component.
Gets the entities representing cameras. All of these have a Camera component.
Gets the entities representing cameras. All of these have a Camera component.
Returns the Engine associated with the AssetLoader that created this asset.
Returns the Engine associated with the AssetLoader that created this asset.
Returns the Engine associated with the AssetLoader that created this asset.
Returns the Engine associated with the AssetLoader that created this asset.
Returns the Engine associated with the AssetLoader that created this asset.
Gets the list of entities, one per glTF node. All have a Transform component; some also have a Renderable and/or Light component.
Gets the list of entities, one per glTF node. All have a Transform component; some also have a Renderable and/or Light component.
Gets the list of entities, one per glTF node. All have a Transform component; some also have a Renderable and/or Light component.
Gets the list of entities, one per glTF node. All have a Transform component; some also have a Renderable and/or Light component.
Gets the list of entities, one per glTF node. All have a Transform component; some also have a Renderable and/or Light component.
Gets the number of entities returned by getEntities.
Gets the number of entities returned by getEntities.
Gets the number of entities returned by getEntities.
Gets the number of entities returned by getEntities.
Gets the number of entities returned by getEntities.
Gets the glTF extras string for the given node entity (or for the asset itself), if any.
Gets the glTF extras string for the given node entity (or for the asset itself), if any.
Gets the glTF extras string for the given node entity (or for the asset itself), if any.
Gets the glTF extras string for the given node entity (or for the asset itself), if any.
Returns the first entity with the given name, or 0 if none exists.
Returns the first entity with the given name, or 0 if none exists.
Returns the first entity with the given name, or 0 if none exists.
Returns the first entity with the given name, or 0 if none exists.
Returns the first entity with the given name, or 0 if none exists.
Convenience accessor for the first instance (getAssetInstances[0]).
Convenience accessor for the first instance (getAssetInstances[0]).
Convenience accessor for the first instance (getAssetInstances[0]).
Convenience accessor for the first instance (getAssetInstances[0]).
Convenience accessor for the first instance (getAssetInstances[0]).
Gets the entities representing lights. All of these have a Light component.
Gets the entities representing lights. All of these have a Light component.
Gets the entities representing lights. All of these have a Light component.
Gets the entities representing lights. All of these have a Light component.
Gets the entities representing lights. All of these have a Light component.
Gets the morph target names declared on the given entity, in target order.
Gets the morph target names declared on the given entity, in target order.
Gets the morph target names declared on the given entity, in target order.
Gets the morph target names declared on the given entity, in target order.
Gets the morph target names declared on the given entity, in target order.
Gets the name label for the given entity, or null if it has none.
Gets the name label for the given entity, or null if it has none.
Gets the name label for the given entity, or null if it has none.
Gets the name label for the given entity, or null if it has none.
Gets the entities that have Renderable components.
Gets the entities that have Renderable components.
Gets the entities that have Renderable components.
Gets the entities that have Renderable components.
Gets the entities that have Renderable components.
Gets the URIs of all externally-referenced buffers/textures (to feed ResourceLoader).
Gets the URIs of all externally-referenced buffers/textures (to feed ResourceLoader).
Gets the URIs of all externally-referenced buffers/textures (to feed ResourceLoader).
Gets the URIs of all externally-referenced buffers/textures (to feed ResourceLoader).
Gets the URIs of all externally-referenced buffers/textures (to feed ResourceLoader).
Gets the transform root of the asset, an extra entity with no matching glTF node.
Gets the transform root of the asset, an extra entity with no matching glTF node.
Gets the transform root of the asset, an extra entity with no matching glTF node.
Gets the transform root of the asset, an extra entity with no matching glTF node.
Pops a ready renderable off the async-load queue, or returns 0 if none is ready.
Pops a ready renderable off the async-load queue, or returns 0 if none is ready.
Pops a ready renderable off the async-load queue, or returns 0 if none is ready.
Pops a ready renderable off the async-load queue, or returns 0 if none is ready.
Pops a ready renderable off the async-load queue, or returns 0 if none is ready.
Pops up to entities.size ready renderables off the async-load queue into entities.
Pops up to entities.size ready renderables off the async-load queue into entities.
Pops up to entities.size ready renderables off the async-load queue into entities.
Pops up to entities.size ready renderables off the async-load queue into entities.
Pops up to entities.size ready renderables off the async-load queue into entities.
Reclaims CPU-side memory for URI strings, binding lists, and raw animation data.
Reclaims CPU-side memory for URI strings, binding lists, and raw animation data.
Reclaims CPU-side memory for URI strings, binding lists, and raw animation data.
Reclaims CPU-side memory for URI strings, binding lists, and raw animation data.
Reclaims CPU-side memory for URI strings, binding lists, and raw animation data.