Go to the source code of this file.
|
SCR_BuildingSoundComponentClass SoundComponentClass | Attribute ("8", UIWidgets.Slider, "Time interval when maximum WindSpeed [s]", "0 60 1")] int m_iTimeIntervalMin |
|
private void | TriggeredSoundHandler (IEntity owner, float timeSlice) |
|
private void | SetInteriorSignal (IEntity owner) |
|
private bool | IsInWorldBounds (vector point, IEntity entity) |
|
private void | GetTimeInterval () |
|
private vector | GetSoundPosition (IEntity owner) |
|
private float | Interpolate (float in, float Xmin, float Xmax, float Ymin, float Ymax) |
|
override void | UpdateSoundJob (IEntity owner, float timeSlice) |
| Call when component is in range. More...
|
|
override void | OnUpdateSoundJobBegin (IEntity owner) |
| Called when dynamic simulation is started. More...
|
|
void | SCR_BuildingSoundComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
|
◆ Attribute()
◆ GetSoundPosition()
private vector GetSoundPosition |
( |
IEntity |
owner | ) |
|
◆ GetTimeInterval()
private void GetTimeInterval |
( |
| ) |
|
◆ Interpolate()
private float Interpolate |
( |
float |
in, |
|
|
float |
Xmin, |
|
|
float |
Xmax, |
|
|
float |
Ymin, |
|
|
float |
Ymax |
|
) |
| |
◆ IsInWorldBounds()
private bool IsInWorldBounds |
( |
vector |
point, |
|
|
IEntity |
entity |
|
) |
| |
◆ SCR_BuildingSoundComponent()
void SCR_BuildingSoundComponent |
( |
IEntityComponentSource |
src, |
|
|
IEntity |
ent, |
|
|
IEntity |
parent |
|
) |
| |
◆ SetInteriorSignal()
private void SetInteriorSignal |
( |
IEntity |
owner | ) |
|
◆ TriggeredSoundHandler()
private void TriggeredSoundHandler |
( |
IEntity |
owner, |
|
|
float |
timeSlice |
|
) |
| |
◆ m_fTriggerInterval
protected float m_fTriggerInterval |
◆ m_iTimeIntervalMax
◆ m_vMaxs
◆ m_vMins