Class MapAudioEmitter
An extension of the Microsoft.Xna.Framework.Audio.AudioEmitter class that also stores the emitter's WorldPosition
public class MapAudioEmitter : AudioEmitter
- Inheritance
-
AudioEmitterMapAudioEmitter
- Inherited Members
-
AudioEmitter.DopplerScaleAudioEmitter.ForwardAudioEmitter.PositionAudioEmitter.UpAudioEmitter.Velocity
- Extension Methods
Constructors
MapAudioEmitter(Vector2, float)
Creates a new map audio emitter with the given settings.
public MapAudioEmitter(Vector2 worldPosition, float floor)
Parameters
worldPosition
Vector2This audio emitter's current in-world coordinates.
floor
floatThis audio emitter's current floor.
Properties
Floor
This audio emitter's current floor.
public float Floor { get; set; }
Property Value
WorldPosition
This audio emitter's current in-world coordinates.
public Vector2 WorldPosition { get; set; }
Property Value
- Vector2