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)
 

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.