Torque3D Documentation / _generateds / SFXInternal::SFXVoiceTimeSource

SFXInternal::SFXVoiceTimeSource

Engine/source/sfx/sfxInternal.h

Wrapper around SFXVoice that yields the raw underlying sample position rather than the virtualized position returned by SFXVoice::getPosition().

More...

Public Types

Parent 

Protected Attributes

Last position returned by voice.

The voice to sample the position from.

Public Functions

Detailed Description

Wrapper around SFXVoice that yields the raw underlying sample position rather than the virtualized position returned by SFXVoice::getPosition().

Public Types

typedef void Parent 

Protected Attributes

U32 mLastPos 

Last position returned by voice.

SFXVoice * mVoice 

The voice to sample the position from.

Public Functions

SFXVoiceTimeSource(SFXVoice * voice)

getPosition()