Click or drag to resize
FloatRange Structure
A struct for describing a range of Singles.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public struct FloatRange : IPropertyBackingFieldCompatible<FloatRange>, 
	IPropertyBackingFieldCompatible, ICloneable, IEquatable<FloatRange>

The FloatRange type exposes the following members.

Constructors
  NameDescription
Public methodFloatRange
Initializes a new instance of the FloatRange struct.
Top
Methods
  NameDescription
Public methodClone
Clone this instance.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current FloatRange.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(FloatRange)
Determines whether the specified FloatRange is equal to the current FloatRange.
Public methodEvaluate
Evaluate the range at the specified percentage.
Public methodGetHashCode
Serves as a hash function for a FloatRange object.
(Overrides ValueTypeGetHashCode.)
Public methodGetPercentageInRange
Gets the percentage of the specified value in the range.
Public methodGetSerializedPropertiesHash
Gets a hash value that is based on the values of the serialized properties of this instance.
Public methodToString
Returns a String that represents the current FloatRange.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberMultiply(Single, FloatRange)
Multiplies the specified FloatRange by the specified scalar value.
Public operatorStatic memberMultiply(FloatRange, Single)
Multiplies the specified FloatRange by the specified scalar value.
Top
Properties
  NameDescription
Public propertyMax
Gets the maximum value of the range.
Public propertyMin
Gets the minimum value of the range.
Public propertyRange
Gets the size of the range.
Top
See Also