class

Godot::Viewport

Inherits Godot::Node < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

anisotropic_filtering_level

Property anisotropic_filtering_level getter

Source
anisotropic_filtering_level=(val : Int)

Property anisotropic_filtering_level setter

Source
audio_listener_enable_2d

Property audio_listener_enable_2d getter

Source
audio_listener_enable_2d=(val)

Property audio_listener_enable_2d setter

Source
audio_listener_enable_2d?
Source
audio_listener_enable_3d

Property audio_listener_enable_3d getter

Source
audio_listener_enable_3d=(val)

Property audio_listener_enable_3d setter

Source
audio_listener_enable_3d?
Source
canvas_cull_mask

Property canvas_cull_mask getter

Source
canvas_cull_mask=(val : Int)

Property canvas_cull_mask setter

Source
canvas_item_default_texture_filter

Property canvas_item_default_texture_filter getter

Source
canvas_item_default_texture_filter=(val : Int)

Property canvas_item_default_texture_filter setter

Source
canvas_item_default_texture_repeat

Property canvas_item_default_texture_repeat getter

Source
canvas_item_default_texture_repeat=(val : Int)

Property canvas_item_default_texture_repeat setter

Source
canvas_transform

Property canvas_transform getter

Source
canvas_transform=(val)

Property canvas_transform setter

Source
debug_draw

Property debug_draw getter

Source
debug_draw=(val : Int)

Property debug_draw setter

Source
disable_3d

Property disable_3d getter

Source
disable_3d=(val)

Property disable_3d setter

Source
disable_3d?
Source
find_world_2d
Source
find_world_3d
Source
fsr_sharpness

Property fsr_sharpness getter

Source
fsr_sharpness=(val : Number)

Property fsr_sharpness setter

Source
get_anisotropic_filtering_level
Source
get_audio_listener_2d
Source
get_audio_listener_3d
Source
get_camera_2d
Source
get_camera_3d
Source
get_canvas_cull_mask
Source
get_canvas_cull_mask_bit(layer : Int64) : Bool
Source
get_canvas_transform
Source
get_debug_draw
Source
get_default_canvas_item_texture_filter
Source
get_default_canvas_item_texture_repeat
Source
get_drag_threshold
Source
get_embedded_subwindows
Source
get_final_transform
Source
get_fsr_sharpness
Source
get_global_canvas_transform
Source
get_mesh_lod_threshold
Source
get_mouse_position
Source
get_msaa_2d
Source
get_msaa_3d
Source
get_oversampling
Source
get_oversampling_override
Source
get_physics_object_picking
Source
get_physics_object_picking_first_only
Source
get_physics_object_picking_sort
Source
get_positional_shadow_atlas_16_bits
Source
get_positional_shadow_atlas_quadrant_subdiv(quadrant : Int64) : Int64
Source
get_positional_shadow_atlas_size
Source
get_render_info(get_type : Int64, info : Int64) : Int64
Source
get_scaling_3d_mode
Source
get_scaling_3d_scale
Source
get_screen_space_aa
Source
get_screen_transform
Source
get_sdf_oversize
Source
get_sdf_scale
Source
get_stretch_transform
Source
get_texture
Source
get_texture_mipmap_bias
Source
get_viewport_rid
Source
get_visible_rect
Source
get_vrs_mode
Source
get_vrs_texture
Source
get_vrs_update_mode
Source
get_world_2d
Source
get_world_3d
Source
global_canvas_transform

Property global_canvas_transform getter

Source
global_canvas_transform=(val)

Property global_canvas_transform setter

Source
gui_cancel_drag
Source
gui_disable_input

Property gui_disable_input getter

Source
gui_disable_input=(val)

Property gui_disable_input setter

Source
gui_disable_input?
Source
gui_drag_threshold

Property gui_drag_threshold getter

Source
gui_drag_threshold=(val : Int)

Property gui_drag_threshold setter

Source
gui_embed_subwindows

Property gui_embed_subwindows getter

Source
gui_embed_subwindows=(val)

Property gui_embed_subwindows setter

Source
gui_embed_subwindows?
Source
gui_get_drag_data
Source
gui_get_drag_description
Source
gui_get_focus_owner
Source
gui_get_hovered_control
Source
gui_is_drag_successful
Source
gui_is_dragging
Source
gui_release_focus
Source
gui_set_drag_description(description : String) : Void
Source
gui_snap_controls_to_pixels

Property gui_snap_controls_to_pixels getter

Source
gui_snap_controls_to_pixels=(val)

Property gui_snap_controls_to_pixels setter

Source
gui_snap_controls_to_pixels?
Source
handle_input_locally

Property handle_input_locally getter

Source
handle_input_locally=(val)

Property handle_input_locally setter

Source
handle_input_locally?
Source
has_transparent_background
Source
is_3d_disabled
Source
is_audio_listener_2d
Source
is_audio_listener_3d
Source
is_embedding_subwindows
Source
is_handling_input_locally
Source
is_input_disabled
Source
is_input_handled
Source
is_snap_2d_transforms_to_pixel_enabled
Source
is_snap_2d_vertices_to_pixel_enabled
Source
is_snap_controls_to_pixels_enabled
Source
is_using_debanding
Source
is_using_hdr_2d
Source
is_using_occlusion_culling
Source
is_using_oversampling
Source
is_using_own_world_3d
Source
is_using_taa
Source
is_using_xr
Source
mesh_lod_threshold

Property mesh_lod_threshold getter

Source
mesh_lod_threshold=(val : Number)

Property mesh_lod_threshold setter

Source
msaa_2d

Property msaa_2d getter

Source
msaa_2d=(val : Int)

Property msaa_2d setter

Source
msaa_3d

Property msaa_3d getter

Source
msaa_3d=(val : Int)

Property msaa_3d setter

Source
notify_mouse_entered
Source
notify_mouse_exited
Source
oversampling

Property oversampling getter

Source
oversampling=(val)

Property oversampling setter

Source
oversampling?
Source
oversampling_override

Property oversampling_override getter

Source
oversampling_override=(val : Number)

Property oversampling_override setter

Source
own_world_3d

Property own_world_3d getter

Source
own_world_3d=(val)

Property own_world_3d setter

Source
own_world_3d?
Source
physics_object_picking

Property physics_object_picking getter

Source
physics_object_picking=(val)

Property physics_object_picking setter

Source
physics_object_picking?
Source
physics_object_picking_first_only

Property physics_object_picking_first_only getter

Source
physics_object_picking_first_only=(val)

Property physics_object_picking_first_only setter

Source
physics_object_picking_first_only?
Source
physics_object_picking_sort

Property physics_object_picking_sort getter

Source
physics_object_picking_sort=(val)

Property physics_object_picking_sort setter

Source
physics_object_picking_sort?
Source
positional_shadow_atlas_16_bits

Property positional_shadow_atlas_16_bits getter

Source
positional_shadow_atlas_16_bits=(val)

Property positional_shadow_atlas_16_bits setter

Source
positional_shadow_atlas_16_bits?
Source
positional_shadow_atlas_quad_0

Property positional_shadow_atlas_quad_0 getter

Source
positional_shadow_atlas_quad_0=(val : Int)

Property positional_shadow_atlas_quad_0 setter

Source
positional_shadow_atlas_quad_1

Property positional_shadow_atlas_quad_1 getter

Source
positional_shadow_atlas_quad_1=(val : Int)

Property positional_shadow_atlas_quad_1 setter

Source
positional_shadow_atlas_quad_2

Property positional_shadow_atlas_quad_2 getter

Source
positional_shadow_atlas_quad_2=(val : Int)

Property positional_shadow_atlas_quad_2 setter

Source
positional_shadow_atlas_quad_3

Property positional_shadow_atlas_quad_3 getter

Source
positional_shadow_atlas_quad_3=(val : Int)

Property positional_shadow_atlas_quad_3 setter

Source
positional_shadow_atlas_size

Property positional_shadow_atlas_size getter

Source
positional_shadow_atlas_size=(val : Int)

Property positional_shadow_atlas_size setter

Source
push_input(event : InputEvent, in_local_coords : Bool) : Void
Source
push_text_input(text : String) : Void
Source
push_unhandled_input(event : InputEvent, in_local_coords : Bool) : Void
Source
scaling_3d_mode

Property scaling_3d_mode getter

Source
scaling_3d_mode=(val : Int)

Property scaling_3d_mode setter

Source
scaling_3d_scale

Property scaling_3d_scale getter

Source
scaling_3d_scale=(val : Number)

Property scaling_3d_scale setter

Source
screen_space_aa

Property screen_space_aa getter

Source
screen_space_aa=(val : Int)

Property screen_space_aa setter

Source
sdf_oversize

Property sdf_oversize getter

Source
sdf_oversize=(val : Int)

Property sdf_oversize setter

Source
sdf_scale

Property sdf_scale getter

Source
sdf_scale=(val : Int)

Property sdf_scale setter

Source
set_anisotropic_filtering_level(anisotropic_filtering_level : Int64) : Void
Source
set_as_audio_listener_2d(enable : Bool) : Void
Source
set_as_audio_listener_3d(enable : Bool) : Void
Source
set_canvas_cull_mask(mask : Int64) : Void
Source
set_canvas_cull_mask_bit(layer : Int64, enable : Bool) : Void
Source
set_canvas_transform(xform : Transform2D) : Void
Source
set_debug_draw(debug_draw : Int64) : Void
Source
set_default_canvas_item_texture_filter(mode : Int64) : Void
Source
set_default_canvas_item_texture_repeat(mode : Int64) : Void
Source
set_disable_3d(disable : Bool) : Void
Source
set_disable_input(disable : Bool) : Void
Source
set_drag_threshold(threshold : Int64) : Void
Source
set_embedding_subwindows(enable : Bool) : Void
Source
set_fsr_sharpness(fsr_sharpness : Float64) : Void
Source
set_global_canvas_transform(xform : Transform2D) : Void
Source
set_handle_input_locally(enable : Bool) : Void
Source
set_input_as_handled
Source
set_mesh_lod_threshold(pixels : Float64) : Void
Source
set_msaa_2d(msaa : Int64) : Void
Source
set_msaa_3d(msaa : Int64) : Void
Source
set_oversampling_override(oversampling : Float64) : Void
Source
set_physics_object_picking(enable : Bool) : Void
Source
set_physics_object_picking_first_only(enable : Bool) : Void
Source
set_physics_object_picking_sort(enable : Bool) : Void
Source
set_positional_shadow_atlas_16_bits(enable : Bool) : Void
Source
set_positional_shadow_atlas_quadrant_subdiv(quadrant : Int64, subdiv : Int64) : Void
Source
set_positional_shadow_atlas_size(size : Int64) : Void
Source
set_scaling_3d_mode(scaling_3d_mode : Int64) : Void
Source
set_scaling_3d_scale(scale : Float64) : Void
Source
set_screen_space_aa(screen_space_aa : Int64) : Void
Source
set_sdf_oversize(oversize : Int64) : Void
Source
set_sdf_scale(scale : Int64) : Void
Source
set_snap_2d_transforms_to_pixel(enabled : Bool) : Void
Source
set_snap_2d_vertices_to_pixel(enabled : Bool) : Void
Source
set_snap_controls_to_pixels(enabled : Bool) : Void
Source
set_texture_mipmap_bias(texture_mipmap_bias : Float64) : Void
Source
set_transparent_background(enable : Bool) : Void
Source
set_use_debanding(enable : Bool) : Void
Source
set_use_hdr_2d(enable : Bool) : Void
Source
set_use_occlusion_culling(enable : Bool) : Void
Source
set_use_oversampling(enable : Bool) : Void
Source
set_use_own_world_3d(enable : Bool) : Void
Source
set_use_taa(enable : Bool) : Void
Source
set_use_xr(use : Bool) : Void
Source
set_vrs_mode(mode : Int64) : Void
Source
set_vrs_texture(texture : Texture2D) : Void
Source
set_vrs_update_mode(mode : Int64) : Void
Source
set_world_2d(world_2d : World2D) : Void
Source
set_world_3d(world_3d : World3D) : Void
Source
snap_2d_transforms_to_pixel

Property snap_2d_transforms_to_pixel getter

Source
snap_2d_transforms_to_pixel=(val)

Property snap_2d_transforms_to_pixel setter

Source
snap_2d_transforms_to_pixel?
Source
snap_2d_vertices_to_pixel

Property snap_2d_vertices_to_pixel getter

Source
snap_2d_vertices_to_pixel=(val)

Property snap_2d_vertices_to_pixel setter

Source
snap_2d_vertices_to_pixel?
Source
texture_mipmap_bias

Property texture_mipmap_bias getter

Source
texture_mipmap_bias=(val : Number)

Property texture_mipmap_bias setter

Source
transparent_bg

Property transparent_bg getter

Source
transparent_bg=(val)

Property transparent_bg setter

Source
transparent_bg?
Source
update_mouse_cursor_state
Source
use_debanding

Property use_debanding getter

Source
use_debanding=(val)

Property use_debanding setter

Source
use_debanding?
Source
use_hdr_2d

Property use_hdr_2d getter

Source
use_hdr_2d=(val)

Property use_hdr_2d setter

Source
use_hdr_2d?
Source
use_occlusion_culling

Property use_occlusion_culling getter

Source
use_occlusion_culling=(val)

Property use_occlusion_culling setter

Source
use_occlusion_culling?
Source
use_taa

Property use_taa getter

Source
use_taa=(val)

Property use_taa setter

Source
use_taa?
Source
use_xr

Property use_xr getter

Source
use_xr=(val)

Property use_xr setter

Source
use_xr?
Source
vrs_mode

Property vrs_mode getter

Source
vrs_mode=(val : Int)

Property vrs_mode setter

Source
vrs_texture

Property vrs_texture getter

Source
vrs_texture=(val)

Property vrs_texture setter

Source
vrs_update_mode

Property vrs_update_mode getter

Source
vrs_update_mode=(val : Int)

Property vrs_update_mode setter

Source
warp_mouse(position : Vector2) : Void
Source
world_2d

Property world_2d getter

Source
world_2d=(val)

Property world_2d setter

Source
world_3d

Property world_3d getter

Source
world_3d=(val)

Property world_3d setter

Source

Nested types