class EffectParticle
EffectParticle › Effect › Managed
- Managed
- Effect
- EffectParticle
- BleedingSourceEffect
- BleedingSourceEffectLight
- BloodSplatter
- EffBreathVapourHeavy
- EffBreathVapourLight
- EffBreathVapourMedium
- EffBulletImpactBase
28
- EffBulletImpactTest
- EffCloudDust
- EffectBoatWaterBase
- EffectParticleGeneral
- EffGeneratorSmoke
- EffSwarmingFlies
- EffVehicleDust
- EffVehicleSmoke
- EffVomit
- EffVomitBlood
- EffWheelContact
- EffWheelSmoke
- LandmineExplosion
- MenuCarEngineSmoke
- MenuEvaporation
- EffectParticle
- Effect
Wrapper class for managing particles through SEffectManager
Members 7
protected Particle m_ParticleObjprotected int m_ParticleIDThe ID in the ParticleList to create Particle from
protected vector m_OrientationOrientation set by SetOrientation
protected EffectSound m_EffectSoundName of sound set that is going to be played when particle starts playback
Show 4 more
, SetEffectSound(), Start(), Stop(), and EffWheelContact.SelectFromSurface()protected int m_PPFlagsFlags passed to ParticleManager.CreateParticleEx when the particle is created, see ParticlePropertiesFlags
Show 1 more
, Start()protected vector m_ParticleOrientation\name DEPRECATED Simply exist because of backwards compatibility, might have never been used
protected Object m_ObjectMethods 43
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 27 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.ParticleParamsOverride(), EffVehicleDust.ParticleParamsOverride(), EffWheelContact.ParticleParamsOverride(), Hit_MeatBones.BloodSplatGround(), PlayerBase.OnParticleEvent(), PlayerBase.SetDecayEffects(), and VehicleVFXComponent.PlayEffectData()override void Start()Plays all elements this effect consists of
Show 9 more
, EffectBoatWaterBase.Update(), EffectParticleGeneral.SetParticle(), EffVehicleDust.SetParticleState(), EffVehicleSmoke.SetParticleState(), EffWheelContact.SetParticleState(), EffWheelSmoke.SetParticleState(), ParticleEffecter.OnVariablesSynchronized(), TreeEffecter.OnVariablesSynchronized(), and VehicleVFXComponent.PlayEffectData()override void Stop()Stops all elements this effect consists of
Show 3 more
, EffectSound.Stop(), Effect.Stop(), and m_EffectSoundShow 18 more
, EffCloudDust.SetDefault(), EffCloudDust.SetParticleState(), EffectBoatWaterBack.Update(), EffectBoatWaterBase.SetParticleState(), EffectBoatWaterFront.Update(), ValidateStart(), EffectParticleGeneral.SetParticle(), EffVehicleDust.SelectFromSurface(), EffVehicleDust.SetParticleState(), EffVehicleSmoke.SetParticleState(), EffWheelContact.SelectFromSurface(), EffWheelContact.SetParticleState(), EffWheelSmoke.SelectFromSurface(), EffWheelSmoke.SetParticleState(), EffWheelSmoke.SetSurface(), ParticleEffecter.OnVariablesSynchronized(), TreeEffecter.OnVariablesSynchronized(), and VehicleVFXComponent.StopEffectData()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 18 more
, EffBreathVapourHeavy.EffBreathVapourHeavy(), EffBreathVapourLight.EffBreathVapourLight(), EffBreathVapourMedium.EffBreathVapourMedium(), EffBulletImpactTest.EffBulletImpactTest(), EffCloudDust.SetParticleState(), EffectBoatWaterBase.SetParticleState(), EffectParticleGeneral.SetParticleID(), EffGeneratorSmoke.EffGeneratorSmoke(), EffSwarmingFlies.EffSwarmingFlies(), EffVehicleDust.SetParticleState(), EffVehicleSmoke.SetParticleState(), EffVomit.EffVomit(), EffVomitBlood.EffVomitBlood(), EffWheelContact.SetParticleState(), 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()protected void AddParticlePropertiesFlag(ParticlePropertiesFlags flag)protected void RemoveParticlePropertiesFlag(ParticlePropertiesFlags flag)protected bool IsSetParticlePropertiesFlag(ParticlePropertiesFlags flag)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
void DisableParticleInUI(bool disable)Disable creating particle for preview player
disableboolIs particle not draw
bool IsDisableParticleInUI()bool IsParticleCurrentRotationRelativeToWorld()void SetEffectSound(EffectSound effectSound)Set effect sound play with particle
void SelectFromSurface(string surface)void SelectFromSurface(SurfaceInfo surfaceInfo)void SetParticleState(int state)void ParticleParamsOverride(notnull ParticleParamsOverrideData data)Callback for overriding effect's particle attributes
void CheckLifeSpan()Was never called and probably should never be called