Summary
A list of items in the
Animancer.Editor.TransitionLibraries.TransitionLibraryWindow organised by group.- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor .TransitionLibraries - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["TransitionGroupCache"]
class Type type-node
Syntax
public class TransitionGroupCache
Properties
| Name | Value | Summary |
|---|---|---|
| Count | int |
The total number of items in this cache.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Gather |
void |
Gathers the items from the specified library.
|
| Gather |
void |
Gathers the items from the specified library.
|
| GetGroup |
TransitionGroup |
Returns the group containing the item at the specified `itemIndex`.
|
| GetItem |
Object |
Returns the item at the specified `itemIndex`.
|
| GroupToItemIndex |
int |
Converts the index of a group to its index in the item list.
|
| ItemToGroupIndex |
int |
Converts the `index` to a value for the
Animancer.Editor.TransitionLibraries.TransitionGroup.Index,
meaning it skips any items inside groups.
|
| ItemToSourceIndex |
int |
Converts the index of an item to its index in the source data,
i.e. the
Animancer.TransitionLibraries.TransitionLibraryDefinition.Transitions
of Animancer.Editor.TransitionLibraries.TransitionLibraryEditorDataInternal.TransitionGroups.
|
| Transition |
int |
Converts the index of a transition to its index in the item list.
|
| TryGet |
bool |
Tries to get the item at the specified `itemIndex`.
|
| ValidateGroups |
void |
Ensures that the `groups` don't overlap and are within valid bounds.
static
|