WeatherMakerPlayerControllerScriptClampAngle Method |
Clamp angle
Namespace:
DigitalRuby.WeatherMaker
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 value - max
- Type: SystemSingle
Max value
Return Value
Type:
SingleClamped angle
See Also