Enum SceneScaleMode
- Namespace
- Fantas
- Assembly
- Fantas.dll
SceneScale configure how the current Scene will be scaled when the window or view is resized. The resize could happen because the user resized the window or rotated the device
public enum SceneScaleMode
Fields
AspectFill = 1
Preserve the aspect ratio of scene, and fill the whole visible area, cropping edges
AspectFit = 2
Show the whole scene preserving aspect ratio, and showing letter box to display if needed
Fill = 0
Fill is the default value, when the scaleMode is set to fill the size set to the scene will be preserved and scaled to fill the contents of the window, the Scene.SizeChanged will not be called
ResizeFill = 3
Resize the scene to fill the viewport.