docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryGetFloatData

    TryGetFloatData(out SplineData<float>)

    Attempt to get a reference to the SplineData<T> described by this object.

    Declaration
    public bool TryGetFloatData(out SplineData<float> data)
    Parameters
    Type Name Description
    SplineData<float> data

    A SplineData<T> reference if the Container, SplineIndex, Key, and Type are valid, otherwise null.

    Returns
    Type Description
    bool

    Returns true if a SplineData<T> value exists, otherwise false.

    Exceptions
    Type Condition
    InvalidCastException

    An exception is thrown if the requested SplineData<T> does not match the EmbeddedSplineDataType.

    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)