Binding of RoR::Sound; a single sound sample positioned in 3D space (spatial audio).
void setPosition(vector3 pos)
int getSourceIndex()
must not be changed during the lifetime of this object.
void setVelocity(vector3 vel)
int getCurrentHardwareIndex()
this value is changed dynamically, depending on whether the input is played or not.
void setPitch(float pitch)
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.