docs.unity3d.com
Search Results for

    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
    Assembly: Unity.LiveCapture.dll
    Syntax
    public interface ICurve<in T> : ICurve
    Type Parameters
    Name Description
    T

    The type of data to store in the curve.

    Methods

    AddKey(float, T)

    Adds a keyframe to the curve.

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

    The time in seconds to insert the keyframe at.

    T value

    The keyframe value.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)