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

    Struct DampedTransformJob

    The DampedTransform job.

    Namespace: UnityEngine.Animations.Rigging
    Syntax
    [BurstCompile]
    public struct DampedTransformJob : IWeightedAnimationJob, IAnimationJob

    Fields

    aimBindAxis

    Aim axis used to adjust constrained object rotation if maintainAim is enabled.

    Declaration
    public Vector3 aimBindAxis
    Field Value
    Type Description
    Vector3

    dampPosition

    Defines how much of constrained object position follows source object position. constrained position will closely follow source object when set to 0, and will not move when set to 1.

    Declaration
    public FloatProperty dampPosition
    Field Value
    Type Description
    FloatProperty

    dampRotation

    Defines how much of constrained object rotation follows source object rotation. constrained rotation will closely follow source object when set to 0, and will not move when set to 1.

    Declaration
    public FloatProperty dampRotation
    Field Value
    Type Description
    FloatProperty

    driven

    The Transform handle for the constrained object Transform.

    Declaration
    public ReadWriteTransformHandle driven
    Field Value
    Type Description
    ReadWriteTransformHandle

    localBindTx

    Initial TR offset from source to constrained object.

    Declaration
    public AffineTransform localBindTx
    Field Value
    Type Description
    AffineTransform

    prevDrivenTx

    Previous frame driven Transform TR components.

    Declaration
    public AffineTransform prevDrivenTx
    Field Value
    Type Description
    AffineTransform

    source

    The Transform handle for the source object Transform.

    Declaration
    public ReadOnlyTransformHandle source
    Field Value
    Type Description
    ReadOnlyTransformHandle

    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)