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

From Second Life Wiki
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|オブジェクトを{{HoverLink|Viewer coordinate frames#Region|オリジンはオブジェクトを所有するリージョンのオリジンです。|region}}または[[Viewer coordinate frames#Local|ローカル座標]]に配置する座標{{{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|オブジェクトを{{String|所有}}するリージョンのオリジンかローカル座標に配置する座標{{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}}
     {{#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|オリジンはオブジェクトを所有するリージョン。|region-local}}空間のポイント{{#ifeq:{{{region|}}}|noZ|(z成分は無視されます)}}{{{desc|}}}}}
       {{#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|&#32;(z component is ignored)}}{{{desc|}}}}}


       {{#vardefine:p_{{{1|}}}_hover|{{HoverLink|Viewer coordinate frames#Region|オリジンはオブジェクトを所有するリージョン。|region-local}}空間のポイント{{#ifeq:{{{region|}}}|noZ|(z成分は無視されます)}}{{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}}
       {{#vardefine:p_{{{1|}}}_hover|A point in region-local space{{#ifeq:{{{region|}}}|noZ|&#32;(z component is ignored)}}{{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}}


     |
     |


       {{#vardefine:p_{{{1|}}}_desc|{{HoverLink|Viewer coordinate frames#Region|オリジンはオブジェクトを所有するリージョン。|region coordinates}}{{#ifeq:{{{region|}}}|noZ|(z成分は無視されます)}}{{{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 coordinates}}{{#ifeq:{{{region|}}}|noZ|&#32;(z component is ignored)}}{{{desc|}}}}}


       {{#vardefine:p_{{{1|}}}_hover|{{HoverLink|Viewer coordinate frames#Region|オリジンはオブジェクトを所有するリージョン。|region coordinates}}{{#ifeq:{{{region|}}}|noZ|(z成分は無視されます)}}{{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}}
       {{#vardefine:p_{{{1|}}}_hover|position in region coordinates{{#ifeq:{{{region|}}}|noZ|&#32;(z component is ignored)}}{{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}}


     }}
     }}
Line 39: Line 39:
     |
     |


       {{#vardefine:p_{{{1|}}}_desc|[[Viewer coordinate frames#Local|ローカル座標]]における座標{{{desc|}}}}}
       {{#vardefine:p_{{{1|}}}_desc|position in [[Viewer coordinate frames#Local|local coordinates]]{{{desc|}}}}}


       {{#vardefine:p_{{{1|}}}_hover|ローカル座標における座標{{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}}
       {{#vardefine:p_{{{1|}}}_hover|position in local coordinates{{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}}


     }}
     }}

Latest revision as of 16: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.