docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SampledAnimationCurve

    A struct that allows converting an AnimationCurve to a SampledCurve blob asset.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Vehicles
    Assembly: com.unity.vehicles.dll
    Syntax
    [Serializable]
    public struct SampledAnimationCurve

    Fields

    AnimationCurve

    AnimationCurve that will be sampled.

    Declaration
    public AnimationCurve AnimationCurve
    Field Value
    Type Description
    AnimationCurve

    SamplesCount

    Number of samples along the AnimationCurve.

    Declaration
    public int SamplesCount
    Field Value
    Type Description
    int

    Methods

    CreateBlob(IBaker)

    Creates the blob asset for this curve

    Declaration
    public BlobAssetReference<SampledCurve> CreateBlob(IBaker baker)
    Parameters
    Type Name Description
    IBaker baker

    The baker

    Returns
    Type Description
    BlobAssetReference<SampledCurve>

    The blob asset reference to the sampled curve blob

    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)