docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Bake

    Bake(AnimationCurve, float, InterpolationMode)

    Declaration
    public static int Bake(AnimationCurve curve, float frameRate, AnimationCurveBake.InterpolationMode mode)
    Parameters
    Type Name Description
    AnimationCurve curve
    float frameRate
    AnimationCurveBake.InterpolationMode mode
    Returns
    Type Description
    int

    Bake(ref Keyframe[], float, InterpolationMode)

    Declaration
    public static int Bake(ref Keyframe[] keys, float frameRate, AnimationCurveBake.InterpolationMode mode = InterpolationMode.Auto)
    Parameters
    Type Name Description
    Keyframe[] keys
    float frameRate
    AnimationCurveBake.InterpolationMode mode
    Returns
    Type Description
    int
    In This Article
    Back to top
    Copyright © 2024 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)