DayZ 1.24
|
Legacy way of using particles in the game. More...
Protected Member Functions | |
Playback | |
Methods regarding playing/stopping of particle | |
override void | PlayParticle (int particle_id=-1) |
Method to tell the particle to start playing. | |
override bool | PlayParticleEx (int particle_id=-1, int flags=0) |
Method to tell the particle to start playing. | |
void | Play (int particle_id=-1) |
Legacy function for backwards compatibility with 1.01 and below. | |
override bool | StopParticle (int flags=0) |
Method to tell the particle to stop playing. | |
void | Stop () |
Legacy function for backwards compatibility with 1.14 and below. | |
Properties and state | |
Obtain information or set properties regarding the state of the Particle | |
void | SetSource (int particle_id) |
Sets particle id. | |
int | GetParticleID () |
Gets particle id. | |
Object | GetDirectParticleEffect () |
Returns direct particle effect entity which is usually handled by this class 'Particle' if there is one. | |
Object | GetParticleParent () |
Returns the parent of this Particle if there is one. | |
bool | HasActiveParticle () |
Returns if there is any particle active. | |
int | GetParticleCount () |
Returns the total count of active particles in all emitors. | |
bool | IsRepeat () |
Returns whether there is a repeating particle. | |
float | GetMaxLifetime () |
Returns the approx. max lifetime. | |
Static Protected Member Functions | |
Create a particle (static) | |
You can create a particle either at some position, or create it as a child on some object. | |
static Particle | CreateOnObject (int particle_id, Object parent_obj, vector local_pos="0 0 0", vector local_ori="0 0 0", bool force_world_rotation=false) |
Creates a particle emitter and attaches it on the given object. | |
static Particle | Create (int particle_id, Object parent_obj, vector local_pos="0 0 0", vector local_ori="0 0 0") |
Legacy function for backwards compatibility. | |
static Particle | CreateInWorld (int particle_id, vector global_pos, vector global_ori="0 0 0", bool force_world_rotation=false) |
Creates a particle emitter on the given position. | |
static Particle | Create (int particle_id, vector global_pos, vector global_ori="0 0 0") |
Legacy function for backwards compatibility with 1.01 and below. | |
Static play on creation | |
You can use the following Play(...) functions to create and activate a particle in 1 line of your script. | |
static Particle | PlayOnObject (int particle_id, Object parent_obj, vector local_pos="0 0 0", vector local_ori="0 0 0", bool force_world_rotation=false) |
Creates a particle emitter, attaches it on the given object and activates it. | |
static Particle | Play (int particle_id, Object parent_obj, vector local_pos="0 0 0", vector local_ori="0 0 0") |
Legacy function for backwards compatibility with 1.01 and below. | |
static Particle | PlayInWorld (int particle_id, vector global_pos) |
Creates a particle emitter on the given position and activates it. | |
static Particle | Play (int particle_id, vector global_pos) |
Legacy function for backwards compatibility with 1.01 and below. | |
Private Member Functions | |
Misc | |
Various helpers | |
void | AddAsChild (Object parent, vector local_pos="0 0 0", vector local_ori="0 0 0", bool force_rotation_to_world=false) |
Attaches this particle onto some object. If null value is provided then the particle will be detached from the current parent. | |
Parameter API | |
Helpful methods for getting or setting parameters | |
void | SetParticleParam (int parameter_id, float value) |
Set the value of a parameter of all emitors in the particle. | |
void | SetParameter (int emitter, int parameter, float value) |
Set the value of a parameter of an emitor in the particle. | |
void | GetParameter (int emitter, int parameter, out float value) |
Get the value of a parameter of an emitor in the particle. | |
float | GetParameterEx (int emitter, int parameter) |
Get the value of a parameter of an emitor in the particle. | |
void | ScaleParticleParamFromOriginal (int parameter_id, float coef) |
Scales the given parameter on all emitors relatively to their ORIGINAL value. | |
void | ScaleParticleParam (int parameter_id, float coef) |
Scales the given parameter on all emitors relatively to their CURRENT value. | |
void | IncrementParticleParamFromOriginal (int parameter_id, float value) |
Increments the value of the given parameter relatively from the ORIGINAL value. | |
void | IncrementParticleParam (int parameter_id, float value) |
Increments the value of the given parameter relatively from the CURRENT value. | |
Generic data | |
Generic data for the Particle | |
int | m_ParticleID |
ID from ParticleList if assigned. | |
float | m_Lifetime |
Approx. remaining lifetime of particle. | |
bool | m_IsRepeat |
Whether this particle repeats. | |
bool | m_MarkedForDeletion |
Whether this particle is queued for deletion. | |
Wiggle API | |
Settings to make the Particle wiggle | |
Object | m_ParentObject |
Parent Object the Particle is child of. | |
Object | m_ParticleEffect |
The child object which contains the actual particle. | |
int | m_PreviousFrame |
DEPRECATED. | |
bool | m_WiggleProcessing |
Used for Wiggle API, to signal that wiggle API is currently doing work. | |
bool | m_ForceOrientationRelativeToWorld |
Used for Wiggle API, to restore after unparenting. | |
vector | m_DefaultOri |
Used for Wiggle API, to restore after unparenting. | |
vector | m_DefaultPos |
Used for Wiggle API, to restore after unparenting. | |
vector | m_DefaultWorldOri |
Used for Wiggle API, to restore after unparenting. | |
vector | m_DefaultWorldPos |
Used for Wiggle API, to restore after unparenting. | |
float | m_MaxOriWiggle |
Used for Wiggle API, Wiggle room [-m_MaxOriWiggle, m_MaxOriWiggle]. | |
float | m_MaxOriInterval |
Used for Wiggle API, Interval for wiggling [0, m_MaxOriInterval[. | |
ref Timer | m_RandomizeOri |
Used for Wiggle API, calls the Wiggle functionality. | |
vector | m_GlobalPosPreviousFrame |
DEPRECATED. | |
const int | MAX_EMITORS = 30 |
DEPRECATED. | |
void | Particle () |
ctor | |
bool | IsWiggling () |
Checks if particle is currently wiggling. | |
void | SetWiggle (float random_angle, float random_interval) |
Makes the particle change direction by random_angle every random_interval seconds. | |
void | StopWiggle () |
Stops randomized wiggle. | |
void | RandomizeOrientation () |
Randomizes a new orientation and applies it. | |
void | ParticleInit () |
Purely here so that it can be emptied in ParticleSource. | |
vector | RandWiggleVector () |
Helper to get a randomized wiggle vector. | |
float | RandWiggleFloat () |
Helper to get a randomized wiggle float value. | |
Misc Particle specific helpers | |
Functionality specific for Particle | |
void | CreateParticleEffect () |
Creates ParticleEffect child, called from UpdateState. | |
void | DestroyParticleEffect () |
Destroys ParticleEffect child, called from UpdateState. | |
override void | EOnFrame (IEntity other, float timeSlice) |
OnFrame update event decrementing the stored approx. lifetime and checking for deletion. | |
void | OnCheckAutoDelete () |
Creates ParticleEffect child, called from UpdateState. | |
void | OnToDelete () |
Called before deletion from OnCheckAutoDelete. | |
void | UpdateState () |
Creates/Destroys ParticleEffect child according to current state. | |
Legacy way of using particles in the game.
Definition at line 6 of file Particle.c.
|
inlineprivate |
ctor
Definition at line 61 of file Particle.c.
References ParticleInit().
|
inlineprivate |
Attaches this particle onto some object. If null value is provided then the particle will be detached from the current parent.
parent | Object Parent onto which this particle will be attached |
local_pos | vector Attachment position local to the parent (optional) |
local_ori | vector Orientation local to the parent (Pitch, Yawn, Roll in degrees) (Optional) |
force_rotation_to_world | bool Force rotation to be in WS (Optional) |
Definition at line 542 of file Particle.c.
References AddChild(), m_DefaultPos, m_ForceOrientationRelativeToWorld, m_ParentObject, m_ParticleEffect, and SetPosition().
Referenced by RandomizeOrientation().
|
inlinestaticprotected |
Legacy function for backwards compatibility.
Definition at line 104 of file Particle.c.
References CreateOnObject(), and particle_id.
|
inlinestaticprotected |
Legacy function for backwards compatibility with 1.01 and below.
Definition at line 129 of file Particle.c.
References CreateInWorld(), and particle_id.
|
inlinestaticprotected |
Creates a particle emitter on the given position.
particle_id | int Particle ID registered in ParticleList |
global_pos | Vector Position where the particel will be created |
global_ori | vector Orientation (Pitch, Yawn, Roll in degrees) (Optional) |
force_world_rotation | bool Forces particle's orientation to rotate relative to the world and not with the object (Optional) |
Particle
Created particle instance Definition at line 117 of file Particle.c.
References ECE_LOCAL, GetGame(), and particle_id.
Referenced by Create(), CreateOnObject(), and PlayInWorld().
|
inlinestaticprotected |
Creates a particle emitter and attaches it on the given object.
particle_id | int Particle ID registered in ParticleList |
parent_obj | Object Instance on which this particle will be attached |
local_pos | vector Attachment position local to the parent (Optional) |
local_ori | vector Orientation local to the parent (Pitch, Yawn, Roll in degrees) (Optional) |
force_world_rotation | bool Forces particle's orientation to rotate relative to the world and not with the object (Optional) |
Particle
Created particle instance Definition at line 88 of file Particle.c.
References CreateInWorld(), Error(), particle_id, and Vector().
Referenced by Create(), and PlayOnObject().
|
inlineprivate |
Creates ParticleEffect child, called from UpdateState.
Definition at line 422 of file Particle.c.
References AddChild(), ECE_LOCAL, ErrorEx, GetGame(), GetMaxLifetime(), GetObject(), ParticleList::GetParticleFullPath(), IsRepeat(), m_ForceOrientationRelativeToWorld, m_IsPlaying, m_IsRepeat, m_Lifetime, m_ParticleEffect, m_ParticleID, ReleaseObject(), and vector::Zero.
Referenced by UpdateState().
|
inlineprivate |
Destroys ParticleEffect child, called from UpdateState.
Definition at line 456 of file Particle.c.
References GetGame(), m_IsRepeat, m_ParticleEffect, and SetParameter().
Referenced by UpdateState().
OnFrame update event decrementing the stored approx. lifetime and checking for deletion.
Definition at line 471 of file Particle.c.
References m_Lifetime, and OnCheckAutoDelete().
|
inlineprotected |
Returns direct particle effect entity which is usually handled by this class 'Particle' if there is one.
Definition at line 302 of file Particle.c.
References m_ParticleEffect.
Referenced by FlammableBase::UpdateLight().
|
inlineprotected |
Returns the approx. max lifetime.
float
The largest lifetime sum among the emitors Definition at line 369 of file Particle.c.
References GetParticleEmitorCount(), GetParticleParm(), and m_ParticleEffect.
Referenced by CreateParticleEffect(), and OnCheckAutoDelete().
Get the value of a parameter of an emitor in the particle.
emitter | int The emitor to get the value from |
parameter | int The parameter to get the value from (enum EmitorParam) |
value | float The value |
Definition at line 617 of file Particle.c.
References GetParticleParm(), and m_ParticleEffect.
Get the value of a parameter of an emitor in the particle.
emitter | int The emitor to get the value from |
parameter | int The parameter to get the value from (enum EmitorParam) |
float
The value Definition at line 631 of file Particle.c.
References GetParticleParm(), and m_ParticleEffect.
|
inlineprotected |
Returns the total count of active particles in all emitors.
int
Total count of active particles Definition at line 333 of file Particle.c.
References m_ParticleEffect, and ParticleGetCount().
Referenced by OnCheckAutoDelete().
|
inlineprotected |
Gets particle id.
int
The last set Particle ID registered in ParticleList Definition at line 292 of file Particle.c.
References m_ParticleID.
Referenced by FlammableBase::UpdateParticle().
|
inlineprotected |
Returns the parent of this Particle if there is one.
Object
The registered parent or null Definition at line 311 of file Particle.c.
References m_ParentObject.
|
inlineprotected |
Returns if there is any particle active.
bool
Whether there is any particle active Definition at line 320 of file Particle.c.
References m_ParticleEffect, and ParticleHasActive().
Increments the value of the given parameter relatively from the CURRENT value.
parameter_id | int The parameter to adjust (enum EmitorParam) |
value | float The value to sum |
Definition at line 705 of file Particle.c.
References GetParticleEmitorCount(), GetParticleParm(), m_ParticleEffect, and SetParticleParm().
Increments the value of the given parameter relatively from the ORIGINAL value.
parameter_id | int The parameter to adjust (enum EmitorParam) |
value | float The value to sum |
Definition at line 685 of file Particle.c.
References GetParticleEmitorCount(), GetParticleParmOriginal(), m_ParticleEffect, and SetParticleParm().
|
inlineprotected |
Returns whether there is a repeating particle.
bool
whether there is a repeating particle Definition at line 345 of file Particle.c.
References GetParticleEmitorCount(), GetParticleParm(), and m_ParticleEffect.
Referenced by CreateParticleEffect(), and OnCheckAutoDelete().
|
inlineprivate |
Checks if particle is currently wiggling.
Definition at line 730 of file Particle.c.
References m_RandomizeOri.
Referenced by ParticleSource::OnParticleStop(), ParticleSource::OnParticleUnParented(), ParticleSource::SetWiggle(), and ParticleSource::StopWiggle().
|
inlineprivate |
Creates ParticleEffect child, called from UpdateState.
Definition at line 480 of file Particle.c.
References GetMaxLifetime(), GetParticleCount(), IsRepeat(), m_IsRepeat, m_Lifetime, m_MarkedForDeletion, m_ParticleEffect, OnParticleEnd(), OnParticleStop(), and OnToDelete().
Referenced by EOnFrame().
|
inlineprivate |
Called before deletion from OnCheckAutoDelete.
Definition at line 521 of file Particle.c.
Referenced by OnCheckAutoDelete().
|
inlineprotected |
Purely here so that it can be emptied in ParticleSource.
Definition at line 67 of file Particle.c.
References SetFlags().
Referenced by Particle().
|
inlinestaticprotected |
Legacy function for backwards compatibility with 1.01 and below.
Definition at line 162 of file Particle.c.
References particle_id, and PlayOnObject().
Legacy function for backwards compatibility with 1.01 and below.
Definition at line 184 of file Particle.c.
References particle_id, and PlayInWorld().
Legacy function for backwards compatibility with 1.01 and below.
particle_id | int Particle ID registered in ParticleList to start playing |
Definition at line 229 of file Particle.c.
References particle_id, and PlayParticle().
Creates a particle emitter on the given position and activates it.
particle_id | int Particle ID registered in ParticleList |
global_pos | Vector Position where the particel will be created |
Particle
Created particle instance Definition at line 173 of file Particle.c.
References CreateInWorld(), and particle_id.
Referenced by Play().
|
inlinestaticprotected |
Creates a particle emitter, attaches it on the given object and activates it.
particle_id | int Particle ID registered in ParticleList |
parent_obj | Object Instance on which this particle will be attached |
local_pos | vector Attachment position local to the parent (Optional) |
local_ori | vector Orientation local to the parent (Pitch, Yaw, Roll in degrees) (Optional) |
force_world_rotation | bool Forces particle's orientation to rotate relative to the world and not with the object (Optional) |
Particle
Created particle instance Definition at line 151 of file Particle.c.
References CreateOnObject(), and particle_id.
Referenced by Play().
Method to tell the particle to start playing.
particle_id | int Particle ID registered in ParticleList to start playing |
Definition at line 201 of file Particle.c.
References particle_id, and PlayParticleEx().
Referenced by Play().
Method to tell the particle to start playing.
particle_id | int Particle ID registered in ParticleList to start playing |
flags | int Flags to pass to the playing (None on this level) |
bool
Whether the particle successfully started Definition at line 213 of file Particle.c.
References OnParticleStart(), particle_id, SetSource(), and UpdateState().
Referenced by PlayParticle().
|
inlineprivate |
Randomizes a new orientation and applies it.
Definition at line 774 of file Particle.c.
References AddAsChild(), m_DefaultOri, m_DefaultPos, m_MaxOriInterval, m_ParentObject, m_RandomizeOri, m_WiggleProcessing, Math::RandomFloat(), and RandWiggleVector().
|
inlineprotected |
Helper to get a randomized wiggle float value.
Definition at line 802 of file Particle.c.
References m_MaxOriWiggle, and Math::RandomFloatInclusive().
Referenced by RandWiggleVector().
|
inlineprotected |
Helper to get a randomized wiggle vector.
Definition at line 794 of file Particle.c.
References RandWiggleFloat(), and Vector().
Referenced by RandomizeOrientation(), and ParticleSource::RandomizeOrientation().
Scales the given parameter on all emitors relatively to their CURRENT value.
parameter_id | int The parameter to adjust (enum EmitorParam) |
coef | float The multiplier to apply |
Definition at line 665 of file Particle.c.
References GetParticleEmitorCount(), GetParticleParm(), m_ParticleEffect, and SetParticleParm().
Scales the given parameter on all emitors relatively to their ORIGINAL value.
parameter_id | int The parameter to adjust (enum EmitorParam) |
coef | float The multiplier to apply |
Definition at line 646 of file Particle.c.
References GetParticleEmitorCount(), GetParticleParmOriginal(), m_ParticleEffect, and SetParticleParm().
Referenced by BroomBase::UpdateParticle(), and FlammableBase::UpdateParticle().
Set the value of a parameter of an emitor in the particle.
emitter | int The emitter to apply the new value to, -1 for all emitter |
parameter | int The parameter to apply the new value to (enum EmitorParam) |
value | float The value to apply |
Definition at line 603 of file Particle.c.
References m_ParticleEffect, and SetParticleParm().
Referenced by ManBase::ContaminatedParticleAdjustment(), CreateParticle(), DestroyParticleEffect(), ParticleNormalSmokeStart(), ParticleSmallSmokeStart(), PlayVFX(), ManBase::SetContaminatedEffectEx(), FlareSimulation::Simulate(), and FlareSimulation::TurnOffDistantLight().
Set the value of a parameter of all emitors in the particle.
parameter | int The parameter to apply the new value to (enum EmitorParam) |
value | float The value to apply |
Definition at line 589 of file Particle.c.
References m_ParticleEffect, and SetParticleParm().
Sets particle id.
particle_id | int Particle ID registered in ParticleList to start playing |
Definition at line 280 of file Particle.c.
References m_ParticleID, and particle_id.
Referenced by PlayParticleEx().
Makes the particle change direction by random_angle every random_interval seconds.
random_angle | float Will be the range [-random_angle, random_angle[ to wiggle between |
random_interval | float Will be the time range [0, random_interval] to wiggle next time |
Definition at line 742 of file Particle.c.
References CALL_CATEGORY_GAMEPLAY, m_MaxOriInterval, m_MaxOriWiggle, m_RandomizeOri, Math::RandomFloat(), and StopWiggle().
Referenced by FlareSimulation::OnActivation(), CupidsBoltSimulation::OnFire(), SmokeSimulation::OnFire(), Ammo_40mm_Smoke_ColorBase::OnVariablesSynchronized(), PlayVFX(), and Roadflare::UpdateActiveParticles().
|
inlineprotected |
Legacy function for backwards compatibility with 1.14 and below.
Definition at line 262 of file Particle.c.
References StopParticle().
Referenced by DynamicArea_Flare::EEDelete(), House::EEDelete(), BuildingSuper::EEDelete(), Ammo_40mm_Smoke_ColorBase::EEDelete(), ItemBase::EEDelete(), FlareSimulation::OnActivation(), FireworksLauncherClientEvent::OnExplode(), CupidsBoltSimulation::OnFire(), OnInventoryEnter(), FlammableBase::OnWorkStop(), ManBase::SetContaminatedEffectEx(), EffectParticle::Stop(), FlammableBase::StopAllParticles(), FlammableBase::UpdateParticle(), CupidsBoltSimulation::~CupidsBoltSimulation(), DestructionEffectBase::~DestructionEffectBase(), ~EasterEgg(), FlareSimulation::~FlareSimulation(), and SmokeSimulation::~SmokeSimulation().
Method to tell the particle to stop playing.
flags | int Flags to pass to the stopping (None on this level) |
bool
Whether the particle successfully stopped Definition at line 241 of file Particle.c.
References GetParent(), GetPosition, OnParticleStop(), SetPosition(), and UpdateState().
Referenced by Stop().
|
inlineprivate |
Stops randomized wiggle.
Definition at line 762 of file Particle.c.
References m_MaxOriInterval, m_MaxOriWiggle, and m_RandomizeOri.
Referenced by SetWiggle().
|
inlineprotected |
Creates/Destroys ParticleEffect child according to current state.
Definition at line 411 of file Particle.c.
References CreateParticleEffect(), DestroyParticleEffect(), m_IsPlaying, and m_ParticleEffect.
Referenced by PlayParticleEx(), and StopParticle().
|
private |
Used for Wiggle API, to restore after unparenting.
Definition at line 31 of file Particle.c.
Referenced by ParticleSource::OnParticleUnParented(), RandomizeOrientation(), ParticleSource::RandomizeOrientation(), ParticleSource::SetWiggle(), and ParticleSource::StopWiggle().
|
private |
Used for Wiggle API, to restore after unparenting.
Definition at line 33 of file Particle.c.
Referenced by AddAsChild(), ParticleSource::OnParticleUnParented(), RandomizeOrientation(), ParticleSource::RandomizeOrientation(), ParticleSource::SetWiggle(), and ParticleSource::StopWiggle().
|
private |
Used for Wiggle API, to restore after unparenting.
Definition at line 35 of file Particle.c.
Referenced by ParticleSource::OnParticleUnParented(), and ParticleSource::SetWiggle().
|
private |
Used for Wiggle API, to restore after unparenting.
Definition at line 37 of file Particle.c.
Referenced by ParticleSource::OnParticleUnParented(), and ParticleSource::SetWiggle().
|
private |
Used for Wiggle API, to restore after unparenting.
Definition at line 29 of file Particle.c.
Referenced by AddAsChild(), CreateParticleEffect(), ParticleSource::RandomizeOrientation(), ParticleSource::SetWiggle(), and ParticleSource::StopWiggle().
|
private |
DEPRECATED.
Definition at line 55 of file Particle.c.
|
protected |
Whether this particle repeats.
Definition at line 17 of file Particle.c.
Referenced by CreateParticleEffect(), DestroyParticleEffect(), and OnCheckAutoDelete().
|
protected |
Approx. remaining lifetime of particle.
Definition at line 15 of file Particle.c.
Referenced by CreateParticleEffect(), EOnFrame(), and OnCheckAutoDelete().
|
private |
Whether this particle is queued for deletion.
Definition at line 19 of file Particle.c.
Referenced by OnCheckAutoDelete().
|
private |
Used for Wiggle API, Interval for wiggling [0, m_MaxOriInterval[.
Definition at line 42 of file Particle.c.
Referenced by ParticleSource::OnParticleUnParented(), RandomizeOrientation(), ParticleSource::RandomizeOrientation(), SetWiggle(), ParticleSource::SetWiggle(), and StopWiggle().
|
private |
Used for Wiggle API, Wiggle room [-m_MaxOriWiggle, m_MaxOriWiggle].
Definition at line 40 of file Particle.c.
Referenced by ParticleSource::OnParticleUnParented(), RandWiggleFloat(), SetWiggle(), ParticleSource::SetWiggle(), and StopWiggle().
|
protected |
Parent Object the Particle is child of.
Definition at line 48 of file Particle.c.
Referenced by AddAsChild(), GetParticleParent(), ParticleSource::OnParticleParented(), ParticleSource::OnParticleUnParented(), and RandomizeOrientation().
|
protected |
The child object which contains the actual particle.
Definition at line 50 of file Particle.c.
Referenced by AddAsChild(), CreateParticleEffect(), DestroyParticleEffect(), GetDirectParticleEffect(), GetMaxLifetime(), GetParameter(), GetParameterEx(), GetParticleCount(), HasActiveParticle(), IncrementParticleParam(), IncrementParticleParamFromOriginal(), IsRepeat(), OnCheckAutoDelete(), ParticleSource::ParticleSource(), ScaleParticleParam(), ScaleParticleParamFromOriginal(), SetParameter(), SetParticleParam(), and UpdateState().
|
protected |
ID from ParticleList if assigned.
Definition at line 13 of file Particle.c.
Referenced by CreateParticleEffect(), GetParticleID(), and SetSource().
|
protected |
DEPRECATED.
Definition at line 53 of file Particle.c.
Used for Wiggle API, calls the Wiggle functionality.
Definition at line 44 of file Particle.c.
Referenced by IsWiggling(), ParticleSource::OnParticleStop(), RandomizeOrientation(), ParticleSource::RandomizeOrientation(), SetWiggle(), and StopWiggle().
|
private |
Used for Wiggle API, to signal that wiggle API is currently doing work.
Definition at line 27 of file Particle.c.
Referenced by ParticleSource::OnParticleUnParented(), RandomizeOrientation(), and ParticleSource::RandomizeOrientation().
DEPRECATED.
Definition at line 57 of file Particle.c.