Difference between revisions of "Template:LSL Function/offset"
Jump to navigation
Jump to search
m (Created page with "{{LSL Injection Test}}<noinclude> </noinclude>{{#if: {{#vardefine:p_{{{1|}}}_desc|offset relative to the {{#switch:{{{local|}}}|*|=prim's|#default={{{local|}}}|object=object's}}…") |
m |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{LSL Injection Test}}<noinclude> | {{LSL Injection Test}}<noinclude></noinclude>{{#if: | ||
</noinclude>{{#if: | |||
{{#vardefine:p_{{{1|}}}_desc|offset relative to the {{#switch:{{{local|}}}|*|=prim's|#default={{{local|}}}|object=object's}} position and expressed in [[Viewer coordinate frames#Local|local coordinates]]{{{desc|}}}}} | {{#vardefine:p_{{{1|}}}_desc|offset relative to the {{#switch:{{{local|}}}|*|=prim's|#default={{{local|}}}|object=object's}} position and expressed in [[Viewer coordinate frames#Local|local coordinates]]{{#if:{{{dead|}}}| and is completely ignored.}}{{{desc|}}}}} | ||
{{#vardefine:p_{{{1|}}}_hover|offset relative to the {{#switch:{{{local|}}}|*|=prim's|#default={{{local|}}}|object=object's}} position and expressed in local coordinates{{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}} | {{#vardefine:p_{{{1|}}}_hover|offset relative to the {{#switch:{{{local|}}}|*|=prim's|#default={{{local|}}}|object=object's}} position and expressed in local coordinates{{#if:{{{dead|}}}| and is completely ignored.}}{{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}} | ||
{{#if:{{{dead|}}}|{{#vardefine:caveats|{{#var:caveats}} | |||
*{{LSLP|{{{1|}}}}} functionality {{#switch:{{{dead|}}}|never=has not been implemented|*|#default=has been removed}}, any value provided is completely ignored. For future proofing purposes, you should use a [[ZERO_VECTOR]] for it's value.}} | |||
}} | |||
{{#if:{{{sim|}}}{{{region|}}}| | |||
{{#vardefine:header_footnote|{{#var:header_footnote}}{{PBR}} | |||
The requested position needs to be in the same region.}} | |||
}} | |||
{{#if:{{{noZ|}}}| | |||
{{#vardefine:header_footnote|{{#var:header_footnote}}{{PBR}} | |||
Only the {{LSLP|x}} and {{LSLP|y}} coordinates in {{LSLP|offset}} are important, the {{lSLP|z}} component is ignored.}} | |||
}} | |||
}}<noinclude> | }}<noinclude> |
Latest revision as of 11:08, 18 June 2012
var | value |
---|---|
desc | offset relative to the prim's position and expressed in local coordinates |
hover | offset relative to the prim's position and expressed in local coordinates |