LuaAPI.wiki
changeset 554 b77ffc789732
parent 553 5faf837d73e5
child 555 b7dd77a7d356
equal deleted inserted replaced
553:5faf837d73e5 554:b77ffc789732
   546 
   546 
   547 <code language="lua">    vgear = AddVisualGear(...)
   547 <code language="lua">    vgear = AddVisualGear(...)
   548     DeleteVisualGear(vgear) -- Delete the newly created visual gear.</code>
   548     DeleteVisualGear(vgear) -- Delete the newly created visual gear.</code>
   549 
   549 
   550 
   550 
   551 === <tt>!SetVisualGearValues(vgUid, X, Y, dX, dY, Angle, Frame, FrameTicks, State, Timer, Tint)</tt> ===
   551 === <tt>!SetVisualGearValues(vgUid, X, Y, dX, dY, Angle, Frame, !FrameTicks, State, Timer, Tint)</tt> ===
   552 This allows manipulation of many of the visual gear values. Calling `GetVisualGearValues` first is recommended on most visual gears unless you are controlling all the key values. In the case of `vgtCircle`, the visual gear values are mapped as follows.  X, Y: position.  State: radius. Timer: Thickness.  !FrameTicks: pulsation speed (0 to disable).  dX, dY: min/max pulsation opacity (0-255). Tint: colour, RGBA.
   552 This allows manipulation of many of the visual gear values. Calling `GetVisualGearValues` first is recommended on most visual gears unless you are controlling all the key values. In the case of `vgtCircle`, the visual gear values are mapped as follows.  X, Y: position.  State: radius. Timer: Thickness.  !FrameTicks: pulsation speed (0 to disable).  dX, dY: min/max pulsation opacity (0-255). Tint: colour, RGBA.
   553 Most visual gears require little to no modification of parameters.
   553 Most visual gears require little to no modification of parameters.
   554 
   554 
   555 Example:
   555 Example:
   556 
   556