Table of Contents

Struct LayerPriority

Namespace
nadena.dev.ndmf.animator
public struct LayerPriority : IComparable<LayerPriority>, IEquatable<LayerPriority>
Implements
Inherited Members

Constructors

LayerPriority(int)

public LayerPriority(int priority)

Parameters

priority int

Fields

Default

public static LayerPriority Default

Field Value

LayerPriority

Methods

CompareTo(LayerPriority)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

public int CompareTo(LayerPriority other)

Parameters

other LayerPriority

An object to compare with this instance.

Returns

int

A value that indicates the relative order of the objects being compared. The return value has these meanings:

Value Meaning
Less than zero This instance precedes other in the sort order.
Zero This instance occurs in the same position in the sort order as other.
Greater than zero This instance follows other in the sort order.

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.

Equals(LayerPriority)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(LayerPriority other)

Parameters

other LayerPriority

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; 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 ==(LayerPriority, LayerPriority)

public static bool operator ==(LayerPriority a, LayerPriority b)

Parameters

a LayerPriority
b LayerPriority

Returns

bool

operator >(LayerPriority, LayerPriority)

public static bool operator >(LayerPriority a, LayerPriority b)

Parameters

a LayerPriority
b LayerPriority

Returns

bool

operator >=(LayerPriority, LayerPriority)

public static bool operator >=(LayerPriority a, LayerPriority b)

Parameters

a LayerPriority
b LayerPriority

Returns

bool

operator !=(LayerPriority, LayerPriority)

public static bool operator !=(LayerPriority a, LayerPriority b)

Parameters

a LayerPriority
b LayerPriority

Returns

bool

operator <(LayerPriority, LayerPriority)

public static bool operator <(LayerPriority a, LayerPriority b)

Parameters

a LayerPriority
b LayerPriority

Returns

bool

operator <=(LayerPriority, LayerPriority)

public static bool operator <=(LayerPriority a, LayerPriority b)

Parameters

a LayerPriority
b LayerPriority

Returns

bool