// Editor.Size is an integer (x, y) pair used to express a pixel dimension. // Its most common consumer is RenderTarget.resolution — set this Size to // control the render-target output dimensions when `useScreenResolution` // is false. constmodel = this.pluginSystem.findInterface(Editor.Model.IModel) asEditor.Model.IModel; constcaptureTarget = model.project.scene.captureTarget;
Used with Editor.Assets.RenderTarget.
Example