TaskExt.SkipFrames Method

Creates an awaitable task that finishes after a given amount of frames.

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

Syntax

C#

public static Task SkipFrames(
	int frameCount,
	CancellationToken ct = default
)


Parameters

 

frameCount
Type: System.Int32
Number of frames to wait
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