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 00:54, 4 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