Difference between revisions of "Template:LSL Function/position"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 35: Line 35:
     {{#ifeq:{{{1|}}}|offset|
     {{#ifeq:{{{1|}}}|offset|


       {{#vardefine:p_{{{1|}}}_desc|offset relative to the object's center and expressed in [[Viewer coordinate frames#Local|local coordinates]]{{{desc|}}}}}
       {{#vardefine:p_{{{1|}}}_desc|offset relative to the prim's position and expressed in [[Viewer coordinate frames#Local|local coordinates]]{{{desc|}}}}}


       {{#vardefine:p_{{{1|}}}_hover|offset relative to the object's center and expressed in local coordinates{{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}}
       {{#vardefine:p_{{{1|}}}_hover|offset relative to the prim's position and expressed in local coordinates{{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}}


     |
     |

Revision as of 09:30, 16 June 2012

This template is to be used to specify setup the description for position like parameters (offsets, positions, points, etc.).

Right now it's pretty basic and easy to edit. I'm wondering if these functions should be in a position parameter specific category.

TODO

  • add clamping flag and verbiage for out of region/range coordinates.