Class InverseRigConstraintAttribute
The [InverseRigConstraint] attribute allows to match an inverse constraint (inverse solve) to its base constraint (forward solve) counterpart. This is used in bi-directional baking to override constraints when baking animations to constraints.
Namespace: UnityEditor.Animations.Rigging
Syntax
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class InverseRigConstraintAttribute : Attribute, _Attribute
Constructors
InverseRigConstraintAttribute(Type)
Constructor.
Declaration
public InverseRigConstraintAttribute(Type targetBinderType)
Parameters
Type | Name | Description |
---|---|---|
Type | targetBinderType | The base constraint type. |
Properties
baseConstraint
Retrieves the base constraint type.
Declaration
public Type baseConstraint { get; }
Property Value
Type | Description |
---|---|
Type |