Instance Propertymigueldeicaza.swiftgodot 0.45.0SwiftGodot
renderTargetClearMode
The clear mode when the sub-viewport is used as a render target.
SubViewport.swift:106final var renderTargetClearMode: SubViewport.ClearMode { get set }
Other members in extension
Types
Type members
Instance members
var renderTargetUpdateMode: SubViewport.UpdateMode
The update mode when the sub-viewport is used as a render target.
var size: Vector2i
The width and height of the sub-viewport. Must be set to a value greater than or equal to 2 pixels on both dimensions. Otherwise, nothing will be displayed.
var size2dOverride: Vector2i
The 2D size override of the sub-viewport. If either the width or height is
0
, the override is disabled.var size2dOverrideStretch: Bool
If
true
, the 2D size override affects stretch as well.