docs.unity3d.com
    Show / Hide Table of Contents

    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>)
    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