Skip to content
Version 2.11.0
↓ Get the launcher

IWardrobePreview.SetViewport method

Report the display box’s current pixel size so the preview sizes its render texture to match.

public void SetViewport(int width, int height)
parameter description
width Display box width in pixels.
height Display box height in pixels.