docs.unity.cn
    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(Single, T)

    Adds a keyframe to the curve.

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

    The time in seconds to insert the keyframe at.

    T value

    The keyframe value.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, August 26, 2022
    Terms of use