Class AnimationHubRowKeys
Builds the stable row keys the Animation Hub window uses for expansion state, and that
ModelAnimationValidator anchors its findings to. Lives in Discovery rather than Window so a
pure validator can name the row a finding belongs to without depending on presentation code — the key
scheme is domain vocabulary (which Animator, which layer, which state) shared by the validator and by
whatever draws it.
Inheritance
AnimationHubRowKeys
Assembly: Serenity.AnimationHub.Editor.dll
Syntax
public static class AnimationHubRowKeys
Fields
RowKeySegmentSeparator
Separator every row key is joined with. Shared so a lookup that parses a key back into its
segments — AnimationHubIssueIndex's ancestor walk — never drifts from how one is built.
Declaration
public const string RowKeySegmentSeparator = "::"
Field Value
Methods
BuildAnimatorKey(string)
Row key for an Animator, by its path from the model's root.
Declaration
public static string BuildAnimatorKey(string gameObjectPath)
Parameters
| Type |
Name |
Description |
| string |
gameObjectPath |
|
Returns
BuildClipKey(string, string)
Row key for a clip in the model's flat clip list.
Declaration
public static string BuildClipKey(string assetPath, string clipName)
Parameters
Returns
BuildLayerKey(string, string)
Row key for one of an Animator's layers.
Declaration
public static string BuildLayerKey(string animatorKey, string layerName)
Parameters
Returns
BuildParameterKey(string, string)
Row key for one parameter, nested under its Animator's parameters group.
Declaration
public static string BuildParameterKey(string parametersGroupKey, string parameterName)
Parameters
| Type |
Name |
Description |
| string |
parametersGroupKey |
|
| string |
parameterName |
|
Returns
BuildParametersGroupKey(string)
Row key for the foldable "Parameters (N)" group under an Animator.
Declaration
public static string BuildParametersGroupKey(string animatorKey)
Parameters
| Type |
Name |
Description |
| string |
animatorKey |
|
Returns
BuildProceduralActionKey(string)
Row key for one entry in the profile's effective Actions list, by its asset path.
Declaration
public static string BuildProceduralActionKey(string assetPath)
Parameters
| Type |
Name |
Description |
| string |
assetPath |
|
Returns
BuildProceduralComponentsKey()
Row key for the Procedural Animator tab's Components summary row.
Declaration
public static string BuildProceduralComponentsKey()
Returns
BuildProceduralLayerKey(string)
Row key for one entry in the profile's effective Layers list, by its asset path.
Declaration
public static string BuildProceduralLayerKey(string assetPath)
Parameters
| Type |
Name |
Description |
| string |
assetPath |
|
Returns
BuildProceduralRootKey()
Root row key for the whole Procedural Animator tab — every PE row key is a descendant of
this one, so AnimationHubIssueIndex.WorstSeverity on this key alone reports the tab's worst
finding for its severity dot.
Declaration
public static string BuildProceduralRootKey()
Returns
BuildProceduralStateKeyKey(string)
Row key for one state key reachable from the profile's rules, by its asset path.
Declaration
public static string BuildProceduralStateKeyKey(string assetPath)
Parameters
| Type |
Name |
Description |
| string |
assetPath |
|
Returns
BuildProfileKey()
Row key for the Procedural Animator tab's Profile row.
Declaration
public static string BuildProfileKey()
Returns
BuildRowKey(params string[])
Builds a stable expansion-state key by joining the given path segments.
Declaration
public static string BuildRowKey(params string[] segments)
Parameters
| Type |
Name |
Description |
| string[] |
segments |
|
Returns
BuildRuleKey(string)
Row key for one entry in the profile's Rules list, by its asset path.
Declaration
public static string BuildRuleKey(string assetPath)
Parameters
| Type |
Name |
Description |
| string |
assetPath |
|
Returns
BuildStateKey(string, string)
Row key for a state within a layer.
Declaration
public static string BuildStateKey(string layerKey, string statePath)
Parameters
Returns
BuildTransitionKey(string, int)
Row key for a transition within a layer, by its position — a transition carries no name of
its own to key by.
Declaration
public static string BuildTransitionKey(string layerKey, int transitionIndex)
Parameters
| Type |
Name |
Description |
| string |
layerKey |
|
| int |
transitionIndex |
|
Returns