See Also: SoundSource3D
To hear pseudo-3D positional sounds, a SoundListener component must exist in a scene node and be assigned to the audio subsystem by setting the Audio.Listener property. If the sound listener's scene node exists within a specific scene, it will only hear sounds from that scene, but if it has been created into a "sceneless" node it will hear sounds from all scenes.
Playing the above sound formats in pseudo-3D using the SoundSource3D component. It has stereo positioning and distance attenuation, but does not (at least yet) filter the sound depending on the direction.
Assembly: Urho (in Urho.dll)
Assembly Versions: 184.108.40.206
The members of Urho.Audio.SoundSource3D are listed below.
See Also: SoundSource
|Constructs a new instance of Urho.Audio.SoundSource3D which is tied to the Application.CurrentContext.|
|Constructs a new instance of Urho.Audio.SoundSource3D, given a raw pointer to an unmanaged object|
|Constructs a new instance of Urho.Audio.SoundSource3D linked to a specific Context.|
|FarDistance||Single. Return far distance. Or Set far distance. Outside this range sound will be completely attenuated.|
|InnerAngle||Single. Return inner angle in degrees. Or Set inner angle in degrees. Inside this angle sound will not be attenuated.By default 360, meaning direction never has an effect.|
|NearDistance||Single. Return near distance. Or Set near distance. Inside this range sound will not be attenuated.|
|OuterAngle||Single. Return outer angle in degrees. Or Set outer angle in degrees. Outside this angle sound will be completely attenuated. By default 360, meaning direction never has an effect.|
|Type||StringHash. Urho's type system type.|
|TypeName||String. Urho's low-level type name.|
|TypeNameStatic||String. Urho's low-level type name, accessible as a static method.|
|TypeStatic||StringHash. Urho's low-level type, accessible as a static method.|
Calculate attenuation and panning based on current position and listener position.
Visualize the component as debug geometry.
Register object factory.
Return rolloff power factor.
Set angle attenuation parameters.
|SetDistanceAttenuation(Single, Single, Single)|
Set attenuation parameters.
Set rolloff power factor, defines attenuation function shape.
Update sound source.