Click or drag to resize

DemoScriptClampAngle Method

Clamp an angle

Namespace:  DigitalRuby.ThunderAndLightning
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static float ClampAngle(
	float angle,
	float min,
	float max
)

Parameters

angle
Type: SystemSingle
Angle
min
Type: SystemSingle
Min angle
max
Type: SystemSingle
Max angle

Return Value

Type: Single
Clamped angle
See Also