Difference between revisions of "ParticleSystem:setSize"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
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 ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 15: Line 16:
 
* [[parent::ParticleSystem]]
 
* [[parent::ParticleSystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Sets the size of the particle (1.0 being normal size).
 +
}}

Revision as of 16:17, 14 February 2010

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