Class RuntimeRigConstraint<TJob, TData, TBinder> | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class RuntimeRigConstraint<TJob, TData, TBinder>

    Inheritance
    System.Object
    RuntimeRigConstraint<TJob, TData, TBinder>
    BlendConstraint
    ChainIKConstraint
    DampedTransform
    MultiAimConstraint
    MultiParentConstraint
    MultiPositionConstraint
    MultiReferentialConstraint
    MultiRotationConstraint
    OverrideTransform
    TwistCorrection
    TwoBoneIKConstraint
    Namespace: UnityEngine.Animations.Rigging
    Syntax
    public class RuntimeRigConstraint<TJob, TData, TBinder> : MonoBehaviour, IRigConstraint where TJob : struct, IAnimationJob where TData : struct, IAnimationJobData where TBinder : AnimationJobBinder<TJob, TData>, new ()
    Type Parameters
    Name Description
    TJob
    TData
    TBinder

    Fields

    m_Data

    Declaration
    protected TData m_Data
    Field Value
    Type Description
    TData

    m_Weight

    Declaration
    protected float m_Weight
    Field Value
    Type Description
    System.Single

    Properties

    data

    Declaration
    public TData data { get; }
    Property Value
    Type Description
    TData

    weight

    Declaration
    public float weight { get; set; }
    Property Value
    Type Description
    System.Single
    Implements
    IRigConstraint.weight

    Methods

    CreateJob(Animator)

    Declaration
    public IAnimationJob CreateJob(Animator animator)
    Parameters
    Type Name Description
    Animator animator
    Returns
    Type Description
    IAnimationJob
    Implements
    IRigConstraint.CreateJob(Animator)

    DestroyJob(IAnimationJob)

    Declaration
    public void DestroyJob(IAnimationJob job)
    Parameters
    Type Name Description
    IAnimationJob job
    Implements
    IRigConstraint.DestroyJob(IAnimationJob)

    IsValid()

    Declaration
    public bool IsValid()
    Returns
    Type Description
    System.Boolean
    Implements
    IRigConstraint.IsValid()

    Reset()

    Declaration
    public void Reset()

    UpdateJob(IAnimationJob)

    Declaration
    public void UpdateJob(IAnimationJob job)
    Parameters
    Type Name Description
    IAnimationJob job
    Implements
    IRigConstraint.UpdateJob(IAnimationJob)

    Explicit Interface Implementations

    IRigConstraint.binder

    Declaration
    IAnimationJobBinder IRigConstraint.binder { get; }
    Returns
    Type Description
    IAnimationJobBinder
    Implements
    IRigConstraint.binder

    IRigConstraint.data

    Declaration
    IAnimationJobData IRigConstraint.data { get; }
    Returns
    Type Description
    IAnimationJobData
    Implements
    IRigConstraint.data
    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