Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.ParticleEmitter:add

C๐Ÿท๏ธ ParticleEmitter

Part of StarfallEx namespace

๐Ÿ”— External
ParticleEmitter:add(material, position, startSize, endSize, startLength, endLength, startAlpha, endAlpha, dieTime)
View on GitHub|lua/starfall/libs_cl/particle.lua:103
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Creates a new Particle with the given material and position.

Parameters

NameTypeDescription
materialMaterialThe material object to set the particle
positionVectorThe position to create the particle
startSizenumberSets the initial size value of the particle.
endSizenumberSets the size of the particle that it will reach when it dies.
startLengthnumberSets the initial length value of the particle.
endLengthnumberSets the length of the particle that it will reach when it dies.
startAlphanumberSets the initial alpha value of the particle.
endAlphanumberSets the alpha value of the particle that it will reach when it dies.
dieTimenumberSets the time where the particle will be removed. (0-60)

Returns

TypeDescription
ParticleA Particle object

Examples

No examples available.

Used In

No usages found in the codebase.