Click or drag to resize
Ab4d.SharpEngine logo

Color3Clamp(Color3, Color3, Color3) Method

Restricts a value to be within a specified range.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public static Color3 Clamp(
	 in Color3 value,
	 in Color3 min,
	 in Color3 max
)

Parameters

value  Color3
The value to clamp.
min  Color3
The minimum value.
max  Color3
The maximum value.

Return Value

Color3
The clamped value.
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.Color3.Clamp(Ab4d.SharpEngine.Common.Color3@,Ab4d.SharpEngine.Common.Color3@,Ab4d.SharpEngine.Common.Color3@)"]

See Also