TaskExt.WaitForNextFrame Method

Creates an awaitable task that finishes the next frame.

Namespace: UltimateXR.Extensions.System.Threading
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static Task WaitForNextFrame(
	CancellationToken ct = default
)

Parameters

 

ct (Optional)
Type: System.Threading.CancellationToken
Optional cancellation token, to cancel the task

Return Value

Type: Task
Awaitable task

See Also

Reference

TaskExt Class
UltimateXR.Extensions.System.Threading Namespace