Class BakeParameters<T> | Animation Rigging | 1.0.3
docs.unity3d.com
    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>
    Namespace: UnityEditor.Animations.Rigging
    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
    Boolean

    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
    Boolean

    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>

    Explicit Interface Implementations

    IBakeParameters.canBakeToConstraint

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

    Declaration
    bool IBakeParameters.canBakeToConstraint { get; }
    Returns
    Type Description
    Boolean
    Implements
    IBakeParameters.canBakeToConstraint

    IBakeParameters.canBakeToSkeleton

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

    Declaration
    bool IBakeParameters.canBakeToSkeleton { get; }
    Returns
    Type Description
    Boolean
    Implements
    IBakeParameters.canBakeToSkeleton

    IBakeParameters.GetConstrainedCurveBindings(RigBuilder, IRigConstraint)

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

    Declaration
    IEnumerable<EditorCurveBinding> IBakeParameters.GetConstrainedCurveBindings(RigBuilder rigBuilder, IRigConstraint constraint)
    Parameters
    Type Name Description
    RigBuilder rigBuilder

    The RigBuilder which the constraint is part of.

    IRigConstraint constraint

    The RigConstraint for which the bindings should be collected.

    Returns
    Type Description
    IEnumerable<EditorCurveBinding>
    Implements
    IBakeParameters.GetConstrainedCurveBindings(RigBuilder, IRigConstraint)

    IBakeParameters.GetSourceCurveBindings(RigBuilder, IRigConstraint)

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

    Declaration
    IEnumerable<EditorCurveBinding> IBakeParameters.GetSourceCurveBindings(RigBuilder rigBuilder, IRigConstraint constraint)
    Parameters
    Type Name Description
    RigBuilder rigBuilder

    The RigBuilder which the constraint is part of.

    IRigConstraint constraint

    The RigConstraint for which the bindings should be collected.

    Returns
    Type Description
    IEnumerable<EditorCurveBinding>
    Implements
    IBakeParameters.GetSourceCurveBindings(RigBuilder, IRigConstraint)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023