DayZ 1.26
DayZ Explorer by KGB
|
Wrapper class for managing particles through SEffectManager. Подробнее...
Защищенные члены | |
EffectType | |
Information about what type of effect the Effect is, without the need for casting | |
override EffectType | GetEffectType () |
Get what type of effect the Effect is. | |
override bool | IsParticle () |
Check whether the Effect is EffectParticle without casting. | |
Main particle | |
Set or get the main particle which this Effect will manage | |
void | SetParticle (Particle p) |
Sets the main particle which this Effect will manage. | |
Particle | GetParticle () |
Gets the main particle which this Effect is managing. | |
Playback | |
Methods to Play/Stop Effect Generally, SEffectManager.Play methods are used instead of Start | |
override void | Start () |
Plays all elements this effect consists of. | |
override void | Stop () |
Stops all elements this effect consists of. | |
Attach | |
Helper methods for attaching to prent | |
void | AttachTo (Object obj, vector local_pos="0 0 0", vector local_ori="0 0 0", bool force_rotation_to_world=false) |
Read Particle.AddAsChild. | |
void | ReAttach () |
Helper method to attach to parent using stored settings. | |
void | AddAsChild (Object obj, vector local_pos, vector local_ori, bool force_rotation_to_world) |
Helper method to attach to parent. | |
Events | |
Various events that can be overriden for custom behaviour | |
void | Event_OnPlayStart () |
Event which just simply exists (DEPRECATED) | |
void | Event_OnPlayStarted () |
Event which just simply exists (DEPRECATED) | |
Generic API | |
Setters and getters for generic data and properties | |
void | SetParticleID (int id) |
Sets the id of the particle to be used. | |
int | GetParticleID () |
Gets the id of the particle to be used. | |
void | SetCurrentParticleID (int id) |
Sets the id of the particle to be used. | |
int | GetCurrentParticleID () |
Gets the current id of the managed Particle. | |
override void | SetCurrentParent (Object parent_obj, bool updateCached=true) |
Set current parent of the managed Particle. | |
override Object | GetCurrentParent () |
Get the current parent of the managed Particle. | |
override void | SetCurrentPosition (vector pos, bool updateCached=true) |
Set the current world position of the managed Particle. | |
override vector | GetCurrentPosition () |
Get the current world position of the managed Particle. | |
override void | SetCurrentLocalPosition (vector pos, bool updateCached=true) |
Set the current local position of the managed Particle. | |
override vector | GetCurrentLocalPosition () |
Get the current local position of the managed Particle. | |
void | SetOrientation (vector ori) |
Set orientation of the EffectParticle. | |
vector | GetOrientation () |
Get the orientation of the EffectParticle. | |
void | SetCurrentOrientation (vector ori, bool updateCached=true) |
Set the current orientation of the managed Particle. | |
vector | GetCurrentOrientation () |
Get the current orientation of the managed Particle. | |
void | ForceParticleRotationRelativeToWorld (bool state) |
Set orientation setting to be used by the effect when the Effect starts. | |
bool | IsParticleRotationRelativeToWorld () |
Get the orientation setting to be used by the effect when the Effect starts. | |
bool | IsParticleCurrentRotationRelativeToWorld () |
Get the current orientation setting to be used by the managed Particle. | |
Защищенные данные | |
Particle | m_ParticleObj |
The main Particle effect that this Effect wrapper manages. | |
Generic data | |
Generic data for the particle | |
int | m_ParticleID |
The ID in the ParticleList to create Particle from. | |
vector | m_Orientation |
Orientation set by SetOrientation. | |
bool | m_ForceRotationRelativeToWorld |
Orientation setting to be used by the effect when the Effect starts. | |
DEPRECATED | |
Methods which exist for backwards compatibility and are no longer in use or have never been in use | |
vector | m_ParticleOrientation |
Object | m_Object |
void | EffectParticle () |
ctor | |
void | ~EffectParticle () |
dtor | |
override void | InitEffect () |
init | |
override string | GetDebugName () |
Override when getting debug information. | |
override void | ValidateStart () |
Validation whether an effect truly started playing or if the Effect should stop as none is present. | |
void | CheckLifeSpan () |
Was never called and probably should never be called. | |
void | SetDecalOwner (Object o) |
Wrapper class for managing particles through SEffectManager.
|
inlineprotected |
ctor
|
inlineprotected |
dtor
|
inlineprotected |
Helper method to attach to parent.
Перекрестные ссылки GetParticle().
Используется в AttachTo() и ReAttach().
|
inlineprotected |
Read Particle.AddAsChild.
Перекрестные ссылки AddAsChild(), ForceParticleRotationRelativeToWorld(), SetAttachedLocalOri(), SetLocalPosition() и SetParent().
|
inlineprotected |
Was never called and probably should never be called.
|
inlineprotected |
Event which just simply exists (DEPRECATED)
|
inlineprotected |
Event which just simply exists (DEPRECATED)
Set orientation setting to be used by the effect when the Effect starts.
state | bool Whether to keep WS orientation when attaching it to parent |
Перекрестные ссылки m_ForceRotationRelativeToWorld.
Используется в AttachTo().
Get the current local position of the managed Particle.
vector
The current local position of the managed Particle Перекрестные ссылки GetParent() и GetParticle().
|
inlineprotected |
Get the current orientation of the managed Particle.
vector
The current orientation of the managed Particle Перекрестные ссылки GetParticle() и vector::Zero.
|
inlineprotected |
Gets the current id of the managed Particle.
int
Particle ID registered in ParticleList Перекрестные ссылки GetParticle() и ParticleList::INVALID.
Get the current world position of the managed Particle.
vector
The current world position of the managed Particle Перекрестные ссылки GetParticle().
Override when getting debug information.
Перекрестные ссылки GetParticle() и m_ParticleID.
|
inlineprotected |
Get what type of effect the Effect is.
EffectType
What type of effect the Effect is
|
inlineprotected |
Get the orientation of the EffectParticle.
vector
The orientation of EffectParticle Перекрестные ссылки m_Orientation.
Используется в Start().
|
inlineprotected |
Gets the main particle which this Effect is managing.
Particle
Main particle which this Effect is managing Перекрестные ссылки m_ParticleObj.
Используется в AddAsChild(), EffEngineSmoke::Event_OnFrameUpdate(), GetCurrentLocalPosition(), GetCurrentOrientation(), GetCurrentParent(), GetCurrentParticleID(), GetCurrentPosition(), GetDebugName(), IsParticleCurrentRotationRelativeToWorld(), IsParticleRotationRelativeToWorld(), SetCurrentLocalPosition(), SetCurrentOrientation(), SetCurrentParticleID(), SetCurrentPosition(), EffExhaustSmoke::SetParticleStateLight(), Stop(), Update(), EffectBoatWaterBack::Update(), EffCoolantSteam::UpdateParticle() и ValidateStart().
|
inlineprotected |
Gets the id of the particle to be used.
int
Particle ID registered in ParticleList Перекрестные ссылки m_ParticleID.
init
Перекрестные ссылки Event_OnEffectEnded и Event_OnStopped.
Check whether the Effect is EffectParticle without casting.
bool
Whether the Effect is EffectParticle
|
inlineprotected |
Get the current orientation setting to be used by the managed Particle.
bool
Whether the managed Particle is only updating position from parent Перекрестные ссылки GetParticle().
|
inlineprotected |
Get the orientation setting to be used by the effect when the Effect starts.
bool
Whether to keep WS orientation when attaching it to parent Перекрестные ссылки GetParticle() и m_ForceRotationRelativeToWorld.
Используется в ReAttach() и Start().
|
inlineprotected |
Helper method to attach to parent using stored settings.
Перекрестные ссылки AddAsChild(), GetAttachedLocalOri(), GetLocalPosition(), GetParent() и IsParticleRotationRelativeToWorld().
Используется в SetCurrentLocalPosition() и SetCurrentParent().
Set the current local position of the managed Particle.
pos | vector The current local position for the managed Particle |
updateCached | bool Whether to update the cached variable |
Перекрестные ссылки GetParent(), GetParticle() и ReAttach().
Используется в EffectBoatWaterBase::UpdatePosToSeaLevel().
Set the current orientation of the managed Particle.
ori | vector Orientation in degrees (yaw, pitch, roll) |
Перекрестные ссылки GetParticle() и SetOrientation().
Set current parent of the managed Particle.
parent_obj | Object The parent for the Particle |
updateCached | bool Whether to update the cached variable |
Перекрестные ссылки ReAttach().
Sets the id of the particle to be used.
id | int Particle ID registered in ParticleList |
Перекрестные ссылки GetParticle() и m_ParticleID.
Set the current world position of the managed Particle.
pos | vector The current world position for the Particle |
updateCached | bool Whether to update the cached variable |
Перекрестные ссылки GetParticle().
Перекрестные ссылки m_Object.
Set orientation of the EffectParticle.
ori | vector Orientation in degrees (yaw, pitch, roll) |
Перекрестные ссылки m_Orientation.
Используется в SetCurrentOrientation().
Sets the main particle which this Effect will manage.
p | Particle Main particle which this Effect will manage |
Перекрестные ссылки Event_OnEffectEnded, Event_OnEffectStarted и m_ParticleObj.
Используется в EffBulletImpactBase::Event_OnStarted(), Start() и Stop().
Sets the id of the particle to be used.
id | int Particle ID registered in ParticleList |
Перекрестные ссылки m_ParticleID.
Используется в BleedingSourceEffect::BleedingSourceEffect(), BleedingSourceEffect(), BloodSplatter::BloodSplatter(), EffBreathVapourHeavy::EffBreathVapourHeavy(), EffBreathVapourLight::EffBreathVapourLight(), EffBreathVapourMedium::EffBreathVapourMedium(), EffBulletImpactTest::EffBulletImpactTest(), EffGeneratorSmoke::EffGeneratorSmoke(), EffSwarmingFlies::EffSwarmingFlies(), EffVomit::EffVomit(), EffVomitBlood::EffVomitBlood(), LandmineExplosion::LandmineExplosion(), MenuCarEngineSmoke::MenuCarEngineSmoke(), MenuEvaporation::MenuEvaporation(), SetParticle(), EffVehicleSmoke::SetParticleState(), EffectBoatWaterBase::SetParticleState() и EffWheelSmoke::SetParticleState().
Plays all elements this effect consists of.
Перекрестные ссылки GetAttachedLocalOri(), GetLocalPosition(), GetOrientation(), GetParent(), GetPosition, IsParticleRotationRelativeToWorld(), m_ParentObject, m_ParticleID, ParticleManager() и SetParticle().
Используется в SetParticle(), EffVehicleSmoke::SetParticleState(), EffectBoatWaterBase::SetParticleState(), EffWheelSmoke::SetParticleState() и EffectBoatWaterBase::Update().
Stops all elements this effect consists of.
Перекрестные ссылки GetParticle(), SetParticle() и Particle::Stop().
Используется в SetParticle(), EffVehicleSmoke::SetParticleState(), EffectBoatWaterBase::SetParticleState(), EffWheelSmoke::SetParticleState(), EffWheelSmoke::SetSurface(), Update(), EffectBoatWaterBack::Update() и ValidateStart().
Validation whether an effect truly started playing or if the Effect should stop as none is present.
Перекрестные ссылки GetParticle() и Stop().
|
protected |
Orientation setting to be used by the effect when the Effect starts.
Используется в ForceParticleRotationRelativeToWorld() и IsParticleRotationRelativeToWorld().
|
protected |
Используется в SetDecalOwner().
|
protected |
Orientation set by SetOrientation.
Используется в GetOrientation() и SetOrientation().
|
protected |
The ID in the ParticleList to create Particle from.
Используется в GetDebugName(), GetParticleID(), SetCurrentParticleID(), SetParticleID(), EffWheelSmoke::SetSurface() и Start().
|
protected |
The main Particle effect that this Effect wrapper manages.
Используется в GetParticle() и SetParticle().
|
protected |