logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AnimationHubAuthoringPromptState

    Which row's inline prompt (Add/Rename State, Add/Rename Parameter, Add Transition, Set Layer Weight) is open, and its buffered field values. At most one prompt is open at a time — opening a second replaces the first, an accepted simplification for this phase's inline-field authoring (no modal text-entry dialog exists in this codebase to reuse instead). A single shared state (rather than one class per prompt shape) keeps that "at most one" rule enforced by construction; OpenForRowKey is given a prompt-specific derived key (not the bare row key) whenever a row can open more than one kind of prompt — see AnimationHubUnityTabGui's "+ Transition"/"Set Weight" row for why.

    Inheritance
    object
    AnimationHubAuthoringPromptState
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Editor.AnimationHub.Window
    Assembly: Serenity.AnimationHub.Editor.dll
    Syntax
    public sealed class AnimationHubAuthoringPromptState

    Constructors

    AnimationHubAuthoringPromptState()

    Declaration
    public AnimationHubAuthoringPromptState()

    Fields

    ClipAmplitude

    Declaration
    public float ClipAmplitude
    Field Value
    Type Description
    float

    ClipDurationSeconds

    Declaration
    public float ClipDurationSeconds
    Field Value
    Type Description
    float

    ClipLoop

    Declaration
    public bool ClipLoop
    Field Value
    Type Description
    bool

    ConditionMode

    Declaration
    public AnimatorConditionMode ConditionMode
    Field Value
    Type Description
    AnimatorConditionMode

    ConditionParameterName

    Declaration
    public string ConditionParameterName
    Field Value
    Type Description
    string

    ConditionThreshold

    Declaration
    public float ConditionThreshold
    Field Value
    Type Description
    float

    ControllerAssetPath

    Declaration
    public string ControllerAssetPath
    Field Value
    Type Description
    string

    GenerateClipFolderPath

    The "+ Generate Clip" prompt's own fields — Text doubles as the new clip's name.

    Declaration
    public string GenerateClipFolderPath
    Field Value
    Type Description
    string

    LayerIndex

    Declaration
    public int LayerIndex
    Field Value
    Type Description
    int

    LayerWeight

    Declaration
    public float LayerWeight
    Field Value
    Type Description
    float

    OpenForRowKey

    Declaration
    public string OpenForRowKey
    Field Value
    Type Description
    string

    ParameterName

    The parameter being renamed (Add Parameter reads/writes only Text for the new name).

    Declaration
    public string ParameterName
    Field Value
    Type Description
    string

    ParameterType

    Declaration
    public AnimatorControllerParameterType ParameterType
    Field Value
    Type Description
    AnimatorControllerParameterType

    Preset

    Declaration
    public ModelClipCreator.ClipPreset Preset
    Field Value
    Type Description
    ModelClipCreator.ClipPreset

    SourceStatePath

    Add Transition's source state path, or AnyStateSourceToken; the destination reuses StatePath.

    Declaration
    public string SourceStatePath
    Field Value
    Type Description
    string

    StatePath

    Declaration
    public string StatePath
    Field Value
    Type Description
    string

    Text

    Declaration
    public string Text
    Field Value
    Type Description
    string

    UseCondition

    Declaration
    public bool UseCondition
    Field Value
    Type Description
    bool
    In this article
    © 2026 Serenity. All Rights Reserved