| Package | Description |
|---|---|
| com.bonzaiengine.model | |
| com.bonzaiengine.model.asset | |
| com.bonzaiengine.physics |
| Modifier and Type | Method and Description |
|---|---|
AsyncModel |
ModelInstance.getFromModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
ModelInstance.instanciate(AsyncModel asyncModel)
Instanciate the geometry from the specified
AsyncModel |
void |
ModelInstance.instanciate(AsyncModel asyncModel,
boolean materialDuplicated)
Instanciate the geometry from the specified
AsyncModel |
| Modifier and Type | Method and Description |
|---|---|
AsyncModel |
ModelLibrary.get(java.lang.String id) |
AsyncModel |
AssetManager.loadModelAsync(ModelReaderSettings settings)
Deprecated.
use
ModelLibrary.use(AssetManager, ModelReaderSettings), or to bypass ModelLibrary use the AsyncModel constructor directly. |
AsyncModel |
AssetManager.loadModelAsyncWithCache(ModelReaderSettings settings)
Load model asynchronously using download cache
|
AsyncModel |
ModelLibrary.remove(java.lang.String id)
Remove the
AsyncModel with the specified id. |
AsyncModel |
ModelLibrary.use(AssetManager assets,
ModelReaderSettings settings)
release() must be called on the result returned when it's not used anymore. |
| Modifier and Type | Method and Description |
|---|---|
void |
ModelLibrary.add(ModelReaderSettings assetKey,
AsyncModel asset) |
void |
ModelLibrary.destroy(IGL gl,
AsyncModel asyncModel)
Destroy the specified model from this
ModelLibrary |
| Modifier and Type | Method and Description |
|---|---|
SoftBody |
PhysicWorld.createSoftBody(AsyncModel asyncModel,
Transform modelTransform,
OnLoadListener<SoftBody> onLoadInit)
Restriction on Model used with physic:
Transform: Model/Mesh transform is not usable Hierarchy: child mesh and model is ignored by physic |
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com