VisualServer

Inherits: Object

Category: Core

Brief Description

Server for anything visible.

Member Functions

void black_bars_set_images ( RID left, RID top, RID right, RID bottom )
void black_bars_set_margins ( int left, int top, int right, int bottom )
RID camera_create ( )
void camera_set_orthogonal ( RID arg0, float arg1, float arg2, float arg3 )
void camera_set_perspective ( RID arg0, float arg1, float arg2, float arg3 )
void camera_set_transform ( RID arg0, Transform arg1 )
RID canvas_create ( )
void canvas_item_add_circle ( RID arg0, Vector2 arg1, float arg2, Color arg3 )
void canvas_item_add_line ( RID arg0, Vector2 arg1, Vector2 arg2, Color arg3, float arg4=1 )
void canvas_item_add_rect ( RID arg0, Rect2 arg1, Color arg2 )
void canvas_item_add_style_box ( RID arg0, Rect2 arg1, Rect2 arg2, RID arg3, RealArray arg4, Color arg5=Color(1,1,1,1) )
void canvas_item_add_texture_rect ( RID arg0, Rect2 arg1, RID arg2, bool arg3, Color arg4=Color(1,1,1,1), bool arg5=false )
void canvas_item_add_texture_rect_region ( RID arg0, Rect2 arg1, RID arg2, Rect2 arg3, Color arg4=Color(1,1,1,1), bool arg5=false )
void canvas_item_clear ( RID arg0 )
RID canvas_item_create ( )
float canvas_item_get_opacity ( RID arg0, float arg1 ) const
RID canvas_item_get_parent ( RID arg0 ) const
float canvas_item_get_self_opacity ( RID arg0, float arg1 ) const
void canvas_item_raise ( RID arg0 )
void canvas_item_set_clip ( RID arg0, bool arg1 )
void canvas_item_set_custom_rect ( RID arg0, bool arg1, Rect2 arg2 )
void canvas_item_set_opacity ( RID arg0, float arg1 )
void canvas_item_set_parent ( RID arg0, RID arg1 )
void canvas_item_set_self_opacity ( RID arg0, float arg1 )
void canvas_item_set_sort_children_by_y ( RID arg0, bool arg1 )
void canvas_item_set_transform ( RID arg0, Matrix32 arg1 )
void canvas_item_set_z ( RID arg0, int arg1 )
void cursor_set_pos ( Vector2 arg0, int arg1 )
void cursor_set_rotation ( float arg0, int arg1 )
void cursor_set_texture ( RID arg0, Vector2 arg1, int arg2, Rect2 arg3 )
void cursor_set_visible ( bool arg0, int arg1 )
void draw ( )
void free_rid ( RID arg0 )
Color get_default_clear_color ( ) const
int get_render_info ( int arg0 )
RID get_test_cube ( )
void instance_attach_object_instance_ID ( RID arg0, int arg1 )
void instance_attach_skeleton ( RID arg0, RID arg1 )
RID instance_create ( )
RID instance_geometry_get_material_param ( RID arg0 ) const
RID instance_geometry_override_material_param ( RID arg0 ) const
RID instance_get_base ( RID arg0 ) const
RID instance_get_base_aabb ( RID arg0 ) const
int instance_get_object_instance_ID ( RID arg0 ) const
RID instance_get_room ( RID arg0 ) const
RID instance_get_skeleton ( RID arg0 ) const
Transform instance_get_transform ( RID arg0 ) const
bool instance_is_exterior ( RID arg0 ) const
void instance_set_exterior ( RID arg0, bool arg1 )
void instance_set_room ( RID arg0, RID arg1 )
void instance_set_transform ( RID arg0, Transform arg1 )
Array instances_cull_aabb ( AABB arg0, RID arg1 ) const
Array instances_cull_convex ( Array arg0, RID arg1 ) const
Array instances_cull_ray ( Vector3 arg0, Vector3 arg1, RID arg2 ) const
RID light_create ( int arg0 )
Color light_get_color ( RID arg0, int arg1 ) const
RID light_get_projector ( RID arg0 ) const
int light_get_type ( RID arg0 ) const
float light_get_var ( RID arg0, int arg1 ) const
bool light_has_shadow ( RID arg0 ) const
bool light_is_volumetric ( RID arg0 ) const
void light_set_color ( RID arg0, int arg1, Color arg2 )
void light_set_projector ( RID arg0, RID arg1 )
void light_set_shadow ( RID arg0, bool arg1 )
void light_set_var ( RID arg0, int arg1, float arg2 )
void light_set_volumetric ( RID arg0, bool arg1 )
RID make_sphere_mesh ( int arg0, int arg1, float arg2 )
RID material_create ( )
int material_get_blend_mode ( RID arg0 ) const
bool material_get_flag ( RID arg0, int arg1 ) const
float material_get_line_width ( RID arg0 ) const
void material_get_param ( RID arg0, String arg1 ) const
RID material_get_shader ( RID arg0 ) const
void material_set_blend_mode ( RID arg0, int arg1 )
void material_set_flag ( RID arg0, int arg1, bool arg2 )
void material_set_line_width ( RID arg0, float arg1 )
void material_set_param ( RID arg0, String arg1, Variant arg2 )
void material_set_shader ( RID shader, RID arg1 )
void mesh_add_surface ( RID arg0, int arg1, Array arg2, Array arg3=Array(), bool arg4=false )
void mesh_add_surface_from_planes ( RID arg0, Array arg1 )
RID mesh_create ( )
int mesh_get_surface_count ( RID arg0 ) const
void mesh_remove_surface ( RID arg0, int arg1 )
int mesh_surface_get_array_index_len ( RID arg0, int arg1 ) const
int mesh_surface_get_array_len ( RID arg0, int arg1 ) const
int mesh_surface_get_format ( RID arg0, int arg1 ) const
RID mesh_surface_get_material ( RID arg0, int arg1 ) const
int mesh_surface_get_primitive_type ( RID arg0, int arg1 ) const
void mesh_surface_set_material ( RID arg0, int arg1, RID arg2, bool arg3=false )
RID multimesh_create ( )
AABB multimesh_get_aabb ( RID arg0, AABB arg1 ) const
RID multimesh_get_mesh ( RID arg0 ) const
Color multimesh_instance_get_color ( RID arg0, int arg1 ) const
Transform multimesh_instance_get_transform ( RID arg0, int arg1 ) const
void multimesh_instance_set_color ( RID arg0, int arg1, Color arg2 )
void multimesh_instance_set_transform ( RID arg0, int arg1, Transform arg2 )
void multimesh_set_aabb ( RID arg0, AABB arg1 )
void multimesh_set_mesh ( RID arg0, RID arg1 )
RID particles_create ( )
int particles_get_amount ( RID arg0 ) const
Vector3 particles_get_attractor_pos ( RID arg0, int arg1 ) const
float particles_get_attractor_strength ( RID arg0, int arg1 ) const
int particles_get_attractors ( RID arg0 ) const
Color particles_get_color_phase_color ( RID arg0, int arg1 ) const
float particles_get_color_phase_pos ( RID arg0, int arg1 ) const
int particles_get_color_phases ( RID arg0 ) const
float particles_get_randomness ( RID arg0, int arg1 ) const
float particles_get_variable ( RID arg0, int arg1 ) const
AABB particles_get_visibility_aabb ( RID arg0 ) const
bool particles_has_height_from_velocity ( RID arg0 ) const
bool particles_is_emitting ( RID arg0 ) const
void particles_set_amount ( RID arg0, int arg1 )
void particles_set_attractor_pos ( RID arg0, int arg1, Vector3 arg2 )
void particles_set_attractor_strength ( RID arg0, int arg1, float arg2 )
void particles_set_attractors ( RID arg0, int arg1 )
void particles_set_color_phase_color ( RID arg0, int arg1, Color arg2 )
void particles_set_color_phase_pos ( RID arg0, int arg1, float arg2 )
void particles_set_color_phases ( RID arg0, int arg1 )
void particles_set_emitting ( RID arg0, bool arg1 )
void particles_set_height_from_velocity ( RID arg0, bool arg1 )
void particles_set_material ( RID arg0, RID arg1, bool arg2=false )
void particles_set_randomness ( RID arg0, int arg1, float arg2 )
void particles_set_variable ( RID arg0, int arg1, float arg2 )
void particles_set_visibility_aabb ( RID arg0, AABB arg1 )
RID portal_create ( )
float portal_get_disable_distance ( RID arg0 ) const
Color portal_get_disabled_color ( RID arg0 ) const
Vector2Array portal_get_shape ( RID arg0 ) const
bool portal_is_enabled ( RID arg0 ) const
void portal_set_disable_distance ( RID arg0, float arg1 )
void portal_set_disabled_color ( RID arg0, Color arg1 )
void portal_set_enabled ( RID arg0, bool arg1 )
void portal_set_shape ( RID arg0, Vector2Array arg1 )
RID room_create ( )
Dictionary room_get_bounds ( RID arg0 ) const
void room_set_bounds ( RID arg0, Dictionary arg1 )
RID scenario_create ( )
void scenario_set_debug ( RID arg0, int arg1 )
void set_default_clear_color ( Color arg0 )
RID shader_create ( int mode=0 )
void shader_set_mode ( RID shader, int mode )
Transform skeleton_bone_get_transform ( RID arg0, int arg1 )
void skeleton_bone_set_transform ( RID arg0, int arg1, Transform arg2 )
RID skeleton_create ( )
int skeleton_get_bone_count ( RID arg0 ) const
void skeleton_resize ( RID arg0, int arg1 )
void sync ( )
RID texture_create ( )
RID texture_create_from_image ( Image arg0, int arg1=7 )
int texture_get_flags ( RID arg0 ) const
int texture_get_height ( RID arg0 ) const
int texture_get_width ( RID arg0 ) const
void texture_set_flags ( RID arg0, int arg1 )
void texture_set_shrink_all_x2_on_set_data ( bool shrink )
void viewport_attach_camera ( RID arg0, RID arg1=RID() )
void viewport_attach_canvas ( RID arg0, RID arg1 )
RID viewport_create ( )
RID viewport_get_attached_camera ( RID arg0 ) const
Rect2 viewport_get_rect ( RID arg0 ) const
RID viewport_get_scenario ( RID arg0 ) const
void viewport_remove_canvas ( RID arg0, RID arg1 )
void viewport_set_canvas_transform ( RID arg0, RID arg1, Matrix32 arg2 )
void viewport_set_global_canvas_transform ( RID arg0, Matrix32 arg1 )
void viewport_set_rect ( RID arg0, Rect2 arg1 )

Numeric Constants

  • NO_INDEX_ARRAY = -1
  • CUSTOM_ARRAY_SIZE = 8
  • ARRAY_WEIGHTS_SIZE = 4
  • MAX_PARTICLE_COLOR_PHASES = 4
  • MAX_PARTICLE_ATTRACTORS = 4
  • MAX_CURSORS = 8
  • TEXTURE_FLAG_MIPMAPS = 1
  • TEXTURE_FLAG_REPEAT = 2
  • TEXTURE_FLAG_FILTER = 4
  • TEXTURE_FLAG_CUBEMAP = 2048
  • TEXTURE_FLAGS_DEFAULT = 7
  • CUBEMAP_LEFT = 0
  • CUBEMAP_RIGHT = 1
  • CUBEMAP_BOTTOM = 2
  • CUBEMAP_TOP = 3
  • CUBEMAP_FRONT = 4
  • CUBEMAP_BACK = 5
  • SHADER_MATERIAL = 0
  • SHADER_POST_PROCESS = 2
  • MATERIAL_FLAG_VISIBLE = 0
  • MATERIAL_FLAG_DOUBLE_SIDED = 1
  • MATERIAL_FLAG_INVERT_FACES = 2
  • MATERIAL_FLAG_UNSHADED = 3
  • MATERIAL_FLAG_ONTOP = 4
  • MATERIAL_FLAG_MAX = 7
  • MATERIAL_BLEND_MODE_MIX = 0
  • MATERIAL_BLEND_MODE_ADD = 1
  • MATERIAL_BLEND_MODE_SUB = 2
  • MATERIAL_BLEND_MODE_MUL = 3
  • FIXED_MATERIAL_PARAM_DIFFUSE = 0
  • FIXED_MATERIAL_PARAM_DETAIL = 1
  • FIXED_MATERIAL_PARAM_SPECULAR = 2
  • FIXED_MATERIAL_PARAM_EMISSION = 3
  • FIXED_MATERIAL_PARAM_SPECULAR_EXP = 4
  • FIXED_MATERIAL_PARAM_GLOW = 5
  • FIXED_MATERIAL_PARAM_NORMAL = 6
  • FIXED_MATERIAL_PARAM_SHADE_PARAM = 7
  • FIXED_MATERIAL_PARAM_MAX = 8
  • FIXED_MATERIAL_TEXCOORD_SPHERE = 3
  • FIXED_MATERIAL_TEXCOORD_UV = 0
  • FIXED_MATERIAL_TEXCOORD_UV_TRANSFORM = 1
  • FIXED_MATERIAL_TEXCOORD_UV2 = 2
  • ARRAY_VERTEX = 0
  • ARRAY_NORMAL = 1
  • ARRAY_TANGENT = 2
  • ARRAY_COLOR = 3
  • ARRAY_TEX_UV = 4
  • ARRAY_BONES = 6
  • ARRAY_WEIGHTS = 7
  • ARRAY_INDEX = 8
  • ARRAY_MAX = 9
  • ARRAY_FORMAT_VERTEX = 1
  • ARRAY_FORMAT_NORMAL = 2
  • ARRAY_FORMAT_TANGENT = 4
  • ARRAY_FORMAT_COLOR = 8
  • ARRAY_FORMAT_TEX_UV = 16
  • ARRAY_FORMAT_BONES = 64
  • ARRAY_FORMAT_WEIGHTS = 128
  • ARRAY_FORMAT_INDEX = 256
  • PRIMITIVE_POINTS = 0
  • PRIMITIVE_LINES = 1
  • PRIMITIVE_LINE_STRIP = 2
  • PRIMITIVE_LINE_LOOP = 3
  • PRIMITIVE_TRIANGLES = 4
  • PRIMITIVE_TRIANGLE_STRIP = 5
  • PRIMITIVE_TRIANGLE_FAN = 6
  • PRIMITIVE_MAX = 7
  • PARTICLE_LIFETIME = 0
  • PARTICLE_SPREAD = 1
  • PARTICLE_GRAVITY = 2
  • PARTICLE_LINEAR_VELOCITY = 3
  • PARTICLE_ANGULAR_VELOCITY = 4
  • PARTICLE_LINEAR_ACCELERATION = 5
  • PARTICLE_RADIAL_ACCELERATION = 6
  • PARTICLE_TANGENTIAL_ACCELERATION = 7
  • PARTICLE_INITIAL_SIZE = 9
  • PARTICLE_FINAL_SIZE = 10
  • PARTICLE_INITIAL_ANGLE = 11
  • PARTICLE_HEIGHT = 12
  • PARTICLE_HEIGHT_SPEED_SCALE = 13
  • PARTICLE_VAR_MAX = 14
  • LIGHT_DIRECTIONAL = 0
  • LIGHT_OMNI = 1
  • LIGHT_SPOT = 2
  • LIGHT_COLOR_DIFFUSE = 0
  • LIGHT_COLOR_SPECULAR = 1
  • LIGHT_PARAM_SPOT_ATTENUATION = 0
  • LIGHT_PARAM_SPOT_ANGLE = 1
  • LIGHT_PARAM_RADIUS = 2
  • LIGHT_PARAM_ENERGY = 3
  • LIGHT_PARAM_ATTENUATION = 4
  • LIGHT_PARAM_MAX = 10
  • SCENARIO_DEBUG_DISABLED = 0
  • SCENARIO_DEBUG_WIREFRAME = 1
  • SCENARIO_DEBUG_OVERDRAW = 2
  • INSTANCE_MESH = 1
  • INSTANCE_MULTIMESH = 2
  • INSTANCE_PARTICLES = 4
  • INSTANCE_LIGHT = 5
  • INSTANCE_ROOM = 6
  • INSTANCE_PORTAL = 7
  • INSTANCE_GEOMETRY_MASK = 30
  • INFO_OBJECTS_IN_FRAME = 0
  • INFO_VERTICES_IN_FRAME = 1
  • INFO_MATERIAL_CHANGES_IN_FRAME = 2
  • INFO_SHADER_CHANGES_IN_FRAME = 3
  • INFO_SURFACE_CHANGES_IN_FRAME = 4
  • INFO_DRAW_CALLS_IN_FRAME = 5
  • INFO_USAGE_VIDEO_MEM_TOTAL = 6
  • INFO_VIDEO_MEM_USED = 7
  • INFO_TEXTURE_MEM_USED = 8
  • INFO_VERTEX_MEM_USED = 9

Description

Server for anything visible. The visual server is the API backend for everything visible. The whole scene system mounts on it to display.

The visual server is completely opaque, the internals are entirely implementation specific and cannot be accessed.

Member Function Description

  • void black_bars_set_images ( RID left, RID top, RID right, RID bottom )
  • void black_bars_set_margins ( int left, int top, int right, int bottom )
  • RID camera_create ( )
  • RID canvas_create ( )
  • void canvas_item_add_texture_rect ( RID arg0, Rect2 arg1, RID arg2, bool arg3, Color arg4=Color(1,1,1,1), bool arg5=false )
  • void canvas_item_add_texture_rect_region ( RID arg0, Rect2 arg1, RID arg2, Rect2 arg3, Color arg4=Color(1,1,1,1), bool arg5=false )
  • void canvas_item_clear ( RID arg0 )
  • RID canvas_item_create ( )
  • RID canvas_item_get_parent ( RID arg0 ) const
  • float canvas_item_get_self_opacity ( RID arg0, float arg1 ) const
  • void canvas_item_raise ( RID arg0 )
  • void canvas_item_set_clip ( RID arg0, bool arg1 )
  • void canvas_item_set_custom_rect ( RID arg0, bool arg1, Rect2 arg2 )
  • void canvas_item_set_opacity ( RID arg0, float arg1 )
  • void canvas_item_set_parent ( RID arg0, RID arg1 )
  • void canvas_item_set_self_opacity ( RID arg0, float arg1 )
  • void canvas_item_set_sort_children_by_y ( RID arg0, bool arg1 )
  • void canvas_item_set_transform ( RID arg0, Matrix32 arg1 )
  • void canvas_item_set_z ( RID arg0, int arg1 )
  • void cursor_set_rotation ( float arg0, int arg1 )
  • void cursor_set_visible ( bool arg0, int arg1 )
  • void draw ( )
  • void free_rid ( RID arg0 )
  • Color get_default_clear_color ( ) const
  • int get_render_info ( int arg0 )
  • RID get_test_cube ( )
  • void instance_attach_object_instance_ID ( RID arg0, int arg1 )
  • void instance_attach_skeleton ( RID arg0, RID arg1 )
  • RID instance_create ( )
  • RID instance_geometry_get_material_param ( RID arg0 ) const
  • RID instance_geometry_override_material_param ( RID arg0 ) const
  • RID instance_get_base ( RID arg0 ) const
  • RID instance_get_base_aabb ( RID arg0 ) const
  • int instance_get_object_instance_ID ( RID arg0 ) const
  • RID instance_get_room ( RID arg0 ) const
  • RID instance_get_skeleton ( RID arg0 ) const
  • bool instance_is_exterior ( RID arg0 ) const
  • void instance_set_exterior ( RID arg0, bool arg1 )
  • void instance_set_room ( RID arg0, RID arg1 )
  • RID light_create ( int arg0 )
  • RID light_get_projector ( RID arg0 ) const
  • int light_get_type ( RID arg0 ) const
  • bool light_has_shadow ( RID arg0 ) const
  • bool light_is_volumetric ( RID arg0 ) const
  • void light_set_color ( RID arg0, int arg1, Color arg2 )
  • void light_set_projector ( RID arg0, RID arg1 )
  • void light_set_shadow ( RID arg0, bool arg1 )
  • void light_set_var ( RID arg0, int arg1, float arg2 )
  • void light_set_volumetric ( RID arg0, bool arg1 )
  • RID material_create ( )
  • int material_get_blend_mode ( RID arg0 ) const
  • bool material_get_flag ( RID arg0, int arg1 ) const
  • float material_get_line_width ( RID arg0 ) const
  • void material_get_param ( RID arg0, String arg1 ) const
  • RID material_get_shader ( RID arg0 ) const
  • void material_set_blend_mode ( RID arg0, int arg1 )
  • void material_set_flag ( RID arg0, int arg1, bool arg2 )
  • void material_set_line_width ( RID arg0, float arg1 )
  • void material_set_shader ( RID shader, RID arg1 )
  • void mesh_add_surface_from_planes ( RID arg0, Array arg1 )
  • RID mesh_create ( )
  • int mesh_get_surface_count ( RID arg0 ) const
  • void mesh_remove_surface ( RID arg0, int arg1 )
  • int mesh_surface_get_array_index_len ( RID arg0, int arg1 ) const
  • int mesh_surface_get_array_len ( RID arg0, int arg1 ) const
  • int mesh_surface_get_format ( RID arg0, int arg1 ) const
  • RID mesh_surface_get_material ( RID arg0, int arg1 ) const
  • int mesh_surface_get_primitive_type ( RID arg0, int arg1 ) const
  • void mesh_surface_set_material ( RID arg0, int arg1, RID arg2, bool arg3=false )
  • RID multimesh_create ( )
  • AABB multimesh_get_aabb ( RID arg0, AABB arg1 ) const
  • RID multimesh_get_mesh ( RID arg0 ) const
  • Color multimesh_instance_get_color ( RID arg0, int arg1 ) const
  • void multimesh_instance_set_color ( RID arg0, int arg1, Color arg2 )
  • void multimesh_instance_set_transform ( RID arg0, int arg1, Transform arg2 )
  • void multimesh_set_aabb ( RID arg0, AABB arg1 )
  • void multimesh_set_mesh ( RID arg0, RID arg1 )
  • RID particles_create ( )
  • int particles_get_amount ( RID arg0 ) const
  • Vector3 particles_get_attractor_pos ( RID arg0, int arg1 ) const
  • float particles_get_attractor_strength ( RID arg0, int arg1 ) const
  • int particles_get_attractors ( RID arg0 ) const
  • Color particles_get_color_phase_color ( RID arg0, int arg1 ) const
  • float particles_get_color_phase_pos ( RID arg0, int arg1 ) const
  • int particles_get_color_phases ( RID arg0 ) const
  • float particles_get_randomness ( RID arg0, int arg1 ) const
  • float particles_get_variable ( RID arg0, int arg1 ) const
  • AABB particles_get_visibility_aabb ( RID arg0 ) const
  • bool particles_has_height_from_velocity ( RID arg0 ) const
  • bool particles_is_emitting ( RID arg0 ) const
  • void particles_set_amount ( RID arg0, int arg1 )
  • void particles_set_attractor_pos ( RID arg0, int arg1, Vector3 arg2 )
  • void particles_set_attractor_strength ( RID arg0, int arg1, float arg2 )
  • void particles_set_attractors ( RID arg0, int arg1 )
  • void particles_set_color_phase_color ( RID arg0, int arg1, Color arg2 )
  • void particles_set_color_phase_pos ( RID arg0, int arg1, float arg2 )
  • void particles_set_color_phases ( RID arg0, int arg1 )
  • void particles_set_emitting ( RID arg0, bool arg1 )
  • void particles_set_height_from_velocity ( RID arg0, bool arg1 )
  • void particles_set_material ( RID arg0, RID arg1, bool arg2=false )
  • void particles_set_randomness ( RID arg0, int arg1, float arg2 )
  • void particles_set_variable ( RID arg0, int arg1, float arg2 )
  • void particles_set_visibility_aabb ( RID arg0, AABB arg1 )
  • RID portal_create ( )
  • float portal_get_disable_distance ( RID arg0 ) const
  • Color portal_get_disabled_color ( RID arg0 ) const
  • bool portal_is_enabled ( RID arg0 ) const
  • void portal_set_disable_distance ( RID arg0, float arg1 )
  • void portal_set_disabled_color ( RID arg0, Color arg1 )
  • void portal_set_enabled ( RID arg0, bool arg1 )
  • RID room_create ( )
  • RID scenario_create ( )
  • void scenario_set_debug ( RID arg0, int arg1 )
  • void set_default_clear_color ( Color arg0 )
  • RID shader_create ( int mode=0 )
  • void shader_set_mode ( RID shader, int mode )
  • RID skeleton_create ( )
  • int skeleton_get_bone_count ( RID arg0 ) const
  • void skeleton_resize ( RID arg0, int arg1 )
  • void sync ( )
  • RID texture_create ( )
  • RID texture_create_from_image ( Image arg0, int arg1=7 )
  • int texture_get_flags ( RID arg0 ) const
  • int texture_get_height ( RID arg0 ) const
  • int texture_get_width ( RID arg0 ) const
  • void texture_set_flags ( RID arg0, int arg1 )
  • void texture_set_shrink_all_x2_on_set_data ( bool shrink )
  • void viewport_attach_camera ( RID arg0, RID arg1=RID() )
  • void viewport_attach_canvas ( RID arg0, RID arg1 )
  • RID viewport_create ( )
  • RID viewport_get_attached_camera ( RID arg0 ) const
  • Rect2 viewport_get_rect ( RID arg0 ) const
  • RID viewport_get_scenario ( RID arg0 ) const
  • void viewport_remove_canvas ( RID arg0, RID arg1 )
  • void viewport_set_canvas_transform ( RID arg0, RID arg1, Matrix32 arg2 )
  • void viewport_set_global_canvas_transform ( RID arg0, Matrix32 arg1 )
  • void viewport_set_rect ( RID arg0, Rect2 arg1 )