Urho
1.0.0.0
Urho.Audio.SoundSource
Sound source component with three-dimensional position.
This plays
To hear pseudo-3D positional sounds, a component must exist in a scene node and be assigned to the audio subsystem by setting the 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 component. It has stereo positioning and distance attenuation, but does not (at least yet) filter the sound depending on the direction.
Constructor
1.0.0.0
Constructs a new instance of Urho.Audio.SoundSource3D which is tied to the .
Constructor
1.0.0.0
Pointer to the raw unmanaged Urho object.
Constructs a new instance of Urho.Audio.SoundSource3D, given a raw pointer to an unmanaged object
This creates a new managed wrapper for the type using the raw pointer to an unmanaged object.
Objects that are created in this fashion get registered with the UrhoSharp runtime.
This is intended to be used by the UrhoSharp runtime, and is not intended to be used by users.
Constructor
1.0.0.0
The context that this object will be attached to.
Constructs a new instance of Urho.Audio.SoundSource3D linked to a specific .
Constructor
1.0.0.0
Pass UrhoObjectFlag.Empty.
Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.
This constructor should be invoked by your code if you provide your own constructor that sets the handle field.
This essentially circumvents the default path that creates a new object and sets the handle and does not call RegisterObject on the target, you must do this on your own constructor.
You would typically chain to this constructor from your own, and then set the handle to the unmanaged object from your code, and then register your object.
Method
1.0.0.0
System.Void
Calculate attenuation and panning based on current position and listener position.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Visualize the component as debug geometry.
To be added.
Property
1.0.0.0
System.Single
Return far distance.
Or
Set far distance. Outside this range sound will be completely attenuated.
To be added.
To be added.
Property
1.0.0.0
System.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.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return near distance.
Or
Set near distance. Inside this range sound will not be attenuated.
To be added.
To be added.
Property
1.0.0.0
System.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.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Register object factory.
To be added.
Method
1.0.0.0
System.Single
Return rolloff power factor.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set angle attenuation parameters.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Set attenuation parameters.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set rolloff power factor, defines attenuation function shape.
To be added.
Property
1.0.0.0
Urho.StringHash
Urho's type system type.
StringHash representing the type for this C# type.
This returns the Urho's type and is surfaced for low-level Urho code.
Property
1.0.0.0
System.String
Urho's low-level type name.
Stringified low-level type name.
Property
1.0.0.0
System.String
Urho's low-level type name, accessible as a static method.
Stringified low-level type name.
Property
1.0.0.0
Urho.StringHash
Urho's low-level type, accessible as a static method.
This returns the Urho's type and is surface for the low-level Urho code.
Method
1.0.0.0
System.Void
To be added.
Update sound source.
To be added.