Delegate XRSessionExtensions.AsyncDelegate<T>
A delegate
used for asynchronous operations that retrieve data of type T
.
Namespace: UnityEngine.XR.ARExtensions
Syntax
public delegate Promise<T> AsyncDelegate<T>(XRSessionSubsystem sessionSubsystem);
Parameters
Type | Name | Description |
---|---|---|
XRSessionSubsystem | sessionSubsystem | The |
Returns
Type | Description |
---|---|
Promise<T> | A Promise<T> used to determine status and result of the asynchronous operation. |
Type Parameters
Name | Description |
---|---|
T | The type of data to operation retrieves. |