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

    Class AnimationInputSettings

    Use this class to manage all the information required to record an Animation from a given GameObject.

    Inheritance
    Object
    RecorderInputSettings
    AnimationInputSettings
    Namespace: UnityEditor.Recorder.Input
    Syntax
    public class AnimationInputSettings : RecorderInputSettings

    Properties

    ClampedTangents

    If true, the Recorder sets the generated animation key tangents to ClampedAuto, else to Auto (legacy). Clamped tangents are useful to prevent curve overshoots when the animation data is discontinuous.

    Declaration
    public bool ClampedTangents { get; set; }
    Property Value
    Type Description
    Boolean

    gameObject

    Indicates the GameObject to record from.

    Declaration
    public GameObject gameObject { get; set; }
    Property Value
    Type Description
    GameObject

    InputType

    Declaration
    protected override Type InputType { get; }
    Property Value
    Type Description
    Type
    Overrides
    RecorderInputSettings.InputType

    Recursive

    Use this property to record all the gameObject hierarchy (True) or not (False).

    Declaration
    public bool Recursive { get; set; }
    Property Value
    Type Description
    Boolean

    SimplyCurves

    Sets the keyframe reduction level to use to compress the recorded animation curve data.

    Declaration
    public AnimationInputSettings.CurveSimplificationOptions SimplyCurves { get; set; }
    Property Value
    Type Description
    AnimationInputSettings.CurveSimplificationOptions

    Methods

    AddComponentToRecord(Type)

    Adds a Component to record from the GameObject.

    Declaration
    public void AddComponentToRecord(Type componentType)
    Parameters
    Type Name Description
    Type componentType

    The type of the Component.

    ClearExposedReference()

    Removes the binding value for the current key.

    Declaration
    public void ClearExposedReference()

    DuplicateExposedReference()

    Duplicates the existing Scene binding key under a new unique key (useful when duplicating the Recorder input).

    Declaration
    public void DuplicateExposedReference()

    ValidityCheck(List<String>)

    Declaration
    protected override bool ValidityCheck(List<string> errors)
    Parameters
    Type Name Description
    List<String> errors
    Returns
    Type Description
    Boolean
    Overrides
    RecorderInputSettings.ValidityCheck(List<String>)
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)