Struct CurveData | Kinematica | 0.7.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Struct CurveData

    Namespace: Unity.Curves
    Syntax
    public struct CurveData

    Constructors

    CurveData(Curve, Allocator)

    Declaration
    public CurveData(Curve curve, Allocator alloc)
    Parameters
    Type Name Description
    Curve curve
    Allocator alloc

    Fields

    allocatorLabel

    Declaration
    public Allocator allocatorLabel
    Field Value
    Type Description
    Allocator

    array

    Declaration
    public void *array
    Field Value
    Type Description
    Void*

    size

    Declaration
    public int size
    Field Value
    Type Description
    Int32

    Properties

    IsValid

    Declaration
    public bool IsValid { get; }
    Property Value
    Type Description
    Boolean

    Item[Int32]

    Declaration
    public Keyframe this[int index] { get; }
    Parameters
    Type Name Description
    Int32 index
    Property Value
    Type Description
    Keyframe

    Methods

    CreateInvalid()

    Declaration
    public static CurveData CreateInvalid()
    Returns
    Type Description
    CurveData

    ToCurve()

    Declaration
    public Curve ToCurve()
    Returns
    Type Description
    Curve
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023