FREE TRIAL

|

☀
☾
enum

ScreenSpace.FillMode

Configures how to resize a UIBlock to fill a camera's viewport.

Fields

Name Description
FixedHeight

Maintain the height of the UIBlock at the ReferenceResolution height, adjusting the width to match the camera's aspect ratio.

FixedWidth

Maintain the width of the UIBlock at the ReferenceResolution width, adjusting the height to match the camera's aspect ratio.

Manual

Do not modify the UIBlock's Size or scale. This can be used if you want to implement a custom resize behavior.

MatchCameraResolution

Set the UIBlock's Size to the pixel-dimensions of the camera.

☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC