SortedParticle Struct
Namespace: Stride.Particles.Sorters
Assembly: Stride.Particles.dll
public struct SortedParticle : IComparable<SortedParticle>
|
Improve this Doc
View Source
Constructors
SortedParticle(Particle, Single)
public SortedParticle(Particle particle, float sortIndex)
Parameters
Type |
Name |
Description |
Particle |
particle |
|
System.Single |
sortIndex |
|
|
Improve this Doc
View Source
Fields
Particle
public readonly Particle Particle
Field Value
SortIndex
public readonly float SortIndex
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Methods
Equals(Object)
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
GetHashCode()
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
|
Improve this Doc
View Source
Operators
Equality(SortedParticle, SortedParticle)
public static bool operator ==(SortedParticle left, SortedParticle right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GreaterThan(SortedParticle, SortedParticle)
public static bool operator>(SortedParticle left, SortedParticle right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GreaterThanOrEqual(SortedParticle, SortedParticle)
public static bool operator >=(SortedParticle left, SortedParticle right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(SortedParticle, SortedParticle)
public static bool operator !=(SortedParticle left, SortedParticle right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
LessThan(SortedParticle, SortedParticle)
public static bool operator <(SortedParticle left, SortedParticle right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
LessThanOrEqual(SortedParticle, SortedParticle)
public static bool operator <=(SortedParticle left, SortedParticle right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Explicit Interface Implementations
IComparable<SortedParticle>.CompareTo(SortedParticle)
int IComparable<SortedParticle>.CompareTo(SortedParticle other)
Parameters
Returns
Type |
Description |
System.Int32 |
|
System.ValueType.ToString()
Extension Methods