Viewport
Inherited By: SubViewport, Window
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Methods
Signals
gui_focus_changed ( Control node )
There is currently no description for this signal. Please help us by contributing one!
size_changed ( )
There is currently no description for this signal. Please help us by contributing one!
Enumerations
enum PositionalShadowAtlasQuadrantSubdiv:
PositionalShadowAtlasQuadrantSubdiv SHADOW_ATLAS_QUADRANT_SUBDIV_DISABLED = 0
There is currently no description for this enum. Please help us by contributing one!
PositionalShadowAtlasQuadrantSubdiv SHADOW_ATLAS_QUADRANT_SUBDIV_1 = 1
There is currently no description for this enum. Please help us by contributing one!
PositionalShadowAtlasQuadrantSubdiv SHADOW_ATLAS_QUADRANT_SUBDIV_4 = 2
There is currently no description for this enum. Please help us by contributing one!
PositionalShadowAtlasQuadrantSubdiv SHADOW_ATLAS_QUADRANT_SUBDIV_16 = 3
There is currently no description for this enum. Please help us by contributing one!
PositionalShadowAtlasQuadrantSubdiv SHADOW_ATLAS_QUADRANT_SUBDIV_64 = 4
There is currently no description for this enum. Please help us by contributing one!
PositionalShadowAtlasQuadrantSubdiv SHADOW_ATLAS_QUADRANT_SUBDIV_256 = 5
There is currently no description for this enum. Please help us by contributing one!
PositionalShadowAtlasQuadrantSubdiv SHADOW_ATLAS_QUADRANT_SUBDIV_1024 = 6
There is currently no description for this enum. Please help us by contributing one!
PositionalShadowAtlasQuadrantSubdiv SHADOW_ATLAS_QUADRANT_SUBDIV_MAX = 7
There is currently no description for this enum. Please help us by contributing one!
enum Scaling3DMode:
Scaling3DMode SCALING_3D_MODE_BILINEAR = 0
There is currently no description for this enum. Please help us by contributing one!
Scaling3DMode SCALING_3D_MODE_FSR = 1
There is currently no description for this enum. Please help us by contributing one!
Scaling3DMode SCALING_3D_MODE_FSR2 = 2
There is currently no description for this enum. Please help us by contributing one!
Scaling3DMode SCALING_3D_MODE_MAX = 3
There is currently no description for this enum. Please help us by contributing one!
enum MSAA:
MSAA MSAA_DISABLED = 0
There is currently no description for this enum. Please help us by contributing one!
MSAA MSAA_2X = 1
There is currently no description for this enum. Please help us by contributing one!
MSAA MSAA_4X = 2
There is currently no description for this enum. Please help us by contributing one!
MSAA MSAA_8X = 3
There is currently no description for this enum. Please help us by contributing one!
MSAA MSAA_MAX = 4
There is currently no description for this enum. Please help us by contributing one!
enum ScreenSpaceAA:
ScreenSpaceAA SCREEN_SPACE_AA_DISABLED = 0
There is currently no description for this enum. Please help us by contributing one!
ScreenSpaceAA SCREEN_SPACE_AA_FXAA = 1
There is currently no description for this enum. Please help us by contributing one!
ScreenSpaceAA SCREEN_SPACE_AA_MAX = 2
There is currently no description for this enum. Please help us by contributing one!
enum RenderInfo:
RenderInfo RENDER_INFO_OBJECTS_IN_FRAME = 0
There is currently no description for this enum. Please help us by contributing one!
RenderInfo RENDER_INFO_PRIMITIVES_IN_FRAME = 1
There is currently no description for this enum. Please help us by contributing one!
RenderInfo RENDER_INFO_DRAW_CALLS_IN_FRAME = 2
There is currently no description for this enum. Please help us by contributing one!
RenderInfo RENDER_INFO_MAX = 3
There is currently no description for this enum. Please help us by contributing one!
enum RenderInfoType:
RenderInfoType RENDER_INFO_TYPE_VISIBLE = 0
There is currently no description for this enum. Please help us by contributing one!
RenderInfoType RENDER_INFO_TYPE_SHADOW = 1
There is currently no description for this enum. Please help us by contributing one!
RenderInfoType RENDER_INFO_TYPE_CANVAS = 2
There is currently no description for this enum. Please help us by contributing one!
RenderInfoType RENDER_INFO_TYPE_MAX = 3
There is currently no description for this enum. Please help us by contributing one!
enum DebugDraw:
DebugDraw DEBUG_DRAW_DISABLED = 0
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_UNSHADED = 1
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_LIGHTING = 2
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_OVERDRAW = 3
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_WIREFRAME = 4
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_NORMAL_BUFFER = 5
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_VOXEL_GI_ALBEDO = 6
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_VOXEL_GI_LIGHTING = 7
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_VOXEL_GI_EMISSION = 8
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_SHADOW_ATLAS = 9
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_DIRECTIONAL_SHADOW_ATLAS = 10
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_SCENE_LUMINANCE = 11
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_SSAO = 12
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_SSIL = 13
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_PSSM_SPLITS = 14
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_DECAL_ATLAS = 15
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_SDFGI = 16
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_SDFGI_PROBES = 17
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_GI_BUFFER = 18
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_DISABLE_LOD = 19
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_CLUSTER_OMNI_LIGHTS = 20
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_CLUSTER_SPOT_LIGHTS = 21
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_CLUSTER_DECALS = 22
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_CLUSTER_REFLECTION_PROBES = 23
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_OCCLUDERS = 24
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_MOTION_VECTORS = 25
There is currently no description for this enum. Please help us by contributing one!
DebugDraw DEBUG_DRAW_INTERNAL_BUFFER = 26
There is currently no description for this enum. Please help us by contributing one!
enum DefaultCanvasItemTextureFilter:
DefaultCanvasItemTextureFilter DEFAULT_CANVAS_ITEM_TEXTURE_FILTER_NEAREST = 0
There is currently no description for this enum. Please help us by contributing one!
DefaultCanvasItemTextureFilter DEFAULT_CANVAS_ITEM_TEXTURE_FILTER_LINEAR = 1
There is currently no description for this enum. Please help us by contributing one!
DefaultCanvasItemTextureFilter DEFAULT_CANVAS_ITEM_TEXTURE_FILTER_LINEAR_WITH_MIPMAPS = 2
There is currently no description for this enum. Please help us by contributing one!
DefaultCanvasItemTextureFilter DEFAULT_CANVAS_ITEM_TEXTURE_FILTER_NEAREST_WITH_MIPMAPS = 3
There is currently no description for this enum. Please help us by contributing one!
DefaultCanvasItemTextureFilter DEFAULT_CANVAS_ITEM_TEXTURE_FILTER_MAX = 4
There is currently no description for this enum. Please help us by contributing one!
enum DefaultCanvasItemTextureRepeat:
DefaultCanvasItemTextureRepeat DEFAULT_CANVAS_ITEM_TEXTURE_REPEAT_DISABLED = 0
There is currently no description for this enum. Please help us by contributing one!
DefaultCanvasItemTextureRepeat DEFAULT_CANVAS_ITEM_TEXTURE_REPEAT_ENABLED = 1
There is currently no description for this enum. Please help us by contributing one!
DefaultCanvasItemTextureRepeat DEFAULT_CANVAS_ITEM_TEXTURE_REPEAT_MIRROR = 2
There is currently no description for this enum. Please help us by contributing one!
DefaultCanvasItemTextureRepeat DEFAULT_CANVAS_ITEM_TEXTURE_REPEAT_MAX = 3
There is currently no description for this enum. Please help us by contributing one!
enum SDFOversize:
SDFOversize SDF_OVERSIZE_100_PERCENT = 0
There is currently no description for this enum. Please help us by contributing one!
SDFOversize SDF_OVERSIZE_120_PERCENT = 1
There is currently no description for this enum. Please help us by contributing one!
SDFOversize SDF_OVERSIZE_150_PERCENT = 2
There is currently no description for this enum. Please help us by contributing one!
SDFOversize SDF_OVERSIZE_200_PERCENT = 3
There is currently no description for this enum. Please help us by contributing one!
SDFOversize SDF_OVERSIZE_MAX = 4
There is currently no description for this enum. Please help us by contributing one!
enum SDFScale:
SDFScale SDF_SCALE_100_PERCENT = 0
There is currently no description for this enum. Please help us by contributing one!
SDFScale SDF_SCALE_50_PERCENT = 1
There is currently no description for this enum. Please help us by contributing one!
SDFScale SDF_SCALE_25_PERCENT = 2
There is currently no description for this enum. Please help us by contributing one!
SDFScale SDF_SCALE_MAX = 3
There is currently no description for this enum. Please help us by contributing one!
enum VRSMode:
VRSMode VRS_DISABLED = 0
There is currently no description for this enum. Please help us by contributing one!
VRSMode VRS_TEXTURE = 1
There is currently no description for this enum. Please help us by contributing one!
VRSMode VRS_XR = 2
There is currently no description for this enum. Please help us by contributing one!
VRSMode VRS_MAX = 3
There is currently no description for this enum. Please help us by contributing one!
enum VRSUpdateMode:
VRSUpdateMode VRS_UPDATE_DISABLED = 0
There is currently no description for this enum. Please help us by contributing one!
VRSUpdateMode VRS_UPDATE_ONCE = 1
There is currently no description for this enum. Please help us by contributing one!
VRSUpdateMode VRS_UPDATE_ALWAYS = 2
There is currently no description for this enum. Please help us by contributing one!
VRSUpdateMode VRS_UPDATE_MAX = 3
There is currently no description for this enum. Please help us by contributing one!
Property Descriptions
bool audio_listener_enable_2d = false
There is currently no description for this property. Please help us by contributing one!
bool audio_listener_enable_3d = false
There is currently no description for this property. Please help us by contributing one!
int canvas_cull_mask = 4294967295
There is currently no description for this property. Please help us by contributing one!
DefaultCanvasItemTextureFilter canvas_item_default_texture_filter = 1
void set_default_canvas_item_texture_filter ( DefaultCanvasItemTextureFilter value )
DefaultCanvasItemTextureFilter get_default_canvas_item_texture_filter ( )
There is currently no description for this property. Please help us by contributing one!
DefaultCanvasItemTextureRepeat canvas_item_default_texture_repeat = 0
void set_default_canvas_item_texture_repeat ( DefaultCanvasItemTextureRepeat value )
DefaultCanvasItemTextureRepeat get_default_canvas_item_texture_repeat ( )
There is currently no description for this property. Please help us by contributing one!
Transform2D canvas_transform
void set_canvas_transform ( Transform2D value )
Transform2D get_canvas_transform ( )
There is currently no description for this property. Please help us by contributing one!
DebugDraw debug_draw = 0
There is currently no description for this property. Please help us by contributing one!
bool disable_3d = false
There is currently no description for this property. Please help us by contributing one!
float fsr_sharpness = 0.2
There is currently no description for this property. Please help us by contributing one!
Transform2D global_canvas_transform
void set_global_canvas_transform ( Transform2D value )
Transform2D get_global_canvas_transform ( )
There is currently no description for this property. Please help us by contributing one!
bool gui_disable_input = false
There is currently no description for this property. Please help us by contributing one!
bool gui_embed_subwindows = false
There is currently no description for this property. Please help us by contributing one!
bool gui_snap_controls_to_pixels = true
There is currently no description for this property. Please help us by contributing one!
bool handle_input_locally = true
There is currently no description for this property. Please help us by contributing one!
float mesh_lod_threshold = 1.0
There is currently no description for this property. Please help us by contributing one!
MSAA msaa_2d = 0
There is currently no description for this property. Please help us by contributing one!
MSAA msaa_3d = 0
There is currently no description for this property. Please help us by contributing one!
bool own_world_3d = false
There is currently no description for this property. Please help us by contributing one!
bool physics_object_picking = false
There is currently no description for this property. Please help us by contributing one!
bool physics_object_picking_first_only = false
void set_physics_object_picking_first_only ( bool value )
bool get_physics_object_picking_first_only ( )
There is currently no description for this property. Please help us by contributing one!
bool physics_object_picking_sort = false
There is currently no description for this property. Please help us by contributing one!
bool positional_shadow_atlas_16_bits = true
void set_positional_shadow_atlas_16_bits ( bool value )
bool get_positional_shadow_atlas_16_bits ( )
There is currently no description for this property. Please help us by contributing one!
PositionalShadowAtlasQuadrantSubdiv positional_shadow_atlas_quad_0 = 2
void set_positional_shadow_atlas_quadrant_subdiv ( int quadrant, PositionalShadowAtlasQuadrantSubdiv subdiv )
PositionalShadowAtlasQuadrantSubdiv get_positional_shadow_atlas_quadrant_subdiv ( int quadrant ) const
There is currently no description for this property. Please help us by contributing one!
PositionalShadowAtlasQuadrantSubdiv positional_shadow_atlas_quad_1 = 2
void set_positional_shadow_atlas_quadrant_subdiv ( int quadrant, PositionalShadowAtlasQuadrantSubdiv subdiv )
PositionalShadowAtlasQuadrantSubdiv get_positional_shadow_atlas_quadrant_subdiv ( int quadrant ) const
There is currently no description for this property. Please help us by contributing one!
PositionalShadowAtlasQuadrantSubdiv positional_shadow_atlas_quad_2 = 3
void set_positional_shadow_atlas_quadrant_subdiv ( int quadrant, PositionalShadowAtlasQuadrantSubdiv subdiv )
PositionalShadowAtlasQuadrantSubdiv get_positional_shadow_atlas_quadrant_subdiv ( int quadrant ) const
There is currently no description for this property. Please help us by contributing one!
PositionalShadowAtlasQuadrantSubdiv positional_shadow_atlas_quad_3 = 4
void set_positional_shadow_atlas_quadrant_subdiv ( int quadrant, PositionalShadowAtlasQuadrantSubdiv subdiv )
PositionalShadowAtlasQuadrantSubdiv get_positional_shadow_atlas_quadrant_subdiv ( int quadrant ) const
There is currently no description for this property. Please help us by contributing one!
int positional_shadow_atlas_size = 2048
There is currently no description for this property. Please help us by contributing one!
Scaling3DMode scaling_3d_mode = 0
void set_scaling_3d_mode ( Scaling3DMode value )
Scaling3DMode get_scaling_3d_mode ( )
There is currently no description for this property. Please help us by contributing one!
float scaling_3d_scale = 1.0
There is currently no description for this property. Please help us by contributing one!
ScreenSpaceAA screen_space_aa = 0
void set_screen_space_aa ( ScreenSpaceAA value )
ScreenSpaceAA get_screen_space_aa ( )
There is currently no description for this property. Please help us by contributing one!
SDFOversize sdf_oversize = 1
void set_sdf_oversize ( SDFOversize value )
SDFOversize get_sdf_oversize ( )
There is currently no description for this property. Please help us by contributing one!
SDFScale sdf_scale = 1
There is currently no description for this property. Please help us by contributing one!
bool snap_2d_transforms_to_pixel = false
There is currently no description for this property. Please help us by contributing one!
bool snap_2d_vertices_to_pixel = false
There is currently no description for this property. Please help us by contributing one!
float texture_mipmap_bias = 0.0
There is currently no description for this property. Please help us by contributing one!
bool transparent_bg = false
There is currently no description for this property. Please help us by contributing one!
bool use_debanding = false
There is currently no description for this property. Please help us by contributing one!
bool use_hdr_2d = false
There is currently no description for this property. Please help us by contributing one!
bool use_occlusion_culling = false
There is currently no description for this property. Please help us by contributing one!
bool use_taa = false
There is currently no description for this property. Please help us by contributing one!
bool use_xr = false
There is currently no description for this property. Please help us by contributing one!
VRSMode vrs_mode = 0
There is currently no description for this property. Please help us by contributing one!
Texture2D vrs_texture
There is currently no description for this property. Please help us by contributing one!
VRSUpdateMode vrs_update_mode = 1
void set_vrs_update_mode ( VRSUpdateMode value )
VRSUpdateMode get_vrs_update_mode ( )
There is currently no description for this property. Please help us by contributing one!
World2D world_2d
There is currently no description for this property. Please help us by contributing one!
World3D world_3d
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
World2D find_world_2d ( ) const
There is currently no description for this method. Please help us by contributing one!
World3D find_world_3d ( ) const
There is currently no description for this method. Please help us by contributing one!
Camera2D get_camera_2d ( ) const
There is currently no description for this method. Please help us by contributing one!
Camera3D get_camera_3d ( ) const
There is currently no description for this method. Please help us by contributing one!
bool get_canvas_cull_mask_bit ( int layer ) const
There is currently no description for this method. Please help us by contributing one!
Window[] get_embedded_subwindows ( ) const
There is currently no description for this method. Please help us by contributing one!
Transform2D get_final_transform ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_mouse_position ( ) const
There is currently no description for this method. Please help us by contributing one!
PositionalShadowAtlasQuadrantSubdiv get_positional_shadow_atlas_quadrant_subdiv ( int quadrant ) const
There is currently no description for this method. Please help us by contributing one!
int get_render_info ( RenderInfoType type, RenderInfo info )
There is currently no description for this method. Please help us by contributing one!
Transform2D get_screen_transform ( ) const
There is currently no description for this method. Please help us by contributing one!
ViewportTexture get_texture ( ) const
There is currently no description for this method. Please help us by contributing one!
RID get_viewport_rid ( ) const
There is currently no description for this method. Please help us by contributing one!
Rect2 get_visible_rect ( ) const
There is currently no description for this method. Please help us by contributing one!
Variant gui_get_drag_data ( ) const
There is currently no description for this method. Please help us by contributing one!
Control gui_get_focus_owner ( ) const
There is currently no description for this method. Please help us by contributing one!
Control gui_get_hovered_control ( ) const
There is currently no description for this method. Please help us by contributing one!
bool gui_is_drag_successful ( ) const
There is currently no description for this method. Please help us by contributing one!
bool gui_is_dragging ( ) const
There is currently no description for this method. Please help us by contributing one!
void gui_release_focus ( )
There is currently no description for this method. Please help us by contributing one!
bool is_input_handled ( ) const
There is currently no description for this method. Please help us by contributing one!
void push_input ( InputEvent event, bool in_local_coords=false )
There is currently no description for this method. Please help us by contributing one!
void push_text_input ( String text )
There is currently no description for this method. Please help us by contributing one!
void push_unhandled_input ( InputEvent event, bool in_local_coords=false )
There is currently no description for this method. Please help us by contributing one!
void set_canvas_cull_mask_bit ( int layer, bool enable )
There is currently no description for this method. Please help us by contributing one!
void set_input_as_handled ( )
There is currently no description for this method. Please help us by contributing one!
void set_positional_shadow_atlas_quadrant_subdiv ( int quadrant, PositionalShadowAtlasQuadrantSubdiv subdiv )
There is currently no description for this method. Please help us by contributing one!
void update_mouse_cursor_state ( )
There is currently no description for this method. Please help us by contributing one!
void warp_mouse ( Vector2 position )
There is currently no description for this method. Please help us by contributing one!