Udostępnij za pośrednictwem


AudioNodeEmitterDecayKind Enum

Definition

Specifies the type of decay model used by an AudioNodeEmitter.

public enum class AudioNodeEmitterDecayKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class AudioNodeEmitterDecayKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum AudioNodeEmitterDecayKind
var value = Windows.Media.Audio.AudioNodeEmitterDecayKind.natural
Public Enum AudioNodeEmitterDecayKind
Inheritance
AudioNodeEmitterDecayKind
Attributes

Windows requirements

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

Fields

Name Value Description
Natural 0

A natural roll-off model using a distance-squared formula is used.

Custom 1

Decay is determined using the MinGain and MaxGain properties..

Applies to