Class CRange
A float range: minimum and maximum.
public class CRange : IDisposable
- Inheritance
-
CRange
- Implements
- Inherited Members
Constructors
CRange()
public CRange()
CRange(float, float)
public CRange(float min, float max)
Parameters
CRange(CRange)
Copy-construct: a deep copy of other (the C++ copy constructor).
public CRange(CRange other)
Parameters
otherCRange
Properties
Max
The maximum.
public float Max { get; set; }
Property Value
Min
The minimum.
public float Min { get; set; }
Property Value
Methods
Dispose()
Release the native object now. Optional: the finalizer releases it on
collection anyway - dispose (or using) when you want native memory back
promptly.
public virtual void Dispose()
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Reference-identity hash (the C++ type has no hash to mirror).
public override int GetHashCode()
Returns
Operators
operator ==(CRange?, CRange?)
public static bool operator ==(CRange? l, CRange? r)
Parameters
Returns
operator !=(CRange?, CRange?)
public static bool operator !=(CRange? l, CRange? r)