Difference between revisions of "ParticleSystem:setOffset"

(add new func)
 
Line 16: Line 16:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Set the offset position which the particle sprite is rotated around.}}
 
{{#set:Description=Set the offset position which the particle sprite is rotated around.}}
 +
== Other Languages ==
 +
{{i18n|ParticleSystem:setOffset}}

Revision as of 19:22, 18 November 2010

Set the offset position which the particle sprite is rotated around.

If this function is not used, the particles rotate around their center.

Function

Synopsis

ParticleSystem:setOffset( x, y )

Arguments

number x
The x coordinate of the rotation offset.
number y
The y coordinate of the rotation offset.

Returns

Nothing.

See Also

Other Languages