docs.unity3d.com
    目次を表示する/隠す

    Struct MultiParentInverseConstraintJob

    The MultiParent inverse constraint job.

    Namespace: UnityEditor.Animations.Rigging
    Syntax
    [BurstCompile]
    public struct MultiParentInverseConstraintJob : IWeightedAnimationJob, IAnimationJob

    Fields

    driven

    The Transform handle for the constrained object Transform.

    Declaration
    public ReadOnlyTransformHandle driven
    Field Value
    Type Description
    ReadOnlyTransformHandle

    drivenParent

    The Transform handle for the constrained object parent Transform.

    Declaration
    public ReadOnlyTransformHandle drivenParent
    Field Value
    Type Description
    ReadOnlyTransformHandle

    sourceOffsets

    List of offsets to apply to source rotations if maintainOffset is enabled.

    Declaration
    public NativeArray<AffineTransform> sourceOffsets
    Field Value
    Type Description
    NativeArray<AffineTransform>

    sourceTransforms

    List of Transform handles for the source objects.

    Declaration
    public NativeArray<ReadWriteTransformHandle> sourceTransforms
    Field Value
    Type Description
    NativeArray<ReadWriteTransformHandle>

    sourceWeights

    List of weights for the source objects.

    Declaration
    public NativeArray<PropertyStreamHandle> sourceWeights
    Field Value
    Type Description
    NativeArray<PropertyStreamHandle>

    Properties

    jobWeight

    The main weight given to the constraint. This is a value in between 0 and 1.

    Declaration
    public FloatProperty jobWeight { readonly get; set; }
    Property Value
    Type Description
    FloatProperty
    Implements
    IWeightedAnimationJob.jobWeight

    Methods

    ProcessAnimation(AnimationStream)

    Defines what to do when processing the animation.

    Declaration
    public void ProcessAnimation(AnimationStream stream)
    Parameters
    Type Name Description
    AnimationStream stream

    The animation stream to work on.

    Implements
    IAnimationJob.ProcessAnimation(AnimationStream)

    ProcessRootMotion(AnimationStream)

    Defines what to do when processing the root motion.

    Declaration
    public void ProcessRootMotion(AnimationStream stream)
    Parameters
    Type Name Description
    AnimationStream stream

    The animation stream to work on.

    Implements
    IAnimationJob.ProcessRootMotion(AnimationStream)
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)