SuperTuxKart
Loading...
Searching...
No Matches
Functions
TrackObject (script binding)
Collaboration diagram for TrackObject (script binding):

Functions

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

◆ getLight()

TrackObjectPresentationLight * TrackObject::getLight ( )
inline

Should only be used on sound emitter track objects.

On the script side, the returned object is of type : Scripting_Light

◆ getMesh()

scene::IAnimatedMeshSceneNode * TrackObject::getMesh ( )

Should only be used on mesh track objects.

On the script side, the returned object is of type : Scripting_Mesh

◆ getParticleEmitter()

TrackObjectPresentationParticles * TrackObject::getParticleEmitter ( )
inline

Should only be used on particle emitter track objects.

On the script side, the returned object is of type : Scripting_ParticleEmitter

◆ 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 : Scripting_SoundEmitter

◆ 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.