docs.unity3d.com
    Show / Hide Table of Contents

    Interface ICurve<T>

    Represents an animation curve that stores keyframes of generic value.

    Inherited Members
    ICurve.RelativePath
    ICurve.PropertyName
    ICurve.BindingType
    ICurve.FrameRate
    ICurve.IsEmpty()
    ICurve.Clear()
    ICurve.SetToAnimationClip(AnimationClip)
    Namespace: Unity.LiveCapture
    Syntax
    public interface ICurve<in T> : ICurve
    Type Parameters
    Name Description
    T

    The type of data to store in the curve.

    Methods

    AddKey(Double, T)

    Adds a keyframe to the curve.

    Declaration
    void AddKey(double time, T value)
    Parameters
    Type Name Description
    Double time

    The time in seconds to insert the keyframe at.

    T value

    The keyframe value.

    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