class EffectParticleSource
EffectParticle › Effect › Managed
View all 51 descendants
- BleedingSourceEffect
- BleedingSourceEffectLight
- BloodSplatter
- EffBreathVapourHeavy
- EffBreathVapourLight
- EffBreathVapourMedium
- EffBulletImpactBase
- EffBulletImpactTest
- EffectBoatWaterBase
- EffectParticleGeneral
- EffGeneratorSmoke
- EffSwarmingFlies
- EffVehicleSmoke
- EffVomit
- EffVomitBlood
- EffWheelSmoke
- LandmineExplosion
- MenuCarEngineSmoke
- MenuEvaporation
All members, including inherited
Wrapper class for managing particles through SEffectManager
Constructors 2
void EffectParticle()ctor
void ~EffectParticle()dtor
Members 6
protected Particle m_ParticleObjprotected int m_ParticleIDThe ID in the ParticleList to create Particle from
Show 3 more
, SetParticleID(), Start(), and EffWheelSmoke.SetSurface()protected vector m_OrientationOrientation set by SetOrientation
protected bool m_ForceRotationRelativeToWorldOrientation setting to be used by the effect when the Effect starts
protected vector m_ParticleOrientation\name DEPRECATED Simply exist because of backwards compatibility, might have never been used
protected Object m_ObjectMethods 33
override void InitEffect()init
Show 1 more
, Effect.Event_OnStoppedoverride string GetDebugName()Override when getting debug information
Show 2 more
, GetParticle(), and m_ParticleIDoverride void ValidateStart()Validation whether an effect truly started playing or if the Effect should stop as none is present
override EffectType GetEffectType()Get what type of effect the Effect is
Returns: EffectType What type of effect the Effect is
override bool IsParticle()Check whether the Effect is EffectParticle without casting
Returns: bool Whether the Effect is EffectParticle
void SetParticle(Particle p)Sets the main particle which this Effect will manage
Particle GetParticle()Gets the main particle which this Effect is managing
Returns: Particle Main particle which this Effect is managing
Show 24 more
, EffCoolantSteam.UpdateParticle(), EffectBoatWaterBack.Update(), EffectBoatWaterFront.Update(), EffectBoatWaterSide.Update(), AddAsChild(), GetCurrentLocalPosition(), GetCurrentOrientation(), GetCurrentParent(), GetCurrentParticleID(), GetCurrentPosition(), GetDebugName(), IsParticleCurrentRotationRelativeToWorld(), IsParticleRotationRelativeToWorld(), SetCurrentLocalPosition(), SetCurrentOrientation(), SetCurrentParticleID(), SetCurrentPosition(), Stop(), ValidateStart(), EffEngineSmoke.Event_OnFrameUpdate(), EffExhaustSmoke.SetParticleStateLight(), Hit_MeatBones.BloodSplatGround(), PlayerBase.OnParticleEvent(), and PlayerBase.SetDecayEffects()override void Start()Plays all elements this effect consists of
override void Stop()Stops all elements this effect consists of
Show 10 more
, EffectBoatWaterBack.Update(), EffectBoatWaterBase.SetParticleState(), EffectBoatWaterFront.Update(), ValidateStart(), EffectParticleGeneral.SetParticle(), EffVehicleSmoke.SetParticleState(), EffWheelSmoke.SetParticleState(), EffWheelSmoke.SetSurface(), ParticleEffecter.OnVariablesSynchronized(), and TreeEffecter.OnVariablesSynchronized()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
Show 2 more
, Effect.SetLocalPosition(), and Effect.SetParent()void ReAttach()Helper method to attach to parent using stored settings
Show 2 more
, Effect.GetParent(), and IsParticleRotationRelativeToWorld()protected void AddAsChild(Object obj, vector local_pos, vector local_ori, bool force_rotation_to_world)Helper method to attach to parent
void Event_OnPlayStart()Event which just simply exists (DEPRECATED)
void Event_OnPlayStarted()Event which just simply exists (DEPRECATED)
void SetParticleID(int id)Sets the id of the particle to be used
idintParticle ID registered in ParticleList
Show 15 more
, EffBreathVapourHeavy.EffBreathVapourHeavy(), EffBreathVapourLight.EffBreathVapourLight(), EffBreathVapourMedium.EffBreathVapourMedium(), EffBulletImpactTest.EffBulletImpactTest(), EffectBoatWaterBase.SetParticleState(), EffectParticleGeneral.SetParticleID(), EffGeneratorSmoke.EffGeneratorSmoke(), EffSwarmingFlies.EffSwarmingFlies(), EffVehicleSmoke.SetParticleState(), EffVomit.EffVomit(), EffVomitBlood.EffVomitBlood(), EffWheelSmoke.SetParticleState(), LandmineExplosion.LandmineExplosion(), MenuCarEngineSmoke.MenuCarEngineSmoke(), and MenuEvaporation.MenuEvaporation()int GetParticleID()Gets the id of the particle to be used
Returns: int Particle ID registered in ParticleList
void SetCurrentParticleID(int id)Sets the id of the particle to be used
idintParticle ID registered in ParticleList
int GetCurrentParticleID()Gets the current id of the managed Particle
Returns: int Particle ID registered in ParticleList
Set current parent of the managed Particle
override Object GetCurrentParent()override vector GetCurrentPosition()Set the current local position of the managed Particle
posvectorThe current local position for the managed ParticleupdateCachedboolWhether to update the cached variable
Show 2 more
, Effect.SetCurrentLocalPosition(), and Object.SetPosition()override vector GetCurrentLocalPosition()Get the current local position of the managed Particle
Returns: vector The current local position of the managed Particle
Show 2 more
, Object.GetPosition(), and Object.WorldToModel()void SetOrientation(vector ori)Set orientation of the EffectParticle
orivectorOrientation in degrees (yaw, pitch, roll)
vector GetOrientation()Get the orientation of the EffectParticle
Returns: vector The orientation of EffectParticle
Set the current orientation of the managed Particle
orivectorOrientation in degrees (yaw, pitch, roll)
vector GetCurrentOrientation()void ForceParticleRotationRelativeToWorld(bool state)Set orientation setting to be used by the effect when the Effect starts
stateboolWhether to keep WS orientation when attaching it to parent
bool IsParticleRotationRelativeToWorld()Get the orientation setting to be used by the effect when the Effect starts
Returns: bool Whether to keep WS orientation when attaching it to parent
bool IsParticleCurrentRotationRelativeToWorld()void CheckLifeSpan()Was never called and probably should never be called