Enum CameraFramingMode

Namespace
TDMaker.Unity.Authoring
Assembly
TDMaker.Unity.dll

How the game camera frames a level on start (see CameraFramingData).

public enum CameraFramingMode

Fields

FitHeightScrollHorizontally = 1

View height = map height; wider maps scroll left/right.

FitWholeMap = 0

The whole level (or fixed map rectangle) fits on one screen; no player pan or zoom (default).

FitWidthScrollVertically = 2

View width = map width; taller maps scroll up/down.

FixedViewSize = 3

A fixed view height in world units; the map scrolls on both axes.