Struct SortedParticle
public struct SortedParticle : IComparable<SortedParticle>
- Implements
- Inherited Members
Constructors
SortedParticle(Particle, float)
public SortedParticle(Particle particle, float sortIndex)
Parameters
Fields
Particle
public readonly Particle Particle
Field Value
SortIndex
public readonly float SortIndex
Field Value
Methods
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current instance.
Returns
- bool
true if
obj
and this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
Operators
operator ==(SortedParticle, SortedParticle)
public static bool operator ==(SortedParticle left, SortedParticle right)
Parameters
left
SortedParticleright
SortedParticle
Returns
operator >(SortedParticle, SortedParticle)
public static bool operator >(SortedParticle left, SortedParticle right)
Parameters
left
SortedParticleright
SortedParticle
Returns
operator >=(SortedParticle, SortedParticle)
public static bool operator >=(SortedParticle left, SortedParticle right)
Parameters
left
SortedParticleright
SortedParticle
Returns
operator !=(SortedParticle, SortedParticle)
public static bool operator !=(SortedParticle left, SortedParticle right)
Parameters
left
SortedParticleright
SortedParticle
Returns
operator <(SortedParticle, SortedParticle)
public static bool operator <(SortedParticle left, SortedParticle right)
Parameters
left
SortedParticleright
SortedParticle
Returns
operator <=(SortedParticle, SortedParticle)
public static bool operator <=(SortedParticle left, SortedParticle right)
Parameters
left
SortedParticleright
SortedParticle