مشاركة عبر


AudioNodeEmitter.DopplerVelocity Property

Definition

Gets or sets a Vector3 expressing the velocity at which the emitter is moving in 3D space, expressed in meters per second.

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

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

Property Value

Vector3 Vector3

float3

A Vector3 expressing the velocity at which the emitter is moving.

Remarks

By default, the doppler velocity is expressed in meters per second. Set the DopplerScale property to scale the value to use other units.

Applies to