BakeProgressState

class in UnityEngine.LightTransport

Description

Interface for progress reporting.

This interface reports progress for an ongoing asynchronous bake operation and provides a method to request the cancellation of the operation.

Constructors

BakeProgressStateConstructor.

Public Methods

CancelCancel the asynchronous operation.
DisposeDispose the BakeProgressState object.
IncrementCompletedWorkStepsIncrements the amount of completed work steps for this progress state.
ProgressGet the progress value.
SetTotalWorkStepsSets the total amount of work steps for the progress state. Increase the completed work steps using BakeProgressState.IncrementCompletedWorkSteps.
WasCancelledChecks whether the work represented by this progress state was cancelled.

Did you find this page useful? Please give it a rating: