Part of StarfallEx namespace
๐ External
ParticleEmitter:add(material, position, startSize, endSize, startLength, endLength, startAlpha, endAlpha, dieTime)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Creates a new Particle with the given material and position.
Parameters
| Name | Type | Description |
|---|---|---|
material | Material | The material object to set the particle |
position | Vector | The position to create the particle |
startSize | number | Sets the initial size value of the particle. |
endSize | number | Sets the size of the particle that it will reach when it dies. |
startLength | number | Sets the initial length value of the particle. |
endLength | number | Sets the length of the particle that it will reach when it dies. |
startAlpha | number | Sets the initial alpha value of the particle. |
endAlpha | number | Sets the alpha value of the particle that it will reach when it dies. |
dieTime | number | Sets the time where the particle will be removed. (0-60) |
Returns
| Type | Description |
|---|---|
Particle | A Particle object |
Examples
No examples available.
Used In
No usages found in the codebase.