Difference between revisions of "LlRot2Left/ja"

From Second Life Wiki
Jump to navigation Jump to search
m (カテゴリ変更)
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
|func=llRot2Left|sort=Rot2Left
|func=llRot2Left|sort=Rot2Left
|return_type=vector|p1_type=rotation|p1_name=q
|return_type=vector|p1_type=rotation|p1_name=q
|func_footnote
|func_desc={{HoverText|ローカル Y 軸|プリム左方}} の {{HoverLink|Viewer_coordinate_frames/ja#Global|グローバル位置システム|地球}} に対する方向を計算します。<br/>
|func_desc
|return_text='''q''' で定義される左ベクトル、言い換えれば、ローカルの正の Y 方向を指す単位ベクトル
|return_text=例えばローカルの正数Y方向を指す単位ユニットのように、qによって定義される左方ベクトル
|func_footnote=プリムのローカル{{Wikipedia|断面|横断面|lang=ja}}の方向を知るのに便利です。Y 軸は常にこのローカル横断面に対して垂直ですので。
|spec
|spec=計算上同じ結果となります:
<source lang="lsl2">ret = llVecNorm(<0., 1., 0.> * q);</source>
'''q''' が単位ベクトルであるとわかっているなら、シンプルにできます:
<source lang="lsl2">ret = <0., 1., 0.> * q;</source>
|caveats
|caveats
|constants
|constants
|examples
|examples
|helpers
|helpers
|also_functions={{LSL DefineRow||[[llRot2Up/ja|llRot2Up]]|}}
|also_functions={{LSL DefineRow||{{LSLG/ja|llRot2Up}}|}}
{{LSL DefineRow||[[llRot2Fwd/ja|llRot2Fwd]]|}}
{{LSL DefineRow||{{LSLG/ja|llRot2Fwd}}|}}
{{LSL DefineRow||[[llRot2Axis/ja|llRot2Axis]]|}}
{{LSL DefineRow||{{LSLG/ja|llRot2Axis}}|}}
{{LSL DefineRow||[[llRot2Angle/ja|llRot2Angle]]|}}
{{LSL DefineRow||{{LSLG/ja|llRot2Angle}}|}}
|also_tests
|also_tests
|also_events
|also_events
|also_articles
|also_articles
|notes
|notes
|cat1=Rotation/ja
|cat1=Rotation
|cat2
|cat2
|cat3
|cat3
|cat4
|cat4
}}
}}

Latest revision as of 14:15, 25 February 2016

要約

関数: vector llRot2Left( rotation q );

ローカル Y 軸地球 に対する方向を計算します。

q で定義される左ベクトル、言い換えれば、ローカルの正の Y 方向を指す単位ベクトルを vector で返します。

• rotation q

プリムのローカル"Wikipedia logo"横断面の方向を知るのに便利です。Y 軸は常にこのローカル横断面に対して垂直ですので。

仕様

計算上同じ結果となります:

ret = llVecNorm(<0., 1., 0.> * q);

q が単位ベクトルであるとわかっているなら、シンプルにできます:

ret = <0., 1., 0.> * q;

サンプル

関連項目

関数

•  llRot2Up
•  llRot2Fwd
•  llRot2Axis
•  llRot2Angle

特記事項

Search JIRA for related Issues

Signature

function vector llRot2Left( rotation q );
この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。