SuperTuxKart
|
Functions | |
scene::IAnimatedMeshSceneNode * | TrackObject::getMesh () |
Should only be used on mesh track objects. | |
TrackObjectPresentationParticles * | TrackObject::getParticleEmitter () |
Should only be used on particle emitter track objects. | |
TrackObjectPresentationSound * | TrackObject::getSoundEmitter () |
Should only be used on sound emitter track objects. | |
TrackObjectPresentationLight * | TrackObject::getLight () |
Should only be used on sound emitter track objects. | |
ThreeDAnimation * | TrackObject::getIPOAnimator () |
Should only be used on TrackObjects that use curve-based animation. | |
PhysicalObject * | TrackObject::getPhysics () |
Get the physics representation of an object. | |
void | TrackObject::setEnabled (bool mode) |
Hide or show the object. | |
void | TrackObject::moveTo (const Scripting::SimpleVec3 *pos, bool isAbsoluteCoord) |
void | TrackObject::resetEnabled () |
ThreeDAnimation * | TrackObject::getAnimator () |
const ThreeDAnimation * | TrackObject::getAnimator () const |
bool | TrackObject::hasAnimatorRecursively () const |
void | TrackObject::setPaused (bool mode) |
void | TrackObject::setInitiallyVisible (bool val) |
bool | TrackObject::isDriveable () const |
Returns if a kart can drive on this object. | |
void | TrackObject::addMovableChild (TrackObject *child) |
Used along the "extract movable nodes out of library objects" hack, used to still preserve the parent-child relationship. | |
void | TrackObject::addChild (TrackObject *child) |
std::vector< TrackObject * > & | TrackObject::getMovableChildren () |
std::vector< TrackObject * > & | TrackObject::getChildren () |
void | TrackObject::movePhysicalBodyToGraphicalNode (const core::vector3df &xyz, const core::vector3df &hpr) |
bool | TrackObject::joinToMainTrack () |
TrackObject * | TrackObject::cloneToChild () |
|
inline |
Should only be used on TrackObjects that use curve-based animation.
On the script side, the returned object is of type : Scripting_Animator
|
inline |
Should only be used on sound emitter track objects.
On the script side, the returned object is of type : Scripting_Light
scene::IAnimatedMeshSceneNode * TrackObject::getMesh | ( | ) |
Should only be used on mesh track objects.
On the script side, the returned object is of type : Scripting_Mesh
|
inline |
Should only be used on particle emitter track objects.
On the script side, the returned object is of type : Scripting_ParticleEmitter
|
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 : Scripting_SoundEmitter
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. |