Create a clone of an existing model.
Only the geometry (meshes, transform nodes) gets cloned, as materials are typically shared across the whole scene.
asset container for further processing of the clone
show model immediately after cloning
Optional
options: ModelCloneOptionsadditional options for the cloning procedure, like renaming algorithms
Loads and returns the asset container of a certain model.
This can be used to access the models content without having to add it to the scene.
A typical use case is to clone or instantiate a node from a "library" model.
Returns the decals configuration of a certain model.
The model will be loaded before being able to access this configuration.
Decals are already converted to "normal" meshes when loading a model, still the original decals configuration can
be useful e.g. for alterning decals.
Loads the model and all it's assigned materials.
This function should be used for "eager loading" of models, so that model switching will be instant in the
process.
If you don't plan to do this, just use setModelVisibility as this function will load the model under the
hood the first time the model gets visible.
Register models for 3d viewer, this is required for each model before it can be loaded/shown.
The "viewer control" inside the Combeenation framework calls this function automatically with all assigned
3d assets.
Enables/disables multiple one or multiple models simultaniously.
All required models are loaded before adjusting the visibility to avoid flashing in the 3d scene.
Array of changed visibility status, combined with the corresponding model name
Generated using TypeDoc
Manager for handling 3d models.
Responsible for loading models and handling their visibility.
Also contains advanced features like model cloning.