Vector3 Clamp( Vector3 otherMin, Vector3 otherMax )

Summary

Returns a vector each axis of which is clamped to between the 2 given vectors. Basically clamps a point to an Axis Aligned Bounding Box (AABB).

Vector3 Clamp( float min, float max )

Summary

Returns a vector each axis of which is clamped to given min and max values.

static Vector3 Clamp( Vector3 value, Vector3 min, Vector3 max )

Summary

Restricts a vector between a minimum and a maximum value.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.