Urho.Vector4.Clamp Method

Clamp a vector to the given minimum and maximum vectors

Syntax

public static Vector4 Clamp (Vector4 vec, Vector4 min, Vector4 max)

Parameters

vec
Input vector
min
Minimum vector
max
Maximum vector

Returns

The clamped vector

Requirements

Namespace: Urho
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0