Interface IBlendConstraintData | Animation Rigging | 1.0.3
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IBlendConstraintData

    This interface defines the data mapping for the Blend constraint.

    Namespace: UnityEngine.Animations.Rigging
    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
    Boolean

    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
    Boolean

    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
    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