Class BakeParameters<T>
Class that holds bi-directional baking capabilities and curve bindings of a RigConstraint.
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.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.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.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> |