AudioAsset
Ease
FastString
FontAsset
NineSlice
PackedSprite
PackedSpriteID
RB
   HardwareSettings
   IRetroBlitGame
RBAsset
Rect2i
ShaderAsset
SoundReference
SpriteGrid
SpriteSheetAsset
TMXMapAsset
   TMXLayer
   TMXLayerLoadState
   TMXObject
   TMXObjectGroup
   TMXProperties
Vector2i

RB.SoundPosSet

Method  -  Static

public static void SoundPosSet(SoundReference soundReference, Vector2i pos)

Parameters

soundReference SoundReference Reference to the playing sound, as returned by RB.SoundPlay
pos Vector2i Position of the sound

Returns

Nothing.

Description

Set the position of the playing sound in 2D space. The position is absolute and does not take the camera position into account.

See Also

RB.SoundPlay