Difference between revisions of "Template:LSL Function/position/ja"
Jump to navigation
Jump to search
(Created page with "{{LSL Injection Test}}<noinclude> このテンプレートは、位置に関するパラメーター(オフセット、位置、ポイントなど)の説明を指定する...") |
m |
||
Line 1: | Line 1: | ||
{{LSL Injection Test}}<noinclude> | {{LSL Injection Test}}<noinclude> | ||
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==== | ====TODO==== | ||
* | * add clamping flag and verbiage for out of region/range coordinates. | ||
</noinclude>{{#if: | </noinclude>{{#if: | ||
Line 11: | Line 11: | ||
{{#if:{{{local|}}}| | {{#if:{{{local|}}}| | ||
{{#vardefine:p_{{{1|}}}_desc| | {{#vardefine:p_{{{1|}}}_desc|position in {{HoverLink|Viewer coordinate frames#Region|Origin is the origin of the region which {{String|owns}} the object.|region}} or [[Viewer coordinate frames#Local|local coordinates]] depending upon the situation{{{desc|}}}}} | ||
{{#vardefine:p_{{{1|}}}_hover| | {{#vardefine:p_{{{1|}}}_hover|position in region or local coordinates depending upon the situation{{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}} | ||
| | | | ||
{{#ifeq:{{{1|}}}|point| | {{#ifeq:{{{1|}}}|point| | ||
{{#vardefine:p_{{{1|}}}_desc|{{HoverLink|Viewer coordinate frames#Region| | {{#vardefine:p_{{{1|}}}_desc|A point in {{HoverLink|Viewer coordinate frames#Region|Origin is the origin of the region which {{String|owns}} the object.|region-local}} space{{#ifeq:{{{region|}}}|noZ| (z component is ignored)}}{{{desc|}}}}} | ||
{{#vardefine:p_{{{1|}}}_hover| | {{#vardefine:p_{{{1|}}}_hover|A point in region-local space{{#ifeq:{{{region|}}}|noZ| (z component is ignored)}}{{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}} | ||
| | | | ||
{{#vardefine:p_{{{1|}}}_desc|{{HoverLink|Viewer coordinate frames#Region| | {{#vardefine:p_{{{1|}}}_desc|position in {{HoverLink|Viewer coordinate frames#Region|Origin is the origin of the region which {{String|owns}} the object.|region coordinates}}{{#ifeq:{{{region|}}}|noZ| (z component is ignored)}}{{{desc|}}}}} | ||
{{#vardefine:p_{{{1|}}}_hover| | {{#vardefine:p_{{{1|}}}_hover|position in region coordinates{{#ifeq:{{{region|}}}|noZ| (z component is ignored)}}{{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}} | ||
}} | }} | ||
Line 39: | Line 39: | ||
| | | | ||
{{#vardefine:p_{{{1|}}}_desc|[[Viewer coordinate frames#Local| | {{#vardefine:p_{{{1|}}}_desc|position in [[Viewer coordinate frames#Local|local coordinates]]{{{desc|}}}}} | ||
{{#vardefine:p_{{{1|}}}_hover| | {{#vardefine:p_{{{1|}}}_hover|position in local coordinates{{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}} | ||
}} | }} |
Latest revision as of 15:47, 22 November 2023
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.