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

    Interface ITwistCorrectionData

    This interface defines the data mapping for TwistCorrection.

    Namespace: UnityEngine.Animations.Rigging
    Syntax
    public interface ITwistCorrectionData

    Properties

    source

    The source Transform that influences the twist nodes.

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

    twistAxis

    The local twist axis of the source Transform on which to evaluate twist rotation.

    Declaration
    Vector3 twistAxis { get; }
    Property Value
    Type Description
    Vector3

    twistNodes

    The list of Transforms on which to apply twist corrections. Each twist node has a weight that ranges from -1 to 1 to control how closely a twist node follows source rotation (from 0 to 1), or opposite rotation (from -1 to 0).

    Declaration
    WeightedTransformArray twistNodes { get; }
    Property Value
    Type Description
    WeightedTransformArray

    twistNodesProperty

    The path to the twist nodes property in the constraint component.

    Declaration
    string twistNodesProperty { get; }
    Property Value
    Type Description
    String
    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