TransitionGroupCache Class

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
GatherTransitionsAndGroups(TransitionAssetBase[], List<TransitionGroup>) void
Gathers the items from the specified library.
GatherTransitionsAndGroups(TransitionAssetBase[], TransitionLibraryEditorDataInternal) void
Gathers the items from the specified library.
GetGroup(int) TransitionGroup
Returns the group containing the item at the specified index.
GetItem(int) Object
Returns the item at the specified index.
IndexOf(Object) int
Returns the index of the specified `item` in this cache.
ItemToGroupIndex(int) int
Converts the `index` to a value for the Animancer.Editor.TransitionLibraries.TransitionGroup.Index, meaning it skips any items inside groups.
SortGroups(List<TransitionGroup>) void
Sorts the `groups` by Animancer.Editor.TransitionLibraries.TransitionGroup.Index and removes any nulls.
static
TryGet(int, Object) bool
Tries to get the item at the specified index.