SITransformation.SetScaling

説明

この変換のスケーリングを、SIVector3から値を取得して設定します。

スクリプト 構文

SITransformation.SetScaling( in_pScale );

パラメータ

パラメータ タイプ 詳細
in_pScale SIVector3 X、Y、Z のスケーリング値を含む3D ベクトル

VBScript の例

dim t1, inScale, outScale
' Create transformation.
set t1 = XSIMath.CreateTransform
' Create 3D vectors.
set inScale = XSIMath.CreateVector3(1.0, 2.0, 3.0)
set outScale = XSIMath.CreateVector3
t1.SetScaling inScale
t1.GetScaling outScale

関連項目

SITransformation.GetScaling SITransformation.SclX SITransformation.SclY SITransformation.SclZ SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion