Class GltfBoundsAsset
Base component for code-less loading of glTF files Extends GltfAsset with bounding box calculation
Inherited Members
Namespace: GLTFast
Assembly: solution.dll
Syntax
public class GltfBoundsAsset : GltfAsset
Properties
| Name | Description |
|---|---|
| Bounds | Bounding box of the instantiated glTF scene |
| CreateBoxCollider | If true, a box collider encapsulating the glTF scene is created (only if the built-in Physics module is enabled). |
Methods
| Name | Description |
|---|---|
| GetDefaultInstantiator(ICodeLogger) | Returns an instance of the default instantiator |
| InstantiateScene(int, ICodeLogger) | Creates an instance of the scene specified by the scene index. |
| Load(string, IDownloadProvider, IDeferAgent, IMaterialGenerator, ICodeLogger) | Method for manual loading with custom IDownloadProvider and IDeferAgent. |