Skip to main content

Editor.Components.ScreenRegionType

Enum

Used with Editor.Components.ScreenRegionComponent.

Index

Example

const model = this.pluginSystem.findInterface(Editor.Model.IModel) as Editor.Model.IModel;
const scene = model.project.scene;

// Create a ScreenRegionComponent and set region to FullFrame
const obj = scene.createSceneObject('ScreenRegion');
const region = obj.addComponent('ScreenRegionComponent');
region.region = Editor.Components.ScreenRegionType.FullFrame;
console.log(`region: ${region.region}`);

Enumeration Members

Capture

Capture: number

Render to the capture region.


FullFrame

FullFrame: number

Render to the entire screen.


Preview

Preview: number

Render to the preview region.


RoundButton

RoundButton: number

Render to the round button region.


SafeRender

SafeRender: number

Render to the safe render region.