public final class ModelComponent extends RenderableComponent
Model at the GameObject location.| Modifier and Type | Field and Description |
|---|---|
ModelInstance |
modelInstance |
| Constructor and Description |
|---|
ModelComponent() |
| Modifier and Type | Method and Description |
|---|---|
ICullableNode |
getRenderable() |
IVolume<?> |
getVolume(int bvOptions) |
void |
onDestroy()
internal - don't call
|
void |
update(long timePassedMs)
internal - don't call
|
getGameObject, init, isCulled, isVisible, onActivate, onDeactivate, setCulled, startpublic ModelInstance modelInstance
public void onDestroy()
public void update(long timePassedMs)
update in class RenderableComponentpublic IVolume<?> getVolume(int bvOptions)
bvOptions - bounding volume options.BoundingBox or BoundingSphere depending on options.VolumeOptions,
Box,
Sphere,
Cylinder,
Capsulepublic ICullableNode getRenderable()
getRenderable in class RenderableComponentBonzai 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