SCNVector3.Clamp Method

Definition

Overloads

Clamp(SCNVector3, SCNVector3, SCNVector3)

Clamps the components of vec to be between min and max.

Clamp(SCNVector3, SCNVector3, SCNVector3, SCNVector3)

Clamps the components of vec to be between min and max and stores the result in result.

Clamp(SCNVector3, SCNVector3, SCNVector3)

Clamps the components of vec to be between min and max.

public static SceneKit.SCNVector3 Clamp (SceneKit.SCNVector3 vec, SceneKit.SCNVector3 min, SceneKit.SCNVector3 max);
static member Clamp : SceneKit.SCNVector3 * SceneKit.SCNVector3 * SceneKit.SCNVector3 -> SceneKit.SCNVector3

Parameters

Returns

SCNVector3

Applies to

Clamp(SCNVector3, SCNVector3, SCNVector3, SCNVector3)

Clamps the components of vec to be between min and max and stores the result in result.

public static void Clamp (ref SceneKit.SCNVector3 vec, ref SceneKit.SCNVector3 min, ref SceneKit.SCNVector3 max, out SceneKit.SCNVector3 result);
static member Clamp :  *  *  *  -> unit

Parameters

result
SCNVector3

Applies to