|
AsImpL 1.0
Asynchronous Importer and run-time Loader for Unity
|
Component used to keep track of resources used by a loaded model. More...
Public Member Functions | |
| Mesh | AddMesh (Mesh mesh) |
| Add a reference to a created mesh. More... | |
| Material | AddMaterial (Material material) |
| Add a reference to a created material. More... | |
| Texture2D | AddTexture (Texture2D texture) |
| Add a reference to a created texture. More... | |
Component used to keep track of resources used by a loaded model.
When the component is destroyed all the referenced resources are destroyed.
This component is added by Loader and it should not be removed.
| Material AsImpL.ModelReferences.AddMaterial | ( | Material | material | ) |
Add a reference to a created material.
| material | created material |
| Mesh AsImpL.ModelReferences.AddMesh | ( | Mesh | mesh | ) |
Add a reference to a created mesh.
| mesh | created mesh |
| Texture2D AsImpL.ModelReferences.AddTexture | ( | Texture2D | texture | ) |
Add a reference to a created texture.
| texture | created texture |