| return
|
function
|
description
|
| int
|
getNumMesh()
|
Get num meshes.
|
| Mesh
|
getMesh(string name)
|
get mesh by name.
|
| Mesh
|
getMesh(int index)
|
Get mesh by index.
|
| bool
|
getCollisionEnabled()
|
Get is collision enambled
|
| float
|
getHeight()
|
Get an approximated height of the model.
|
| string
|
getFileName()
|
Get the models file name.
|
| bool
|
getVisible()
|
Get if the model is visible.
|
| AnimationManager
|
getAnimation()
|
Get if the models animation manager.
|
| Box
|
getGlobalModelBounds()
|
Get models current existing vertex bounds;
|
|
|
setCollisionEnabled(bool enable)
|
Set is collision enambled
|
|
|
setColor(Vec3 color)
|
Set is model color.
|
|
|
setColor(Vec4 color)
|
Set is model color.
|
|
|
rotate(Vec3 axis, float rad)
|
roate around axis.
|
|
|
rotateAroundPoint(Vec3 axis, Vec3 point, float rad)
|
roate around a given point on the given axis.
|