Union Bytes EngineModulesSoundsGetSoundState

Union Bytes Engine

GeneralHilfeseitensyntaxModules
AnimationBillboardCageCameraControlDefinitionDrawingFontGadgetGeneralJoystickLightMaterialMathMeshNetworkNodeObjectParticlePhysicShaderSounds
ExamineSoundsFreeSoundGetSoundLengthGetSoundStateIsSoundLoadSoundDefinitionLoadSoundFileMoveSoundPauseSoundPlaySoundResumeSoundRotateSoundSetCollisionSoundSetSoundConeSetSoundDirectionSetSoundFrequencySetSoundRangeSetSoundStateSetSoundVolumeSoundSoundIDStopSoundUnsetCollisionSound
SpriteTexture

GetSoundState

Description

Gets the state (track position) of the specified sound.

Syntax

TrackPosition.f = UBE_GetSoundState( Sound.i )

Parameters

Sound The number of the sound.

Return value

The track position of the sound in seconds.

See also

Union Bytes | Login