Union Bytes EngineModulesSoundsRotateSound

Union Bytes Engine

GeneralHilfeseitensyntaxModules
AnimationBillboardCageCameraControlDefinitionDrawingFontGadgetGeneralJoystickLightMaterialMathMeshNetworkNodeObjectParticlePhysicShaderSounds
ExamineSoundsFreeSoundGetSoundLengthGetSoundStateIsSoundLoadSoundDefinitionLoadSoundFileMoveSoundPauseSoundPlaySoundResumeSoundRotateSoundSetCollisionSoundSetSoundConeSetSoundDirectionSetSoundFrequencySetSoundRangeSetSoundStateSetSoundVolumeSoundSoundIDStopSoundUnsetCollisionSound
SpriteTexture

RotateSound

Description

Rotates the specified sound.

Syntax

UBE_RotateSound( Sound.i, X.f, Y.f, Z.f [, Mode.i] )

Parameters

Sound The number of the sound.
X, Y, Z The rotation around the X-, Y- and Z-axis.
Mode A combination of following constants:
#UBE_ABSOLUTE The rotation is absolute
#UBE_RELATIVE The rotation is relative to the current rotation.
#UBE_WORLD The rotation axes are in the world system
#UBE_PARENT The rotation axes are in the parent system
#UBE_LOCAL The rotation axes are in the local system
By default the mode is #UBE_ABSOLUTE|#UBE_PARENT.

Return value

None

See also

Union Bytes | Login