Editar

Compartilhar via


SCNVector4.Clamp Method

Definition

Overloads

Clamp(SCNVector4, SCNVector4, SCNVector4)

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

Clamp(SCNVector4, SCNVector4, SCNVector4, SCNVector4)

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

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

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

result
SCNVector4

Applies to