Vector2Range.Clamp

Method in Vector2Range

Declaration

public Vector2 Clamp(Vector2 value)

Description

Clamps a value to the range.

Parameters

valueThe value to clamp.

Returns

Vector2The clamped value.