A track object representation that consists of a sound emitter.
More...
#include <track_object_presentation.hpp>
|
| TrackObjectPresentationSound (const XMLNode &xml_node, scene::ISceneNode *parent, bool disable_for_multiplayer) |
|
void | onTriggerItemApproached (int kart_id) |
|
virtual void | updateGraphics (float dt) OVERRIDE |
|
virtual void | move (const core::vector3df &xyz, const core::vector3df &hpr, const core::vector3df &scale, bool isAbsoluteCoord) OVERRIDE |
|
void | triggerSound (bool loop) |
|
void | stopSound () |
|
virtual void | setEnable (bool enabled) OVERRIDE |
|
const std::string & | getTriggerCondition () const |
| Currently used for sound effects only, in cutscenes only atm.
|
|
| TrackObjectPresentation (const XMLNode &xml_node) |
|
| TrackObjectPresentation (const core::vector3df &xyz, const core::vector3df &hpr=core::vector3df(0, 0, 0), const core::vector3df &scale=core::vector3df(0, 0, 0)) |
|
virtual void | reset () |
|
virtual void | setEnable (bool enabled) |
|
virtual void | updateGraphics (float dt) |
|
virtual void | update (float dt) |
|
virtual void | move (const core::vector3df &xyz, const core::vector3df &hpr, const core::vector3df &scale, bool isAbsoluteCoord) |
|
virtual const core::vector3df & | getPosition () const |
| Returns the position of this TrackObjectPresentation.
|
|
virtual const core::vector3df | getAbsolutePosition () const |
| Returns a copy of the initial position.
|
|
virtual const core::vector3df | getAbsoluteCenterPosition () const |
|
virtual const core::vector3df & | getRotation () const |
| Returns the initial rotation.
|
|
virtual const core::vector3df & | getScale () const |
| Returns the initial scale.
|
|
|
SFXBase * | m_sound |
| If a sound is attached to this object and/or this is a sound emitter object.
|
|
std::string | m_trigger_condition |
| Currently used for sound effects only, in cutscenes only atm.
|
|
core::vector3df | m_xyz |
|
bool | m_enabled |
|
|
core::vector3df | m_init_xyz |
| The initial XYZ position of the object.
|
|
core::vector3df | m_init_hpr |
| The initial hpr of the object.
|
|
core::vector3df | m_init_scale |
| The initial scale of the object.
|
|
A track object representation that consists of a sound emitter.
◆ move()
void TrackObjectPresentationSound::move |
( |
const core::vector3df & |
xyz, |
|
|
const core::vector3df & |
hpr, |
|
|
const core::vector3df & |
scale, |
|
|
bool |
isAbsoluteCoord |
|
) |
| |
|
virtual |
◆ setEnable()
void TrackObjectPresentationSound::setEnable |
( |
bool |
enabled | ) |
|
|
virtual |
◆ updateGraphics()
void TrackObjectPresentationSound::updateGraphics |
( |
float |
dt | ) |
|
|
virtual |
The documentation for this class was generated from the following files: