Open Asterune
ParticleEmitter

ParticleEmitter

Emits and simulates textured particles.

Creatable
Instance.new("ParticleEmitter")
Inherits
Instance
Replication
Standard

Behavior

ParticleEmitter emits and simulates textured particles.

Summary

Members47
Properties41
Methods5
Events1

Properties

Acceleration

ParticleEmitter.Acceleration: Vector3 = Vector3.new(0, 0, 0)

The acceleration applied to particles, in studs per second squared.

Bounciness

ParticleEmitter.Bounciness: number = 0.4

The restitution used when particles bounce from geometry.

Brightness

ParticleEmitter.Brightness: number = 1

The brightness multiplier applied to the rendered particles or strip.

CollisionFriction

ParticleEmitter.CollisionFriction: number = 0.2

The reduction in tangential particle velocity at collision.

CollisionMode

Whether colliding particles bounce, die, stick, or ignore geometry.

Color

ParticleEmitter.Color: Color3 = Color3.new(1, 1, 1)

The color applied when rendering this instance.

ColorSequence

ParticleEmitter.ColorSequence: ColorSequence

The color distribution along the effect.

Drag

ParticleEmitter.Drag: number = 0

The rate at which particle velocity is reduced.

EmissionDirection

ParticleEmitter.EmissionDirection: Enum.NormalId = Enum.NormalId.Top

The direction in which particles are initially emitted.

EmitFromSurface

ParticleEmitter.EmitFromSurface: boolean = false

Whether particles spawn on the surface of the emission shape.

Enabled

ParticleEmitter.Enabled: boolean = true

Whether the emitter continuously spawns particles at Rate. Existing particles continue until their lifetime expires.

FlipbookFramerate

ParticleEmitter.FlipbookFramerate: NumberRange = NumberRange.new(1, 1)

The rate at which particle atlas frames advance.

FlipbookLayout

The grid dimensions of the particle texture atlas.

FlipbookMode

The playback mode used to select atlas frames.

FlipbookStartRandom

ParticleEmitter.FlipbookStartRandom: boolean = false

Whether each particle begins on a randomly selected atlas frame.

Lifetime

ParticleEmitter.Lifetime: number = 2

The duration for which a particle or trail segment remains visible, in seconds.

LightEmission

ParticleEmitter.LightEmission: number = 0

The self-illumination contribution of the effect.

LightInfluence

ParticleEmitter.LightInfluence: number = 1

The amount of scene lighting applied to the rendered effect.

LockedToPart

ParticleEmitter.LockedToPart: boolean = false

Whether existing particles move with the emitter's parent.

Operator

ParticleEmitter.Operator: string = ""

The ParticleOperator used to update particle behavior.

OperatorError

ParticleEmitter.OperatorError: string? = ""

The latest particle-operator error, or nil if no error is available.

OperatorParameters

ParticleEmitter.OperatorParameters: string = "[]"

The serialized parameter values supplied to the particle operator.

Orientation

The particle billboard orientation relative to the camera or velocity.

Preset

The built-in particle settings preset applied to the emitter.

Rate

ParticleEmitter.Rate: number = 20

The number of particles emitted per second during continuous emission.

Seed

ParticleEmitter.Seed: number = 0

The seed used to generate the procedural pattern.

Shader

ParticleEmitter.Shader: ParticleOperator? = nil

The SurfaceShader used to shade this material.

Size

ParticleEmitter.Size: number = 1

The particle size used for rendering.

SizeSequence

ParticleEmitter.SizeSequence: NumberSequence

The particle size distribution over normalized particle lifetime.

Speed

ParticleEmitter.Speed: number = 4

The initial emission speed of new particles, in studs per second.

SpeedRange

ParticleEmitter.SpeedRange: NumberRange

The range from which initial particle speeds are sampled.

SubEmitter

ParticleEmitter.SubEmitter: ParticleEmitter? = nil

The secondary emitter triggered by particle events.

SubEmitterCount

ParticleEmitter.SubEmitterCount: number = 4

The number of secondary particles emitted for each triggering event.

SubEmitterTrigger

The particle event that triggers the secondary emitter.

Texture

ParticleEmitter.Texture: Content = "astasset://textures/particles/sparkles_main.dds"

The content identifier of the texture used by this instance.

TransparencySequence

ParticleEmitter.TransparencySequence: NumberSequence

The transparency distribution along the effect.

VelocityInheritance

ParticleEmitter.VelocityInheritance: number = 0

The fraction of the parent body's velocity added to new particles.

VelocitySpread

ParticleEmitter.VelocitySpread: number = 0

The spread applied to initial particle velocity.

VolumetricEmission

ParticleEmitter.VolumetricEmission: number = 0

The contribution of particles to volumetric emission.

WorldCollision

ParticleEmitter.WorldCollision: boolean = false

Whether particles collide with world geometry.

ZOffset

ParticleEmitter.ZOffset: number = 0

The depth offset applied when rendering the effect.

Methods

Clear

ParticleEmitter:Clear(): ()

Removes all live particles from this emitter.

Emit

ParticleEmitter:Emit(particleCount: number?): ()

Emits the specified number of particles immediately. This does not enable continuous emission.

GetExecutionGroup

ParticleEmitter:GetExecutionGroup(): ExecutionGroup?

Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.

GetOperatorParameter

ParticleEmitter:GetOperatorParameter(index: number): (number, number, number, number)

Returns the value of a particle operator parameter.

SetOperatorParameter

ParticleEmitter:SetOperatorParameter(index: number, value: number | boolean | Vector2 | Vector3 | Color3 | { number }): ()

Sets a parameter used by a particle operator.

Events

OnEmitRequested

ParticleEmitter.OnEmitRequested: RBXScriptSignal

Callback invoked for a particle emission request.

Inherited members

Inherited47

Instance