docs.unity3d.com
    Show / Hide Table of Contents

    Interface ICurve

    Represents an animation curve.

    Namespace: Unity.LiveCapture
    Syntax
    public interface ICurve

    Properties

    BindingType

    The type of the property to be animated.

    Declaration
    Type BindingType { get; }
    Property Value
    Type Description
    Type

    FrameRate

    The sampling rate in Hz.

    Declaration
    FrameRate FrameRate { get; set; }
    Property Value
    Type Description
    FrameRate

    PropertyName

    The name of the property to be animated.

    Declaration
    string PropertyName { get; }
    Property Value
    Type Description
    String

    RelativePath

    The transform path of the object that is animated.

    Declaration
    string RelativePath { get; }
    Property Value
    Type Description
    String

    Methods

    Clear()

    Clears the keyframes from the curve.

    Declaration
    void Clear()

    IsEmpty()

    Checks if the animation curve contains keyframes.

    Declaration
    bool IsEmpty()
    Returns
    Type Description
    Boolean

    true if the curve contains no keyframes; otherwise, false.

    SetToAnimationClip(AnimationClip)

    Sets the curve to the given animation clip.

    Declaration
    void SetToAnimationClip(AnimationClip clip)
    Parameters
    Type Name Description
    AnimationClip clip

    The animation clip to set the curve to.

    Back to top
    Terms of use
    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