docs.unity.cn
    Show / Hide Table of Contents

    Interface ICurve<T>

    Represents an animation curve that stores keyframes of generic value.

    Inherited Members
    ICurve.FrameRate
    ICurve.IsEmpty()
    ICurve.Clear()
    ICurve.SetToAnimationClip(PropertyBinding, AnimationClip)
    Namespace: Unity.LiveCapture
    Syntax
    public interface ICurve<T> : ICurve where T : struct
    Type Parameters
    Name Description
    T

    The type of data to store in the curve.

    Methods

    AddKey(Double, in T)

    Adds a keyframe to the curve.

    Declaration
    void AddKey(double time, in 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 Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, July 24, 2023