C# Class idTech4.Sound.SoundMaterialParameters

These options can be overriden from sound shader defaults on a per-emitter and per-channel basis.
Show file Open project: iainmckay/idtech4.net Class Usage Examples

Public Properties

Property Type Description
Flags SoundMaterialFlags
MaxDistance float
MinDistance float
Shakes float
SoundClass int
Volume float

Property Details

Flags public property

public SoundMaterialFlags Flags
return SoundMaterialFlags

MaxDistance public property

public float MaxDistance
return float

MinDistance public property

public float MinDistance
return float

Shakes public property

public float Shakes
return float

SoundClass public property

For global fading of sounds.
public int SoundClass
return int

Volume public property

In dB, negative values get quieter.
public float Volume
return float