NamedIndex Struct

Summary

[System.SerializableAttribute] A Animancer.StringAsset and int pair.
Assembly
Animancer.dll
Namespace
Animancer.TransitionLibraries
Interfaces
Base Types
  • ValueType
graph BT Type-->Base0["ValueType"] Type-.->Interface0["IComparable<NamedIndex>"] Type-.->Interface1["IEquatable<NamedIndex>"] Type["NamedIndex"] class Type type-node

Syntax

[Serializable]
public struct NamedIndex : ValueType, IComparable<NamedIndex>, IEquatable<NamedIndex>

Remarks

Documentation: Transition Libraries

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
NamedIndex(StringAsset, int) Creates a new Animancer.TransitionLibraries.NamedIndex.

Properties

Name Value Summary
Index int
The index.
Name StringAsset
The name.

Methods

Name Value Summary
CompareTo(NamedIndex) int
Compares the Animancer.TransitionLibraries.NamedIndex.Index then Animancer.TransitionLibraries.NamedIndex.Name.
Equals(NamedIndex) bool
Are all fields in this object equal to the equivalent fields in `other`?
Equals(Object) bool
Are all fields in this object equal to the equivalent in `obj`?
GetHashCode() int
Returns a hash code based on the values of this object's fields.
ToString() string
Describes this value.
With(int) NamedIndex
Creates a new Animancer.TransitionLibraries.NamedIndex.
With(StringAsset) NamedIndex
Creates a new Animancer.TransitionLibraries.NamedIndex.

Operators

Name Value Summary
operator !=(NamedIndex, NamedIndex) bool
operator ==(NamedIndex, NamedIndex) bool