327 return p.GetParticleID();
353 return Object.Cast(
p.GetParent());
355 return super.GetParent();
382 return p.GetPosition();
384 return super.GetPosition();
421 return parent.WorldToModel(
p.GetPosition());
423 return p.GetPosition();
426 return super.GetLocalPosition();
461 p.SetOrientation(
ori);
473 return p.GetOrientation();
499 return p.IsHierarchyPositionOnly();
513 return p.IsHierarchyPositionOnly();
Object m_ParentObject
Cached parent.
ref ScriptInvoker Event_OnEffectStarted
Event used when the actual effect started playing.
EffectType
Enum to determine what type of effect the Effect is.
void SetParent(Object parent_obj)
Set parent of the Effect.
ref ScriptInvoker Event_OnEffectEnded
Event used when the actual effect stopped playing.
void SetLocalPosition(vector pos)
Set the local position of the Effect.
vector GetLocalPosition()
Get the local position of the Effect.
ref ScriptInvoker Event_OnStopped
Event used when Stop was called.
void SetAttachedLocalOri(vector ori)
Set local orientation for the Effectparticle to attach to when the Effect is started.
vector GetAttachedLocalOri()
Get the local orientation set by SetAttachedLocalOri.
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
class JsonUndergroundAreaTriggerData GetPosition
Wrapper class for managing particles through SEffectManager.
override string GetDebugName()
Override when getting debug information.
override void Stop()
Stops all elements this effect consists of.
Particle GetParticle()
Gets the main particle which this Effect is managing.
int GetCurrentParticleID()
Gets the current id of the managed Particle.
vector GetOrientation()
Get the orientation of the EffectParticle.
override void Start()
Plays all elements this effect consists of.
bool m_ForceRotationRelativeToWorld
Orientation setting to be used by the effect when the Effect starts.
void ~EffectParticle()
dtor
void SetParticleID(int id)
Sets the id of the particle to be used.
void SetParticle(Particle p)
Sets the main particle which this Effect will manage.
void Event_OnPlayStarted()
Event which just simply exists (DEPRECATED)
override void ValidateStart()
Validation whether an effect truly started playing or if the Effect should stop as none is present.
void EffectParticle()
ctor
void SetCurrentOrientation(vector ori, bool updateCached=true)
Set the current orientation of the managed Particle.
int GetParticleID()
Gets the id of the particle to be used.
override void InitEffect()
init
vector GetCurrentOrientation()
Get the current orientation of the managed Particle.
bool IsParticleRotationRelativeToWorld()
Get the orientation setting to be used by the effect when the Effect starts.
Particle m_ParticleObj
The main Particle effect that this Effect wrapper manages.
void ReAttach()
Helper method to attach to parent using stored settings.
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.
vector m_ParticleOrientation
void SetDecalOwner(Object o)
void Event_OnPlayStart()
Event which just simply exists (DEPRECATED)
override bool IsParticle()
Check whether the Effect is EffectParticle without casting.
override void SetCurrentParent(Object parent_obj, bool updateCached=true)
Set current parent of the managed Particle.
void ForceParticleRotationRelativeToWorld(bool state)
Set orientation setting to be used by the effect when the Effect starts.
override EffectType GetEffectType()
Get what type of effect the Effect is.
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.
bool IsParticleCurrentRotationRelativeToWorld()
Get the current orientation setting to be used by the managed Particle.
void AddAsChild(Object obj, vector local_pos, vector local_ori, bool force_rotation_to_world)
Helper method to attach to parent.
override vector GetCurrentPosition()
Get the current world position of the managed Particle.
void SetOrientation(vector ori)
Set orientation of the EffectParticle.
override vector GetCurrentLocalPosition()
Get the current local position of the managed Particle.
int m_ParticleID
The ID in the ParticleList to create Particle from.
override void SetCurrentLocalPosition(vector pos, bool updateCached=true)
Set the current local position of the managed Particle.
void SetCurrentParticleID(int id)
Sets the id of the particle to be used.
vector m_Orientation
Orientation set by SetOrientation.
void CheckLifeSpan()
Was never called and probably should never be called.
Invokers for ParticleBase events, called from events.
Legacy way of using particles in the game.
void Stop()
Legacy function for backwards compatibility with 1.14 and below.