docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IBlendConstraintData

    This interface defines the data mapping for the Blend constraint.

    Namespace: UnityEngine.Animations.Rigging
    Assembly: Unity.Animation.Rigging.dll
    Syntax
    public interface IBlendConstraintData

    Properties

    blendPositionBoolProperty

    The path to the blend position property in the constraint component.

    Declaration
    string blendPositionBoolProperty { get; }
    Property Value
    Type Description
    string

    blendRotationBoolProperty

    The path to the blend rotation property in the constraint component.

    Declaration
    string blendRotationBoolProperty { get; }
    Property Value
    Type Description
    string

    constrainedObject

    The Transform affected by the two source Transforms.

    Declaration
    Transform constrainedObject { get; }
    Property Value
    Type Description
    Transform

    maintainPositionOffsets

    This is used to maintain the current position offset from the constrained GameObject to the source GameObjects.

    Declaration
    bool maintainPositionOffsets { get; }
    Property Value
    Type Description
    bool

    maintainRotationOffsets

    This is used to maintain the current rotation offset from the constrained GameObject to the source GameObjects.

    Declaration
    bool maintainRotationOffsets { get; }
    Property Value
    Type Description
    bool

    positionWeightFloatProperty

    The path to the position weight property in the constraint component.

    Declaration
    string positionWeightFloatProperty { get; }
    Property Value
    Type Description
    string

    rotationWeightFloatProperty

    The path to the rotation weight property in the constraint component.

    Declaration
    string rotationWeightFloatProperty { get; }
    Property Value
    Type Description
    string

    sourceObjectA

    First Transform in blend.

    Declaration
    Transform sourceObjectA { get; }
    Property Value
    Type Description
    Transform

    sourceObjectB

    Second Transform in blend.

    Declaration
    Transform sourceObjectB { get; }
    Property Value
    Type Description
    Transform
    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)