SIVector3.MulByRotationInPlace

説明

このベクトルに回転r を右から掛け、置き換えます(this = this . r)

スクリプト 構文

SIVector3.MulByRotationInPlace( r );

パラメータ

パラメータ タイプ 詳細
r SIRotation オペランド回転

VBScript の例

dim v1, rotAngles, r1
' Create 3D vectors.
set v1 = XSIMath.CreateVector3
set rotAngles = XSIMath.CreateVector3
' Create Rotation.
set r1 = XSIMath.CreateRotation
v1.Set 1.0, 0.0, 0.0
rotAngles.Set 0.0, 0.0, 0.7853981633974483
r1.SetFromXYZAngles rotAngles
v1.MulByRotationInPlace r1

関連項目

SIVector3.MulByRotation SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion