AudioNodeEmitter.Position Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.