Click or drag to resize

Vector2Clamp Method

Clamps the vector components between a minimum and a maximum values.

Namespace:  Lumiscaphe.Workshop.Interop
Assembly:  Lumiscaphe.Workshop.Interop (in Lumiscaphe.Workshop.Interop.dll) Version: 21.1.16.0
Syntax
public Vector2 Clamp(
	float min,
	float max
)

Parameters

min
Type: SystemSingle
The minimum value.
max
Type: SystemSingle
The maximum value.

Return Value

Type: Vector2
The clamped vector components between the minimum and maximum values.
Version Information

Lumiscaphe Workshop SDK

Supported in: 7.0 release 1
See Also