docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FromPtr

    FromPtr(double*)

    Obtains a TimedScope.

    Safety: durationMsPtr must be a non-null pointer to a valid memory location for a double.

    Declaration
    public static TimedScope FromPtr(double* durationMsPtr)
    Parameters
    Type Name Description
    double* durationMsPtr

    The location to write the duration in milliseconds to.

    Returns
    Type Description
    TimedScope

    A TimedScope

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)