[This is preliminary documentation and is subject to change.]
Assembly: cai-util (in cai-util.dll) Version: 0.5.0.0 (0.5.0.0)
|C#||Visual Basic||Visual C++|
The vector to truncate.
The maximum allowed length of the resulting vector.
Return ValueA vector with a length at or below the maximum length.
If the vector's length is longer than the specified value the length of the vector is scaled back to the specified length.
If the vector's length is shorter than the specified value, it is not changed.
This is a potentially costly method.