◆ ~SCR_HelicopterSoundComponent()
void SCR_HelicopterSoundComponent.~SCR_HelicopterSoundComponent |
( |
| ) |
|
◆ CalculateSpeedToCameraSignal()
void SCR_HelicopterSoundComponent.CalculateSpeedToCameraSignal |
( |
IEntity |
owner | ) |
|
|
protected |
Updates SpeedToCamera signal based on owner velocity towards the camera.
- Parameters
-
owner | owner entity - cannot be null |
◆ HandleWashRotor()
void SCR_HelicopterSoundComponent.HandleWashRotor |
( |
IEntity |
owner | ) |
|
|
protected |
Handles wash rotor sound.
Triggers the sound, when conditions are met and updates sounds position based on owner's altitude.
- Parameters
-
◆ OnDamageStateChanged()
void SCR_HelicopterSoundComponent.OnDamageStateChanged |
( |
EDamageState |
state | ) |
|
|
protected |
◆ OnInit()
override void SCR_HelicopterSoundComponent.OnInit |
( |
IEntity |
owner | ) |
|
◆ OnPostInit()
override void SCR_HelicopterSoundComponent.OnPostInit |
( |
IEntity |
owner | ) |
|
Called after all components are initialized.
- Parameters
-
owner | Entity this component is attached to. |
Implements SimpleSoundComponent.
◆ RegisterOnDamageChanged()
void SCR_HelicopterSoundComponent.RegisterOnDamageChanged |
( |
| ) |
|
|
protected |
◆ RegisterRotorMainOnDamageChanged()
void SCR_HelicopterSoundComponent.RegisterRotorMainOnDamageChanged |
( |
| ) |
|
|
protected |
◆ RotorMainOnStateChanged()
void SCR_HelicopterSoundComponent.RotorMainOnStateChanged |
( |
| ) |
|
|
protected |
◆ UnregisterOnDamageChanged()
void SCR_HelicopterSoundComponent.UnregisterOnDamageChanged |
( |
| ) |
|
|
protected |
◆ UnregisterRotorMainOnDamageChanged()
void SCR_HelicopterSoundComponent.UnregisterRotorMainOnDamageChanged |
( |
| ) |
|
|
protected |
◆ UpdateSoundJob()
override void SCR_HelicopterSoundComponent.UpdateSoundJob |
( |
IEntity |
owner, |
|
|
float |
timeSlice |
|
) |
| |
◆ ALTITUDE_AGL
const string SCR_HelicopterSoundComponent.ALTITUDE_AGL = "AltitudeAGL" |
|
staticprotected |
◆ ALTITUDE_LIMIT
const float SCR_HelicopterSoundComponent.ALTITUDE_LIMIT = 50 |
|
staticprotected |
◆ DAMAGE_STATE_SIGNAL_NAME
const string SCR_HelicopterSoundComponent.DAMAGE_STATE_SIGNAL_NAME = "DamageState" |
|
staticprotected |
◆ DISTANCE_SIGNAL_NAME
const string SCR_HelicopterSoundComponent.DISTANCE_SIGNAL_NAME = "Distance" |
|
staticprotected |
◆ m_AltitudeAGLSignalIdx
int SCR_HelicopterSoundComponent.m_AltitudeAGLSignalIdx |
|
protected |
◆ m_eRotorMainDamageState
EDamageState SCR_HelicopterSoundComponent.m_eRotorMainDamageState |
|
protected |
◆ m_fTimer
float SCR_HelicopterSoundComponent.m_fTimer |
|
protected |
◆ m_HelicopterDamageManagerComponent
◆ m_iDistanceSignalIdx
int SCR_HelicopterSoundComponent.m_iDistanceSignalIdx |
|
protected |
◆ m_iSpeedToCameraSignalIdx
int SCR_HelicopterSoundComponent.m_iSpeedToCameraSignalIdx |
|
protected |
◆ m_MainRotorRPMScaledIdx
int SCR_HelicopterSoundComponent.m_MainRotorRPMScaledIdx |
|
protected |
◆ m_RotorMainHitZone
SCR_HitZone SCR_HelicopterSoundComponent.m_RotorMainHitZone |
|
protected |
◆ m_SignalsManagerComponent
◆ m_WashRotorAudioHandle
AudioHandle SCR_HelicopterSoundComponent.m_WashRotorAudioHandle = AudioHandle.Invalid |
|
protected |
◆ MAIN_ROTOR_HIT_ZONE_NAME
const string SCR_HelicopterSoundComponent.MAIN_ROTOR_HIT_ZONE_NAME = "RotorMain" |
|
staticprotected |
◆ MAIN_ROTOR_RPM_SCALED
const string SCR_HelicopterSoundComponent.MAIN_ROTOR_RPM_SCALED = "MainRotorRPMScaled" |
|
staticprotected |
◆ MAIN_ROTOR_RPM_SCALED_THRESHOLD
const float SCR_HelicopterSoundComponent.MAIN_ROTOR_RPM_SCALED_THRESHOLD = 0.2 |
|
staticprotected |
◆ ROTOR_MAIN_DAMAGE_STATE_SIGNAL_NAME
const string SCR_HelicopterSoundComponent.ROTOR_MAIN_DAMAGE_STATE_SIGNAL_NAME = "RotorMainDamageState" |
|
staticprotected |
◆ SPEED_TO_CAMERA_SIGNAL_NAME
const string SCR_HelicopterSoundComponent.SPEED_TO_CAMERA_SIGNAL_NAME = "SpeedToCamera" |
|
staticprotected |
◆ UPDATE_TIME
const float SCR_HelicopterSoundComponent.UPDATE_TIME = 0.15 |
|
staticprotected |
◆ WASH_ROTOR_DISTANCE_LIMIT
const float SCR_HelicopterSoundComponent.WASH_ROTOR_DISTANCE_LIMIT = 100 |
|
staticprotected |
The documentation for this interface was generated from the following file:
- Game/Components/VehicleSoundComponent/SCR_HelicopterSoundComponent.c