Dela via


AudioNodeEmitter.Position Property

Definition

Gets or sets a vector representing the position of the emitter in 3D space, expressed in meters.

public:
 property float3 Position { float3 get(); void set(float3 value); };
float3 Position();

void Position(float3 value);
public Vector3 Position { get; set; }
var vector3 = audioNodeEmitter.position;
audioNodeEmitter.position = vector3;
Public Property Position As Vector3

Property Value

Vector3 Vector3

float3

A vector representing the position of the emitter in 3D space

Remarks

The positions of all of the emitters in the graph are relative to the position and orientation of the AudioNodeListener object assigned to the AudioDeviceOutputNode for the audio graph. By default, the listener is located at the origin (0,0,0) facing forward along the Z axis, but you can set its position and orientation with the Position and Orientation properties.

Applies to