docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BakeParameters<T>

    Class that holds bi-directional baking capabilities and curve bindings of a RigConstraint.

    Inheritance
    object
    BakeParameters<T>
    Implements
    IBakeParameters
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Animations.Rigging
    Assembly: Unity.Animation.Rigging.Editor.dll
    Syntax
    public abstract class BakeParameters<T> : IBakeParameters where T : IRigConstraint
    Type Parameters
    Name Description
    T

    The Type of RigConstraint the parameters belong to.

    Properties

    canBakeToConstraint

    Boolean used to determine if the RigConstraint can transfer motion to itself from the skeleton.

    Declaration
    public abstract bool canBakeToConstraint { get; }
    Property Value
    Type Description
    bool

    canBakeToSkeleton

    Boolean used to determine if the RigConstraint can transfer motion from itself to the skeleton

    Declaration
    public abstract bool canBakeToSkeleton { get; }
    Property Value
    Type Description
    bool

    Methods

    GetConstrainedCurveBindings(RigBuilder, T)

    Collects the editor curve bindings for all the properties that this RigConstraint modifies when transferring motion to this constraint.

    Declaration
    public abstract IEnumerable<EditorCurveBinding> GetConstrainedCurveBindings(RigBuilder rigBuilder, T constraint)
    Parameters
    Type Name Description
    RigBuilder rigBuilder

    The RigBuilder which the constraint is part of.

    T constraint

    The RigConstraint for which the bindings should be collected.

    Returns
    Type Description
    IEnumerable<EditorCurveBinding>

    GetSourceCurveBindings(RigBuilder, T)

    Collects the editor curve bindings for all the properties that this RigConstraint modifies when transferring motion to the skeleton.

    Declaration
    public abstract IEnumerable<EditorCurveBinding> GetSourceCurveBindings(RigBuilder rigBuilder, T constraint)
    Parameters
    Type Name Description
    RigBuilder rigBuilder

    The RigBuilder which the constraint is part of.

    T constraint

    The RigConstraint for which the bindings should be collected.

    Returns
    Type Description
    IEnumerable<EditorCurveBinding>

    Implements

    IBakeParameters
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)