Difference between revisions of "ParticleSystem:setSpin"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Sets the spin of the sprite.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 15: Line 15:
 
* [[parent::ParticleSystem]]
 
* [[parent::ParticleSystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Sets the spin of the sprite.}}

Revision as of 16:17, 14 February 2010

Sets the spin of the sprite.

Function

Synopsis

ParticleSystem:setSpin( min, max, variation )

Arguments

number min
The minimum spin (radians per second).
number max (min)
The maximum size (radians per second).
number variation (1)
The degree of variation (0 meaning no variation and 1 meaning full variation between start and end).

Returns

Nothing.

See Also