Difference between revisions of "ParticleSystem:setSize"

Line 15: Line 15:
 
* [[parent::ParticleSystem]]
 
* [[parent::ParticleSystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Sets the size of the particle (1.0 being normal size).
+
{{#set:Description=Sets the size of the particle (1.0 being normal size).}}
}}
+
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|ParticleSystem:setSize}}
 
{{i18n|ParticleSystem:setSize}}

Revision as of 10:07, 25 March 2011

Sets the size of the particle (1.0 being normal size). The particles will grow/shrink from the starting size to the ending size. The variation affects starting size only.

Function

Synopsis

ParticleSystem:setSize( min, max, variation )

Arguments

number min
The minimum size (1.0 being normal size).
number max (min)
The maximum size (1.0 being normal size).
number variation (1)
The degree of variation (0 meaning no variation and 1 meaning full variation between start and end).

Returns

Nothing.

See Also


Other Languages