Difference between revisions of "ParticleSystem:setSpin"

m
Line 7: Line 7:
 
=== Arguments ===
 
=== Arguments ===
 
{{param|number|min|The minimum spin (radians per second).}}
 
{{param|number|min|The minimum spin (radians per second).}}
{{param|number|max (min)|The maximum size (radians per second).}}
+
{{param|number|max (min)|The maximum spin (radians per second).}}
 
{{param|number|variation (1)|The degree of variation (0 meaning no variation and 1 meaning full variation between start and end).}}
 
{{param|number|variation (1)|The degree of variation (0 meaning no variation and 1 meaning full variation between start and end).}}
 
=== Returns ===
 
=== Returns ===

Revision as of 20:52, 8 January 2011

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 spin (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

Other Languages