logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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
    object
    AnimationHubRowKeys
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Editor.AnimationHub.Discovery
    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
    Type Description
    string

    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
    Type Description
    string

    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
    Type Name Description
    string assetPath
    string clipName
    Returns
    Type Description
    string

    BuildLayerKey(string, string)

    Row key for one of an Animator's layers.

    Declaration
    public static string BuildLayerKey(string animatorKey, string layerName)
    Parameters
    Type Name Description
    string animatorKey
    string layerName
    Returns
    Type Description
    string

    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
    Type Description
    string

    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
    Type Description
    string

    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
    Type Description
    string

    BuildProceduralComponentsKey()

    Row key for the Procedural Animator tab's Components summary row.

    Declaration
    public static string BuildProceduralComponentsKey()
    Returns
    Type Description
    string

    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
    Type Description
    string

    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
    Type Description
    string

    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
    Type Description
    string

    BuildProfileKey()

    Row key for the Procedural Animator tab's Profile row.

    Declaration
    public static string BuildProfileKey()
    Returns
    Type Description
    string

    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
    Type Description
    string

    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
    Type Description
    string

    BuildStateKey(string, string)

    Row key for a state within a layer.

    Declaration
    public static string BuildStateKey(string layerKey, string statePath)
    Parameters
    Type Name Description
    string layerKey
    string statePath
    Returns
    Type Description
    string

    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
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved