This wiki is archived from 2021-09-05
Particle System Reference: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 19: | Line 19: | ||
== Particle System == | == Particle System == | ||
The group of particle emitters. | The group of particle emitters. | ||
{| class="wikitable" style="width:100%" | {| class="wikitable" style="width:100%; background:white" | ||
|- | |- | ||
! style="width:100px;text-align: left" | Field Name | ! style="width:100px;text-align: left" | Field Name | ||
! style="text-align: left" | Field Type (default value) - | ! style="text-align: left" | Field Type (default value) - Description | ||
{{template:pfx_spec_row | emitters | array | [] | The list of emitter objects in the system.}} | {{template:pfx_spec_row | emitters | array | [] | The list of emitter objects in the system.}} | ||
{{template:pfx_spec_row | color | color | [1.0, 1.0, 1.0, 1.0] | A system wide color multiplier. Value is RGBA linear float color values in a JSON array.}} | {{template:pfx_spec_row | color | color | [1.0, 1.0, 1.0, 1.0] | A system wide color multiplier. Value is RGBA linear float color values in a JSON array.}} | ||
Line 29: | Line 29: | ||
== Emitter System == | == Emitter System == | ||
Defines the position and movement behavior of particles. | Defines the position and movement behavior of particles. | ||
{| class="wikitable" style="width:100%; background:white" | |||
|- | |||
! style="width:100px;text-align: left" | Field Name | |||
! style="text-align: left" | Field Type (default value) - Description | |||
{{template:pfx_spec_row | spec | object | | The particle spec definition. }} | |||
{{template:pfx_spec_row | type | string | "POSITION" | Defines the shape of the particle spawn positions, and how the <code>offsetRange''*''</code> keys are interpreted. }} | |||
|- | |||
| colspan="2" style="text-align:center" | <code>"POSITION"</code>, <code>"SPHEROID"</code>, <code>"SHELL"</code>, <code>"EMITTER"</code>, <code>"CYLINDER_X"</code>, <code>"CYLINDER_Y"</code>, <code>"CYLINDER_Z"</code> | |||
|} |
Revision as of 09:40, 14 February 2016
File:Titans-icon.png Planetary Annihilation Titans & Classic Particle Effect System Reference
Work in progress, go here.
Glossary
// Particle System { "emitters": [{ "spec" : {<particle properties>}, <emitter properties> }], "color": <global color multiplier> }
Particle System
The group of particle emitters.
Field Name | Field Type (default value) - Description |
---|---|
emitters
|
array ( [] )The list of emitter objects in the system. |
color
|
color ( [1.0, 1.0, 1.0, 1.0] )A system wide color multiplier. Value is RGBA linear float color values in a JSON array. |
Emitter System
Defines the position and movement behavior of particles.
Field Name | Field Type (default value) - Description |
---|---|
spec
|
object ( )The particle spec definition. |
type
|
string ( "POSITION" )Defines the shape of the particle spawn positions, and how the offsetRange* keys are interpreted.
|
"POSITION" , "SPHEROID" , "SHELL" , "EMITTER" , "CYLINDER_X" , "CYLINDER_Y" , "CYLINDER_Z"
|