Clamps this vector components to the range [MinValue, MaxValue].
SIVector3.ClampInPlace( MinValue, MaxValue ); |
Parameter | Type | Description |
---|---|---|
MinValue | Floating Point value | Lower bound of the clamping domain |
MaxValue | Floating Point value | Higher bound of the clamping domain |
dim v1 ' Create 3D vectors. set v1 = XSIMath.CreateVector3 v1.Set -1010.0, 1020.0, 1030.0 v1.ClampInPlace -1000.0, 1000.0 |