Table of Contents

Struct SortedParticle

Namespace
Stride.Particles.Sorters
Assembly
Stride.Particles.dll
public struct SortedParticle : IComparable<SortedParticle>
Implements
Inherited Members

Constructors

SortedParticle(Particle, float)

public SortedParticle(Particle particle, float sortIndex)

Parameters

particle Particle
sortIndex float

Fields

Particle

public readonly Particle Particle

Field Value

Particle

SortIndex

public readonly float SortIndex

Field Value

float

Methods

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The 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 SortedParticle
right SortedParticle

Returns

bool

operator >(SortedParticle, SortedParticle)

public static bool operator >(SortedParticle left, SortedParticle right)

Parameters

left SortedParticle
right SortedParticle

Returns

bool

operator >=(SortedParticle, SortedParticle)

public static bool operator >=(SortedParticle left, SortedParticle right)

Parameters

left SortedParticle
right SortedParticle

Returns

bool

operator !=(SortedParticle, SortedParticle)

public static bool operator !=(SortedParticle left, SortedParticle right)

Parameters

left SortedParticle
right SortedParticle

Returns

bool

operator <(SortedParticle, SortedParticle)

public static bool operator <(SortedParticle left, SortedParticle right)

Parameters

left SortedParticle
right SortedParticle

Returns

bool

operator <=(SortedParticle, SortedParticle)

public static bool operator <=(SortedParticle left, SortedParticle right)

Parameters

left SortedParticle
right SortedParticle

Returns

bool