Difference between revisions of "ParticleSystem:setOffset"

 
Line 1: Line 1:
 
Set the offset position which the particle sprite is rotated around.
 
Set the offset position which the particle sprite is rotated around.
 
 
If this function is not used, the particles rotate around their center.
 
If this function is not used, the particles rotate around their center.
 
== Function ==
 
== Function ==
Line 16: Line 15:
 
[[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.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|ParticleSystem:setOffset}}
 
{{i18n|ParticleSystem:setOffset}}

Latest revision as of 10:06, 25 March 2011

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