docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX
    on Tuesday, August 24, 2021