ImpactSoundSettings
A class in Root.Township, the global namespace.
Global settings for Wwise impact sounds: the send and receive events, velocity RTPC and material sound map. ImpactSoundManager holds it, but nothing in this server build reads the values.
- Listed in Global namespace: I to L
- Inherits or implements
GlobalSettings<ImpactSoundSettings> - Derived types
ImpactSoundSettings,ImpactSoundSettings.Create - Nested types
Create - Attributes
GlobalSettings
Constructors
| Member | What it is |
|---|---|
ImpactSoundSettings() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
5 private and internal fields
| Member | What it is |
|---|---|
private Switch defaultImpactSound | Backing field for DefaultImpactSound: the switch used when a material isn't in the map. |
private Event impactReceiveEvent | Backing field for ImpactRecieveEvent (spelled that way). |
private Event impactSendEvent | Backing field for ImpactSendEvent. |
private ImpactSoundMap impactSoundMap | Backing field for ImpactSoundMap. |
private RTPC impactVelocityRTPC | Backing field for ImpactVelocityRTPC, the Wwise parameter for impact speed. |
Properties
| Member | What it is |
|---|---|
Switch DefaultImpactSound { get; } | Wwise switch used when no mapped sound fits. |
Event ImpactRecieveEvent { get; } | Wwise event for the struck side of an impact. |
Event ImpactSendEvent { get; } | Wwise event for the striking side of an impact. |
ImpactSoundMap ImpactSoundMap { get; } | Map of impact sounds per material. |
RTPC ImpactVelocityRTPC { get; } | Wwise RTPC fed with impact velocity. |
Used in
Members of other types that take, return or hold a ImpactSoundSettings: