SIVector3.MinComponent

説明

このベクトルの最小(符号付き)コンポーネントの値を戻します。これが絶対最小数ではなく、符号付き最小数の場合、x=10.0、y=-5.0、z=1.0 のベクトルは 1.0ではなく-5.0を戻します。

C#構文

Double SIVector3.MinComponent();

スクリプト構文

oFloat = SIVector3.MinComponent();

戻り値

Float ポイント値(このベクトルの最小コンポーネントの値)

JScript の例

// Create 3D vectors.

var v1 = XSIMath.CreateVector3( 10.0, -5.0, 1.0 );

// Note that this is actually a method, so it 

// takes the method syntax in JScript

var min = v1.MinComponent();

Application.LogMessage( min );

// Expected result

//INFO : -5

関連項目

SIVector3.MinComponentIndex SIVector3.MaxComponent SIVector3.MaxComponentIndex SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion