public record class AudioEventSpatialAssetHow an event's plays sit in the world, as a file declares it.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A flattened SpatialSettings without the three fields a caller supplies — position, velocity and facing — because those are the frame's and never the asset's. Writing them into a file would produce a sound that always plays at the origin.
Fields and properties (11)
public float MinDistanceThe distance at which it plays at full volume.
public float MaxDistanceWhere it stops getting quieter.
public AttenuationModel AttenuationWhich curve it follows.
public float RolloffFactorHow hard that curve bites.
public float ConeInnerAngleThe full angle, in degrees, inside which it is at full volume. 360 means no cone.
public float ConeOuterAngleThe full angle, in degrees, outside which it is at ConeOuterGain.
public float ConeOuterGainHow loud it is outside the cone.
public float DopplerFactorHow much pitch shift movement causes. Zero switches doppler off.
public float SpreadHow big the source is, from a point at 0 to everywhere at 1.
public float AirAbsorptionHow much distance muffles it, from 0 for none to 1 for as much as the model allows.
public float AirAbsorptionCutoffWhere the muffling ends up, in hertz, at maximum distance and full absorption.
Methods (1)
public SpatialSettings ToSettings()These settings, as the mixer wants them. The position is filled in per play.
Used by (6)
- AudioEventAssetVixen.Audio
- AudioEventAssetTestsVixen.Audio.Tests
- AudioEventBuilderVixen.Audio
- TypeRegistrationVixen.Audio
- Vixen_Audio_Assets_AudioEventAssetSerializerVixen.Audio
- Vixen_Audio_Assets_AudioEventSpatialAssetSerializerVixen.Audio