SITransformation.GetRotationXYZAngles

説明

3D ベクトル vAngles に格納されているこの変換の回転部分から、X、Y、Z の角(ラジアン)を抽出します。

C#構文

SITransformation.GetRotationXYZAngles( SIVector3 io_pXYZAngles );

スクリプト構文

SITransformation.GetRotationXYZAngles( io_pXYZAngles );

パラメータ

パラメータ タイプ 説明
in_pXYZAngles SIVector3 回転の x、Y、Z の角(ラジアン)からなる 3D ベクトル

VBScript の例

dim t1, rotAngles

' Create transformation.

set t1 = XSIMath.CreateTransform

' Create 3D Vector.

set rotAngles = XSIMath.CreateVector3

'do something on t1

t1.GetRotationXYZAngles rotAngles

関連項目

SITransformation.SetRotationFromXYZAngles SITransformation.RotX SITransformation.RotY SITransformation.RotZ SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion