SoundChannel:setWorldPosition

From GiderosMobile
Revision as of 00:54, 4 December 2019 by MoKaLux (talk | contribs)


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