Vector4d.Clamp Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Clamp(Vector4d, Vector4d, Vector4d) | |
Clamp(Vector4d, Vector4d, Vector4d, Vector4d) |
Clamp a vector to the given minimum and maximum vectors |
Clamp(Vector4d, Vector4d, Vector4d)
Clamp(Vector4d, Vector4d, Vector4d, Vector4d)
Clamp a vector to the given minimum and maximum vectors
public static void Clamp (ref OpenTK.Vector4d vec, ref OpenTK.Vector4d min, ref OpenTK.Vector4d max, out OpenTK.Vector4d result);
static member Clamp : * * * -> unit
Parameters
- vec
- Vector4d
Input vector
- min
- Vector4d
Minimum vector
- max
- Vector4d
Maximum vector
- result
- Vector4d
The clamped vector