SuperTuxKart
|
![]() |
Functions | |
scene::IAnimatedMeshSceneNode * | TrackObject::getMesh () |
Should only be used on mesh track objects. More... | |
TrackObjectPresentationParticles * | TrackObject::getParticleEmitter () |
Should only be used on particle emitter track objects. More... | |
TrackObjectPresentationSound * | TrackObject::getSoundEmitter () |
Should only be used on sound emitter track objects. More... | |
TrackObjectPresentationLight * | TrackObject::getLight () |
Should only be used on sound emitter track objects. More... | |
ThreeDAnimation * | TrackObject::getIPOAnimator () |
Should only be used on TrackObjects that use curve-based animation. More... | |
PhysicalObject * | TrackObject::getPhysics () |
Get the physics representation of an object. More... | |
void | TrackObject::setEnabled (bool mode) |
Hide or show the object. More... | |
void | TrackObject::moveTo (const Scripting::SimpleVec3 *pos, bool isAbsoluteCoord) |
|
inline |
Should only be used on TrackObjects that use curve-based animation.
On the script side, the returned object is of type : Animator (script binding)
|
inline |
Should only be used on sound emitter track objects.
On the script side, the returned object is of type : Light (script binding)
scene::IAnimatedMeshSceneNode * TrackObject::getMesh | ( | ) |
Should only be used on mesh track objects.
On the script side, the returned object is of type : Mesh (script binding)
|
inline |
Should only be used on particle emitter track objects.
On the script side, the returned object is of type : ParticleEmitter (script binding)
|
inline |
Get the physics representation of an object.
On the script side, the returned object is of type : PhysicalObject (script binding)
|
inline |
Should only be used on sound emitter track objects.
On the script side, the returned object is of type : SoundEmitter (script binding)
void TrackObject::setEnabled | ( | bool | enabled | ) |
Hide or show the object.
Enables or disables this object.
This affects the visibility, i.e. disabled objects will not be displayed anymore.
mode | Enable (true) or disable (false) this object. |