SITransformation.SetRotationFromXYZAngles

説明

この変換の回転部分について、X、Y、Z の角(ラジアン)を設定します。

C#構文

SITransformation.SetRotationFromXYZAngles( SIVector3 in_pXYZAngles );

スクリプト構文

SITransformation.SetRotationFromXYZAngles( in_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

rotAngles.Set 1.5, 0.0, 0.0

t1.SetRotationFromXYZAngles rotAngles

関連項目

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