SCNVector4.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(SCNVector4, SCNVector4, SCNVector4) |
Clamps the components of |
Clamp(SCNVector4, SCNVector4, SCNVector4, SCNVector4) |
Clamps the components of |
Clamp(SCNVector4, SCNVector4, SCNVector4)
Clamps the components of vec
to be between min
and max
.
public static SceneKit.SCNVector4 Clamp (SceneKit.SCNVector4 vec, SceneKit.SCNVector4 min, SceneKit.SCNVector4 max);
static member Clamp : SceneKit.SCNVector4 * SceneKit.SCNVector4 * SceneKit.SCNVector4 -> SceneKit.SCNVector4
Parameters
- vec
- SCNVector4
- min
- SCNVector4
- max
- SCNVector4
Returns
Applies to
Clamp(SCNVector4, SCNVector4, SCNVector4, SCNVector4)
Clamps the components of vec
to be between min
and max
and stores the result in result
.
public static void Clamp (ref SceneKit.SCNVector4 vec, ref SceneKit.SCNVector4 min, ref SceneKit.SCNVector4 max, out SceneKit.SCNVector4 result);
static member Clamp : * * * -> unit
Parameters
- vec
- SCNVector4
- min
- SCNVector4
- max
- SCNVector4
- result
- SCNVector4