Summary
[
System.SerializableAttribute]
Details about how to modify a transition when it comes from a specific source.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.TransitionLibraries - Interfaces
-
- IEquatable
<Transition Modifier >Definition
- IEquatable
- Base Types
-
- ValueType
graph BT
Type-->Base0["ValueType"]
Type-.->Interface0["IEquatable<TransitionModifierDefinition>"]
Type["TransitionModifierDefinition"]
class Type type-node
Syntax
[Serializable]
public struct TransitionModifierDefinition : ValueType, IEquatable<TransitionModifierDefinition>
Remarks
Multiple of these can be used to build a
Animancer.TransitionLibraries.TransitionModifierGroup at runtime.
Documentation:
Transition Libraries
Attributes
| Type | Description |
|---|---|
| Serializable |
Constructors
| Name | Summary |
|---|---|
| Transition |
Creates a new Animancer.TransitionLibraries.TransitionModifierDefinition. |
Properties
| Name | Value | Summary |
|---|---|---|
| FadeDuration | float |
The fade duration for this override to use.
|
| FromIndex | int |
The index of the source transition in the
Animancer.TransitionLibraries.TransitionLibraryDefinition. |
| ToIndex | int |
The index of the destination transition in the
Animancer.TransitionLibraries.TransitionLibraryDefinition. |
Methods
| Name | Value | Summary |
|---|---|---|
| Equals |
bool |
Are all fields in this object equal to the equivalent in `obj`?
|
| Equals |
bool |
Are all fields in this object equal to the equivalent fields in `other`?
|
| GetHashCode |
int |
Returns a hash code based on the values of this object's fields.
|
| ToString |
string |
Creates a new string describing this override.
|
| WithFadeDuration |
Transition |
Creates a copy of this override with the specified
Animancer.TransitionLibraries.TransitionModifierDefinition.FadeDuration. |
| WithIndices |
Transition |
Creates a copy of this override with the specified
Animancer.TransitionLibraries.TransitionModifierDefinition.FromIndex and Animancer.TransitionLibraries.TransitionModifierDefinition.ToIndex. |
Operators
| Name | Value | Summary |
|---|---|---|
| operator != |
bool | |
| operator == |
bool |