Share via


AudioNodeEmitterShape Class

Definition

Describes the shape in which an AudioNodeEmitter emits audio.

public ref class AudioNodeEmitterShape 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 AudioNodeEmitterShape 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 AudioNodeEmitterShape
Public NotInheritable Class AudioNodeEmitterShape
Inheritance
Object Platform::Object IInspectable AudioNodeEmitterShape
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 cone emitter shape by calling CreateCone. Create an omnidirectional emitter by calling CreateOmnidirectional. Assign an emitter shape to an emitter by calling the overload of the AudioNodeEmitter constructor. After the emitter has been created, retrieve the associated AudioEmitterShape object with the AudioNodeEmitter.Shape property.

Properties

ConeProperties

Gets an object that defines the characteristics of an emitter's cone shape, including the inner and outer angle of the cone and the gain applied to the signal at the outer angle.

Kind

Gets a value indicating the kind of shape represented by the AudioNodeEmitterShape.

Methods

CreateCone(Double, Double, Double)

Creates an instance of AudioNodeEmitterShape representing a cone shape.

CreateOmnidirectional()

Creates an instance of AudioNodeEmitterShape that is omnidirectional, meaning that the audio signal attenuation is the same regardless of the emitter's Direction.

Applies to