Class GltfEntityAsset
Loads a glTF from a MonoBehaviour but instantiates Entities. Intermediate solution and drop-in replacement for GltfAsset TODO: To be replaced with a pure ECS concept
Inherited Members
Namespace: GLTFast
Assembly: solution.dll
Syntax
[BurstCompile]
public class GltfEntityAsset : GltfAssetBase
Properties
| Name | Description |
|---|---|
| FullUrl | |
| InstantiationSettings | Instantiation settings |
| LoadOnStartup | Automatically load at start |
| SceneId | Scene to load (-1 loads glTFs default scene) |
| StreamingAsset | If true, url is treated as relative StreamingAssets path |
| Url |
Methods
| Name | Description |
|---|---|
| ClearScenes() | Removes previously instantiated scene(s) |
| GetDefaultInstantiator(ICodeLogger) | Returns an instance of the default instantiator |
| Load(string, IDownloadProvider, IDeferAgent, IMaterialGenerator, ICodeLogger) | Method for manual loading with custom IDownloadProvider and IDeferAgent. |
| PostInstantiation(IInstantiator, bool) | Callback that is called after instantiation |
| Start() |