SuperTuxKart
Functions
TrackObject (script binding)
Collaboration diagram for TrackObject (script binding):

Functions

scene::IAnimatedMeshSceneNode * TrackObject::getMesh ()
 Should only be used on mesh track objects. More...
 
TrackObjectPresentationParticlesTrackObject::getParticleEmitter ()
 Should only be used on particle emitter track objects. More...
 
TrackObjectPresentationSoundTrackObject::getSoundEmitter ()
 Should only be used on sound emitter track objects. More...
 
TrackObjectPresentationLightTrackObject::getLight ()
 Should only be used on sound emitter track objects. More...
 
ThreeDAnimationTrackObject::getIPOAnimator ()
 Should only be used on TrackObjects that use curve-based animation. More...
 
PhysicalObjectTrackObject::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)
 
void TrackObject::resetEnabled ()
 
ThreeDAnimationTrackObject::getAnimator ()
 
const ThreeDAnimationTrackObject::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 ()
 
TrackObjectTrackObject::cloneToChild ()
 

Detailed Description

Function Documentation

◆ getIPOAnimator()

ThreeDAnimation* TrackObject::getIPOAnimator ( )
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)

◆ getLight()

TrackObjectPresentationLight* TrackObject::getLight ( )
inline

Should only be used on sound emitter track objects.

On the script side, the returned object is of type : Light (script binding)

◆ getMesh()

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)

◆ getParticleEmitter()

TrackObjectPresentationParticles* TrackObject::getParticleEmitter ( )
inline

Should only be used on particle emitter track objects.

On the script side, the returned object is of type : ParticleEmitter (script binding)

◆ getPhysics()

PhysicalObject* TrackObject::getPhysics ( )
inline

Get the physics representation of an object.

On the script side, the returned object is of type : PhysicalObject (script binding)

◆ getSoundEmitter()

TrackObjectPresentationSound* TrackObject::getSoundEmitter ( )
inline

Should only be used on sound emitter track objects.

On the script side, the returned object is of type : SoundEmitter (script binding)

◆ setEnabled()

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.

Parameters
modeEnable (true) or disable (false) this object.