Difference between revisions of "SoundChannel:setWorldPosition"
From GiderosMobile
Line 15: | Line 15: | ||
'''vy''': (number) <translate>Y component of this sound's velocity</translate> '''optional'''<br/> | '''vy''': (number) <translate>Y component of this sound's velocity</translate> '''optional'''<br/> | ||
'''vz''': (number) <translate>Z component of this sound's velocity</translate> '''optional'''<br/> | '''vz''': (number) <translate>Z component of this sound's velocity</translate> '''optional'''<br/> | ||
+ | |||
+ | {{SoundChannel}} |
Revision as of 23:54, 3 December 2019
Available since: in development
Class: SoundChannel
Description
Sets the position of this sound in a 3D world
SoundChannel:setWorldPosition(x,y,z,vx,vy,vz)
Parameters
x: (number) X coordinate of this sound
y: (number) Y coordinate of this sound
z: (number) Z coordinate of this sound optional
vx: (number) X component of this sound's velocity optional
vy: (number) Y component of this sound's velocity optional
vz: (number) Z component of this sound's velocity optional
- SoundChannel:getPitch
- SoundChannel:getPosition
- SoundChannel:getStreamId
- SoundChannel:getVolume
- SoundChannel:isLooping
- SoundChannel:isPaused
- SoundChannel:isPlaying
- SoundChannel:setEffect
- SoundChannel:setLooping
- SoundChannel:setPaused
- SoundChannel:setPitch
- SoundChannel:setPosition
- SoundChannel:setVolume
- SoundChannel:setWorldPosition
- SoundChannel:stop