Urho
1.0.0.0
Urho.Component
Sound source component with stereo position.
Provides support for playing back .
The components support automatic removal from the node they belong to, once playback is finished. To use, set the on them. This may be useful when a game object plays several "fire and forget" sound effects.
Constructor
1.0.0.0
Preserve
Constructs a new instance of Urho.Audio.SoundSource which is tied to the .
Constructor
1.0.0.0
Preserve
Pointer to the raw unmanaged Urho object.
Constructs a new instance of Urho.Audio.SoundSource, 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
Preserve
The context that this object will be attached to.
Constructs a new instance of Urho.Audio.SoundSource linked to a specific .
Constructor
1.0.0.0
Preserve
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.
Property
1.0.0.0
System.Single
Return attenuation.
Or
Set attenuation. 1.0 is unaltered. Used for distance attenuated playback.
To be added.
To be added.
Property
1.0.0.0
Urho.AutoRemoveMode
Return automatic removal mode on sound playback completion.
Or
Set to remove either the sound source component or its owner node from the scene automatically on sound playback completion. Disabled by default.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return frequency.
Or
Set frequency.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return gain.
Or
Set gain. 0.0 is silence, 1.0 is full volume.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
To be added.
Mix sound source output to a 32-bit clipping buffer. Called by Audio.
To be added.
Property
1.0.0.0
System.Single
Return stereo panning.
Or
Set stereo panning. -1.0 is full left and 1.0 is full right.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Play a sound.
To be added.
Method
1.0.0.0
System.Void
To be added.
Start playing a sound stream.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Play a sound with specified frequency.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Play a sound with specified frequency and gain.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
Play a sound with specified frequency, gain and panning.
To be added.
Property
1.0.0.0
System.Boolean
Return whether is playing.
To be added.
To be added.
Property
1.0.0.0
System.SByte*
Return playback position.
To be added.
To be added.
Property
1.0.0.0
System.Int32
Return sound position attribute.
Or
Set sound position attribute.
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.Void
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set sound playing attribute
To be added.
Method
1.0.0.0
System.Void
To be added.
Set new playback position.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set sound type, determines the master gain group.
To be added.
Property
1.0.0.0
Urho.Audio.Sound
Return sound.
To be added.
To be added.
Property
1.0.0.0
Urho.ResourceRef
Return sound attribute.
To be added.
To be added.
Property
1.0.0.0
System.String
Return sound type, determines the master gain group.
To be added.
To be added.
Method
1.0.0.0
System.Void
Stop playback.
To be added.
Property
1.0.0.0
System.Single
Return playback time position.
To be added.
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
Preserve
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 the sound source. Perform subclass specific operations. Called by Audio.
To be added.
Method
1.0.0.0
System.Void
Update the effective master gain. Called internally and by Audio when the master gain changes.
To be added.