Code Block |
---|
{
"componentName" : "particle"
, "position" : <Vector>
, "width" : <Float>
, "height" : <Float>
, "linearVelocity" : <Vector>
, "angularVelocity" : <Float>
, "angle" : <Float>
, "fixedRotation" : <Bool>
, "allowSleep" : <Bool>
, "positionZ" : <Float>
, "gravity" : <Vector>
, "maxLifeSeconds" : <Float>
} |
Overview
- Adds a particle effect to the scene
Properties
"position" : <Vector>
"positionX" : <Float>
"positionY" : <Float>
"positionZ" : <Float>
"angle" : <Float>
"angularVelocity" : <Float>
"linearVelocity" : <Vector>
"gravity" : <Vector>
Events
- Listeners
- activeChange
Remarks
- Handles pooled object
- Path is relative to configuration directory
config/animations/animation.json