SoundSpatialAttributes
Namespace: Murder.Core.Sounds
Assembly: Murder.dll
public sealed struct SoundSpatialAttributes
Properties
⭐ Properties
Direction
public Direction Direction;
Forwards orientation, must be of unit length (1.0) and perpendicular to up.
Returns
Direction
Position
public Vector2 Position;
Position in 2D space. Used for panning and attenuation.
Returns
Vector2
Velocity
public Vector2 Velocity;
Velocity in 2D space. Used for doppler effect.
Returns
Vector2
⚡