Urho
1.0.0.0
Urho.Resources.Resource
Sound resource.
Sounds can be played back with either the or the components.
This allows manual stereo panning of mono sounds; stereo sounds will be output with their original stereo mix.
Constructor
1.0.0.0
Constructs a new instance of Urho.Audio.Sound which is tied to the .
Constructor
1.0.0.0
Pointer to the raw unmanaged Urho object.
Constructs a new instance of Urho.Audio.Sound, 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.Sound 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.Boolean
To be added.
To be added.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Return whether is compressed.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Return total sound data size.
To be added.
To be added.
Property
1.0.0.0
Urho.Audio.SoundStream
Return a new instance of a decoder sound stream. Used by compressed sounds.
To be added.
To be added.
Property
1.0.0.0
System.SByte*
Return sound data end.
To be added.
To be added.
Method
1.0.0.0
System.Void
Fix interpolation by copying data from loop start to loop end (looped), or adding silence (oneshot.) Called internally, does not normally need to be called, unless the sound data is modified manually on the fly.
To be added.
Property
1.0.0.0
System.Single
Return default frequency as a float.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Return default frequency as an integer.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return length in seconds.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Set loop on/off. If loop is enabled, sets the full sound as loop range.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Register object factory.
To be added.
Property
1.0.0.0
System.SByte*
Return loop start.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Return sample size.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set uncompressed sound data.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Set uncompressed sound data format.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Define loop.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set sound size in bytes. Also resets the sound to be uncompressed and one-shot.
To be added.
Property
1.0.0.0
System.Boolean
To be added.
To be added.
To be added.
Property
1.0.0.0
System.SByte*
Return sound data start.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Return whether data is stereo.
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
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.