Dela via


AudioNodeEmitterShape.CreateCone(Double, Double, Double) Method

Definition

Creates an instance of AudioNodeEmitterShape representing a cone shape.

public:
 static AudioNodeEmitterShape ^ CreateCone(double innerAngle, double outerAngle, double outerAngleGain);
 static AudioNodeEmitterShape CreateCone(double const& innerAngle, double const& outerAngle, double const& outerAngleGain);
public static AudioNodeEmitterShape CreateCone(double innerAngle, double outerAngle, double outerAngleGain);
function createCone(innerAngle, outerAngle, outerAngleGain)
Public Shared Function CreateCone (innerAngle As Double, outerAngle As Double, outerAngleGain As Double) As AudioNodeEmitterShape

Parameters

innerAngle
Double

double

The inner angle of an audio node emitter cone shape, where the audio signal is not attenuated at all, expressed in radians.

outerAngle
Double

double

The outer angle of an audio node emitter cone shape, where the audio signal is fully attenuated, expressed in radians.

outerAngleGain
Double

double

A value indicating the gain applied at the outer angle of the cone.

Returns

A cone-shaped AudioNodeEmitterShape.

Applies to