Dela via


AudioNodeEmitterNaturalDecayModelProperties Class

Definition

Describes the characteristics of a natural AudioNodeEmitterDecayModel.

public ref class AudioNodeEmitterNaturalDecayModelProperties 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 AudioNodeEmitterNaturalDecayModelProperties 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 AudioNodeEmitterNaturalDecayModelProperties
Public NotInheritable Class AudioNodeEmitterNaturalDecayModelProperties
Inheritance
Object Platform::Object IInspectable AudioNodeEmitterNaturalDecayModelProperties
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 a natural emitter decay model by calling AudioNodeEmitterDecayModel.CreateNatural. After creating the model, read-only access to the natural decay model properties is provided by the NaturalProperties property.

Properties

CutoffDistance

Gets a value indicating the distance at which the gain reaches the minimum gain value specified when the model was created with a call to AudioNodeEmitterDecayModel.CreateNatural.

UnityGainDistance

Gets a value indicating the distance at which the signal gain is unaffected by the decay model.

Applies to