|
| void | SCR_TreeDebrisSmallEntity (IEntitySource src, IEntity parent) |
| |
| override void | EOnContact (IEntity owner, IEntity other, Contact contact) |
| |
| void | PlaySound (vector pos, float dVelocity) |
| |
| override void | EOnFrame (IEntity owner, float timeSlice) |
| |
| override void | EOnInit (IEntity owner) |
| | On initialization the debris is registered into the list.
|
| |
| override void | EOnPhysicsActive (IEntity owner, bool activeState) |
| |
| void | DeleteDebris () |
| | Delete debris - unregisters it from the list and makes it scale down and delete.
|
| |
| void | SCR_BaseDebrisSmallEntity (IEntitySource src, IEntity parent) |
| |
◆ SCR_TreeDebrisSmallEntity()
| void SCR_TreeDebrisSmallEntity.SCR_TreeDebrisSmallEntity |
( |
IEntitySource | src, |
|
|
IEntity | parent ) |
◆ EOnContact()
| override void SCR_TreeDebrisSmallEntity.EOnContact |
( |
IEntity | owner, |
|
|
IEntity | other, |
|
|
Contact | contact ) |
◆ EOnFrame()
| override void SCR_TreeDebrisSmallEntity.EOnFrame |
( |
IEntity | owner, |
|
|
float | timeSlice ) |
◆ EOnInit()
| override void SCR_TreeDebrisSmallEntity.EOnInit |
( |
IEntity | owner | ) |
|
On initialization the debris is registered into the list.
◆ EOnPhysicsActive()
| override void SCR_TreeDebrisSmallEntity.EOnPhysicsActive |
( |
IEntity | owner, |
|
|
bool | activeState ) |
◆ PlaySound()
| void SCR_TreeDebrisSmallEntity.PlaySound |
( |
vector | pos, |
|
|
float | dVelocity ) |
◆ DEBRIS_BREAK_TIME_MIN
| const float SCR_TreeDebrisSmallEntity.DEBRIS_BREAK_TIME_MIN = 0.7 |
|
staticprotected |
Debris break deletion minimum time.
◆ ENTITY_SIZE_FACTOR
| const float SCR_TreeDebrisSmallEntity.ENTITY_SIZE_FACTOR = 0.06 |
|
staticprotected |
◆ m_AudioHandleDebrisBreak
| AudioHandle SCR_TreeDebrisSmallEntity.m_AudioHandleDebrisBreak = AudioHandle.Invalid |
|
protected |
Stores debris break sound.
◆ m_AudioHandleDebrisImpact
| AudioHandle SCR_TreeDebrisSmallEntity.m_AudioHandleDebrisImpact = AudioHandle.Invalid |
|
protected |
Stores debris impact sound.
◆ m_audioSourceConfigurationBreak
◆ m_audioSourceConfigurationImpact
◆ m_fEntityDimensionMax
| float SCR_TreeDebrisSmallEntity.m_fEntityDimensionMax |
|
protected |
"Scaling factor" based on entity size
◆ m_fMaxDistance
| float SCR_TreeDebrisSmallEntity.m_fMaxDistance |
◆ m_fMinimalDistance
| float SCR_TreeDebrisSmallEntity.m_fMinimalDistance |
|
protected |
Minimum distance to last sound based on entitySize.
◆ m_fSoundCoolDownEnd
| float SCR_TreeDebrisSmallEntity.m_fSoundCoolDownEnd |
|
protected |
Cooldown time based on entitySize.
◆ m_fSoundThreshold
| float SCR_TreeDebrisSmallEntity.m_fSoundThreshold |
|
protected |
◆ m_fTimeToDespawn
| float SCR_TreeDebrisSmallEntity.m_fTimeToDespawn |
◆ m_iDespawnRandomizationTime
| int SCR_TreeDebrisSmallEntity.m_iDespawnRandomizationTime |
◆ m_vSoundPositionLast
| vector SCR_TreeDebrisSmallEntity.m_vSoundPositionLast |
|
protected |
Position of last played sound.
◆ TREE_KINETIC_ENERGY_THRESHOLD
| const float SCR_TreeDebrisSmallEntity.TREE_KINETIC_ENERGY_THRESHOLD = 20 |
|
staticprotected |
Sound triggered is kinetic energy is above the threshold.
The documentation for this interface was generated from the following file:
- Game/Entities/debris/TreeDebrisSmallEntity.c