Table of Contents

Method ChangeResolutionAsync

Namespace
Oscova.Agents.Avatar
Assembly
Oscova.Agents.dll

ChangeResolutionAsync(int, int, bool)

Changes the engine/window resolution and fullscreen mode.

Task<AvatarResolutionResponse> ChangeResolutionAsync(int width, int height, bool fullscreen)

Parameters

width int

Window width in pixels. The avatar engine accepts 1 through 7680.

height int

Window height in pixels. The avatar engine accepts 1 through 4320.

fullscreen bool

Whether to enable fullscreen mode.

Returns

Task<AvatarResolutionResponse>

Response indicating success, description, and the applied resolution settings.