C# Class idTech4.Sound.SoundMaterialParameters

These options can be overriden from sound shader defaults on a per-emitter and per-channel basis.
显示文件 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_oe property

public SoundMaterialFlags Flags
return SoundMaterialFlags

MaxDistance public_oe property

public float MaxDistance
return float

MinDistance public_oe property

public float MinDistance
return float

Shakes public_oe property

public float Shakes
return float

SoundClass public_oe property

For global fading of sounds.
public int SoundClass
return int

Volume public_oe property

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