logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct ModelAnimatorTransitionCreator.TransitionCondition

    An optional condition to seed a new transition with — a parameter name, comparison mode and threshold, the same triple AnimatorStateTransition.AddCondition takes.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.Editor.AnimationHub.Authoring
    Assembly: Serenity.AnimationHub.Editor.dll
    Syntax
    public readonly struct ModelAnimatorTransitionCreator.TransitionCondition

    Constructors

    TransitionCondition(string, AnimatorConditionMode, float)

    Declaration
    public TransitionCondition(string parameterName, AnimatorConditionMode mode, float threshold = 0)
    Parameters
    Type Name Description
    string parameterName
    AnimatorConditionMode mode
    float threshold

    Fields

    Mode

    Declaration
    public readonly AnimatorConditionMode Mode
    Field Value
    Type Description
    AnimatorConditionMode

    ParameterName

    Declaration
    public readonly string ParameterName
    Field Value
    Type Description
    string

    Threshold

    Declaration
    public readonly float Threshold
    Field Value
    Type Description
    float
    In this article
    © 2026 Serenity. All Rights Reserved