FastLineRendererDemoScriptClampAngle Method |
Clamp angle
Namespace:
DigitalRuby.FastLineRenderer
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static float ClampAngle(
float angle,
float min,
float max
)
Public Shared Function ClampAngle (
angle As Single,
min As Single,
max As Single
) As Single
public:
static float ClampAngle(
float angle,
float min,
float max
)
static member ClampAngle :
angle : float32 *
min : float32 *
max : float32 -> float32
Parameters
- angle
- Type: SystemSingle
Angle - min
- Type: SystemSingle
Min - max
- Type: SystemSingle
Max
Return Value
Type:
SingleClamped angle
See Also