docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ReportMetricAsync

    ReportMetricAsync(MetricDefinition)

    Report a metric whose values will be supplied in a later frame.

    Declaration
    public AsyncMetric ReportMetricAsync(MetricDefinition metricDefinition)
    Parameters
    Type Name Description
    MetricDefinition metricDefinition

    The type of the metric.

    Returns
    Type Description
    AsyncMetric

    A handle to an AsyncMetric, which can be used to report values for this metric in future frames.

    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)