Difference between revisions of "SoundChannel:setWorldPosition"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''<translate>Available since</translate>:''' in development<br/> | '''<translate>Available since</translate>:''' in development<br/> | ||
+ | '''<translate>Class</translate>:''' [[Special:MyLanguage/SoundChannel|SoundChannel]]<br/> | ||
=== <translate>Description</translate> === | === <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> |
Revision as of 09:27, 24 August 2018
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