Sets or returns a Double as the (i)th value of the vector, where x is i=0. Value is the SIVector3 object's default property, which means that you can call the method by just using the parenthesis and leaving out the property name, for example v(i).
Parameter | Type | Description |
---|---|---|
Index | SIVector3 | index of vector value |
var oVector = XSIMath.CreateVector3() ; oVector.X = 5 ; // oVector.Value(0) is equivalent to .X property Application.LogMessage( oVector.Value( 0 ) ) ; // This is a shortform Application.LogMessage( oVector(0) ) ; //Output: //INFO : 5 //INFO : 5 |