AudioNodeEmitterDecayModel Class

Definition

Represents the model used to compute the distance-based attenuation of a signal from an AudioNodeEmitter.

public ref class AudioNodeEmitterDecayModel sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AudioNodeEmitterDecayModel final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AudioNodeEmitterDecayModel
Public NotInheritable Class AudioNodeEmitterDecayModel
Inheritance
Object Platform::Object IInspectable AudioNodeEmitterDecayModel
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

Create an instance of this class by calling CreateCustom or CreateNatural.

Properties

Kind

Gets a value indicating the type of the decay model.

MaxGain

Gets the maximum gain applied to the signal as a result of the decay model.

MinGain

Gets the minimum gain applied to the signal as a result of the decay model.

NaturalProperties

Gets the properties of a natural AudioNodeEmitterDecayModel.

Methods

CreateCustom(Double, Double)

Creates a new AudioNodeEmitterDecayModel that uses the specified minimum and maximum gain values to compute distance-based attenuation of a signal from an AudioNodeEmitter.

CreateNatural(Double, Double, Double, Double)

Creates an AudioNodeEmitterDecayModel with a natural roll-off model using a distance-squared formula.

Applies to