| FloatRange Structure |
Namespace: Candlelight
[SerializableAttribute] public struct FloatRange : IPropertyBackingFieldCompatible<FloatRange>, IPropertyBackingFieldCompatible, ICloneable, IEquatable<FloatRange>
The FloatRange type exposes the following members.
| Name | Description | |
|---|---|---|
| FloatRange |
Initializes a new instance of the FloatRange struct.
|
| Name | Description | |
|---|---|---|
| Clone |
Clone this instance.
| |
| Equals(Object) |
Determines whether the specified Object is equal to the current
FloatRange.
(Overrides ValueTypeEquals(Object).) | |
| Equals(FloatRange) |
Determines whether the specified FloatRange is equal to the current FloatRange.
| |
| Evaluate |
Evaluate the range at the specified percentage.
| |
| GetHashCode |
Serves as a hash function for a FloatRange object.
(Overrides ValueTypeGetHashCode.) | |
| GetPercentageInRange |
Gets the percentage of the specified value in the range.
| |
| GetSerializedPropertiesHash |
Gets a hash value that is based on the values of the serialized properties of this instance.
| |
| ToString |
Returns a String that represents the current FloatRange.
(Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| Multiply(Single, FloatRange) |
Multiplies the specified FloatRange by the specified scalar value.
| |
| Multiply(FloatRange, Single) |
Multiplies the specified FloatRange by the specified scalar value.
|
| Name | Description | |
|---|---|---|
| Max |
Gets the maximum value of the range.
| |
| Min |
Gets the minimum value of the range.
| |
| Range |
Gets the size of the range.
|