Plush

AudioEmitterUse#

PlushEngine · Type index

Namespace: PlushEngine

The Audio Emitter component: the Sound an object plays while it is active, and its extra level and pitch.

public sealed record AudioEmitterUse(SoundAsset? Sound, bool PlayOnStart = true, float VolumeDb = 0, float PitchCents = 0)

Record properties#

PropertyTypeAccessConstructor default
SoundSoundAsset?get; init;required
PlayOnStartboolget; init;true
VolumeDbfloatget; init;0
PitchCentsfloatget; init;0

Members: MaxDistance · MinDistance · SequenceId · Shared

MaxDistance#

public float MaxDistance { get; init; }

Initial value: 40

MinDistance#

public float MinDistance { get; init; }

Initial value: 2

SequenceId#

public string? SequenceId { get; init; }

Shared#

public bool Shared { get; init; }

Every emitter of this Sound with Shared on plays one voice, heard from each of them (lights on one circuit, a row of machines): one voice however many there are, each still heard from where it is.

SoundAsset

Source#