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
|
init, isVisible, onActivate, onDeactivate, startclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGameObjectpublic 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.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com