Returns the maximum (signed) component value of this vector. Note that this is not the absolute maximum, but the signed maximum, so that a vector of x=-10.0, y=5.0, z=1.0 will return 5.0, not -10.0.
Double SIVector3.MaxComponent(); |
oFloat = SIVector3.MaxComponent(); |
Floating point value (maximum signed component value of this vector).
# Create 3D vectors. v1 = XSIMath.CreateVector3( -10.0, 5.0, 1.0 ) max = v1.MaxComponent() Application.LogMessage( max ) # Expected result #INFO : 5.0 |