Difference between revisions of "SoundChannel:setWorldPosition"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' in development<br/> | + | '''<translate>Available since</translate>:''' in development<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate>Sets the position of this sound in a 3D world</translate> | <translate>Sets the position of this sound in a 3D world</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
SoundChannel:setWorldPosition(x,y,z,vx,vy,vz) | SoundChannel:setWorldPosition(x,y,z,vx,vy,vz) | ||
</source> | </source> | ||
− | === Parameters === | + | === <translate>Parameters</translate> === |
'''x''': (number) <translate>X coordinate of this sound</translate> <br/> | '''x''': (number) <translate>X coordinate of this sound</translate> <br/> | ||
'''y''': (number) <translate>Y coordinate of this sound</translate> <br/> | '''y''': (number) <translate>Y coordinate of this sound</translate> <br/> |
Revision as of 07:26, 24 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