Properties
Vector3
|
Determines the global-axis acceleration of all alive particles, measured in studs per second squared |
float
|
ColorSequence
|
Determines the color of all particles emit over their individual lifetimes |
float
|
Determines the rate at which particles will lose half their speed through exponential decay |
NormalId
|
Determines the face towards which particles will be emit |
bool
|
Determines whether particles ought to be emit |
NumberRange
|
string
|
ParticleFlipbookLayout
|
ParticleFlipbookMode
|
bool
|
NumberRange
|
Defines a random range of ages for newly emit particles |
float
|
Determines how much particles’ colors are blended with the colors behind them |
float
|
Determines how much particles are influenced by the the environment light |
bool
|
Determines whether the particles rigidly move with the part they’re being emitted from. |
ParticleOrientation
|
Specifies how to orient particles |
float
|
Determines the number of particles emit per second |
NumberRange
|
Determines the range of angular speeds emitted particles, measured in degrees per second |
NumberRange
|
Determines the range of rotations in degrees for a newly emit particles |
ParticleEmitterShape
|
ParticleEmitterShapeInOut
|
float
|
ParticleEmitterShapeStyle
|
NumberSequence
|
Determines the world size over individual particles’ lifetimes |
NumberRange
|
Determines the random range of speeds a new particle will have when emit, measured in studs per second |
Vector2
|
Determines the angles at which particles may be randomly emit, measured in degrees |
NumberSequence
|
Content
|
Determines the image rendered on particle billboards |
float
|
NumberSequence
|
Determines the transparency of particles over their individual lifetimes |
float
|
Determines how much of the parent’s velocity is inherited by particles when emitted |
float
[NotReplicated]
[Deprecated]
|
Determines how offset a particle can be fired from the local emitter direction of its parent |
float
|
Determines the forward-backward render position of particles; used to control what particles render on top/bottom |
bool
|
Determines if an |
string
[ReadOnly]
[NotReplicated]
|
A read-only string representing the class this |
int
[Hidden]
[ReadOnly]
[NotReplicated]
[Deprecated]
|
The cost of saving the instance using data persistence. |
string
|
A non-unique identifier of the |
Instance
[NotReplicated]
|
Determines the hierarchical parent of the |
bool
[Hidden]
|
A deprecated property that used to protect |
int64
[Hidden]
[NotReplicated]
|
bool
[Hidden]
[NotReplicated]
[Deprecated]
|
string
[ReadOnly]
[NotReplicated]
[Deprecated]
|
Functions
void
|
Clears all particles that have been emit |
void
|
Emits a given number of particles |
void
|
This function destroys all of an |
Instance
|
Create a copy of an object and all its descendants, ignoring objects that are not |
void
|
Sets the |
Instance
|
Returns the first ancestor of the |
Instance
|
Returns the first ancestor of the |
Instance
|
Returns the first ancestor of the |
Instance
|
Returns the first child of the |
Instance
|
Returns the first child of the |
Instance
|
Returns the first child of the |
Instance
|
Returns the first descendant found with the given |
Actor
|
Returns the Actor associated with the Instance, usually the first Actor ancestor |
Variant
|
Returns the attribute which has been assigned to the given name |
RBXScriptSignal
|
Returns an event that fires when the given attribute changes |
Dictionary
|
Returns a dictionary of string → variant pairs for each of the |
Objects
|
Returns an array containing all of the |
string
[NotBrowsable]
|
Returns a coded string of the |
Array
[CustomLuaState]
|
Returns an array containing all of the descendants of the instance |
string
|
Returns a string describing the |
RBXScriptSignal
|
Get an event that fires when a given property of an object changes. |
bool
[CustomLuaState]
|
Returns true if an |
bool
|
Returns true if an |
bool
|
Returns true if an |
void
[Deprecated]
|
Sets the object’s Parent to nil, and does the same for all its descendants. |
void
|
Sets the attribute with the given name to the given value |
Instance
[CustomLuaState]
[CanYield]
|
Returns the child of the |
Objects
[Deprecated]
|
Returns an array of the object’s children. |
Instance
[Deprecated]
|
void
[Deprecated]
|
Instance
[Deprecated]
|
Objects
[Deprecated]
|
bool
[Deprecated]
[CustomLuaState]
|
bool
[Deprecated]
|
void
[Deprecated]
|
Events
RBXScriptSignal
|
Fires when the |
RBXScriptSignal
|
Fires whenever an attribute is changed on the |
RBXScriptSignal
|
Fired immediately after a property of an object changes. |
RBXScriptSignal
|
Fires after an object is parented to this |
RBXScriptSignal
|
Fires after a child is removed from this |
RBXScriptSignal
|
Fires after a descendant is added to the |
RBXScriptSignal
|
Fires immediately before a descendant of the |
RBXScriptSignal
|
Fires immediately before the instance is destroyed via |
RBXScriptSignal
[Deprecated]
|
Code Samples
Creating a Particle Emitter from Scratch
This rather lengthy code sample shows how every property of a ParticleEmitter can be set, including DataType/NumberRange, DataType/NumberSequence and DataType/ColorSequence properties. Below is how the ParticleEmitter should after every property is set. Try playing around with the different properties to customize how the effect looks!