Difference between revisions of "SoundChannel:setWorldPosition"

From GiderosMobile
Line 6: Line 6:
 
  SoundChannel:setWorldPosition(x,y,z,vx,vy,vz)
 
  SoundChannel:setWorldPosition(x,y,z,vx,vy,vz)
 
</source>
 
</source>
'''x''': (number) X coordinate of this sound ''''''<br/>
+
=== Parameters ===
'''y''': (number) Y coordinate of this sound ''''''<br/>
+
'''x''': (number) X coordinate of this sound <br/>
 +
'''y''': (number) Y coordinate of this sound <br/>
 
'''z''': (number) Z coordinate of this sound '''optional'''<br/>
 
'''z''': (number) Z coordinate of this sound '''optional'''<br/>
 
'''vx''': (number) X component of this sound's velocity '''optional'''<br/>
 
'''vx''': (number) X component of this sound's velocity '''optional'''<br/>
 
'''vy''': (number) Y component of this sound's velocity '''optional'''<br/>
 
'''vy''': (number) Y component of this sound's velocity '''optional'''<br/>
 
'''vz''': (number) Z component of this sound's velocity '''optional'''<br/>
 
'''vz''': (number) Z component of this sound's velocity '''optional'''<br/>

Revision as of 10:38, 23 August 2018

Available since: in development

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