Interface IProgressIndicator
Namespace: Microsoft.MixedReality.Toolkit.UI
Assembly: cs.temp.dll.dll
Syntax
public interface IProgressIndicator
Properties
MainTransform
The progress indicator's main transform. You can use this to attach follow scripts or solvers to the indicator.
Declaration
Transform MainTransform { get; }
Property Value
| Type | Description |
|---|---|
| Transform |
Message
The message to display during loading.
Declaration
string Message { set; }
Property Value
| Type | Description |
|---|---|
| String |
Progress
Loading progress value from 0 (just started) to 1 (complete)
Declaration
float Progress { set; }
Property Value
| Type | Description |
|---|---|
| Single |
State
Used to determine whether it's appropriate to use this indicator.
Declaration
ProgressIndicatorState State { get; }
Property Value
| Type | Description |
|---|---|
| ProgressIndicatorState |
Methods
CloseAsync()
Closes the progress indicator after loading is finished. Method is async to allow for animation to complete.
Declaration
Task CloseAsync()
Returns
| Type | Description |
|---|---|
| Task |
OpenAsync()
Opens the progress indicator before loading begins. Method is async to allow for animation to begin before loading.
Declaration
Task OpenAsync()
Returns
| Type | Description |
|---|---|
| Task |