Click or drag to resize
FloatRangeGetPercentageInRange Method
Gets the percentage of the specified value in the range.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public float GetPercentageInRange(
	float value
)

Parameters

value
Type: SystemSingle
Value.

Return Value

Type: Single
The percentage of the specified value in the range. If Range is 0, then this method will return either Mathf.Infinity or Mathf.NegativeInfinity.
See Also