docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor NativeProgress

    NativeProgress(PiXYZAPI, SyncedProgress, string, float, float, int)

    Initializes a new instance of the NativeProgress class.

    Declaration
    public NativeProgress(PiXYZAPI api, SyncedProgress syncedProgress, string name = null, float min = 0, float max = 1, int stepCount = -1)
    Parameters
    Type Name Description
    PiXYZAPI api

    The PiXYZ API instance used for progress tracking.

    SyncedProgress syncedProgress

    The synchronized progress instance for reporting progress.

    string name

    Optional name for the progress instance.

    float min

    The minimum progress value (default is 0).

    float max

    The maximum progress value (default is 1).

    int stepCount

    The number of steps for stepped progress (default is -1 for continuous progress).

    Exceptions
    Type Condition
    ArgumentException

    Thrown if min is greater than or equal to max.

    ArgumentNullException

    Thrown if api or syncedProgress is null.

    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)