EditorViewData
此内容尚不支持你的语言。
Defined in: camera/EditorView.ts:21
Properties
Section titled “Properties”active
Section titled “active”active:
boolean
Defined in: camera/EditorView.ts:23
When true, the framebuffer + screen<->world use this view, not scene cameras.
orthoSize
Section titled “orthoSize”orthoSize:
number
Defined in: camera/EditorView.ts:28
Half-height of the view in world units (zoom; smaller = more zoomed in).
uiPreviewAspect
Section titled “uiPreviewAspect”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