跳转到内容

EditorViewData

此内容尚不支持你的语言。

Defined in: camera/EditorView.ts:21

active: boolean

Defined in: camera/EditorView.ts:23

When true, the framebuffer + screen<->world use this view, not scene cameras.


orthoSize: number

Defined in: camera/EditorView.ts:28

Half-height of the view in world units (zoom; smaller = more zoomed in).


uiPreviewAspect: number

Defined in: camera/EditorView.ts:35

Aspect ratio the editor lays UI out against, so the editor previews how UI adapts on a simulated device: > 0 fits the design resolution into this aspect (the device simulator), 0 uses the authored design aspect — WYSIWYG at the design resolution. Editor-only; scene cameras (shipped games) ignore it. See uiLayoutRect.


x: number

Defined in: camera/EditorView.ts:25

World-space camera center.


y: number

Defined in: camera/EditorView.ts:26