From 74cde083b62fe037ca41c382f57fe374bd62a75f Mon Sep 17 00:00:00 2001 From: reduz Date: Thu, 2 Apr 2015 18:09:36 -0300 Subject: [PATCH] Autogen Class List --- class_@gdscript.md | 49 ++++++- class_@global scope.md | 1 + class_area2d.md | 15 ++- class_backbuffercopy.md | 19 +++ class_camera.md | 2 - class_camera2d.md | 1 + class_canvasitem.md | 19 ++- class_canvasitemmaterial.md | 16 +++ class_canvasitemshader.md | 6 + class_canvasitemshadergraph.md | 6 + class_canvasmodulate.md | 12 ++ class_checkbox.md | 6 + class_collisionobject2d.md | 8 ++ class_configfile.md | 4 +- class_control.md | 3 +- class_directory.md | 14 +- class_environment.md | 18 +-- class_file.md | 2 +- class_filedialog.md | 2 + class_font.md | 4 + class_geometry.md | 1 + class_geometryinstance.md | 2 + class_graphedit.md | 20 +++ class_graphnode.md | 39 ++++++ class_httpclient.md | 5 +- class_imagetexture.md | 1 + class_immediategeometry.md | 2 +- class_input.md | 2 + class_inputevent.md | 1 + class_inputeventaction.md | 1 + class_inputeventjoybutton.md | 1 + class_inputeventjoymotion.md | 1 + class_inputeventkey.md | 1 + class_inputeventmousebutton.md | 1 + class_inputeventmousemotion.md | 1 + class_inputeventscreendrag.md | 1 + class_inputeventscreentouch.md | 1 + class_kinematicbody2d.md | 2 +- class_light2d.md | 42 ++++++ class_lightoccluder2d.md | 14 ++ class_list.md | 208 +++++++++++++++-------------- class_materialshader.md | 6 + class_materialshadergraph.md | 6 + class_mutex.md | 2 +- class_navigation.md | 2 +- class_navigation2d.md | 15 +++ class_navigationpolygon.md | 24 ++++ class_navigationpolygoninstance.md | 14 ++ class_node2d.md | 12 +- class_object.md | 1 + class_occluderpolygon2d.md | 21 +++ class_os.md | 19 +++ class_packeddatacontainer.md | 2 +- class_packetpeerudp.md | 4 +- class_particles2d.md | 5 + class_physics2ddirectbodystate.md | 8 +- class_physics2ddirectspacestate.md | 4 +- class_physics2dserver.md | 14 +- class_physicsbody2d.md | 4 + class_quat.md | 1 + class_raycast.md | 5 + class_resourceimportmetadata.md | 2 +- class_resourceloader.md | 4 +- class_rigidbody2d.md | 6 + class_semaphore.md | 4 +- class_shader.md | 3 +- class_shadergraph.md | 187 ++++++++++++++++++++++++++ class_spatial.md | 11 ++ class_streampeerssl.md | 4 +- class_streampeertcp.md | 2 +- class_textedit.md | 2 +- class_texture.md | 8 +- class_texturebutton.md | 4 + class_thread.md | 2 +- class_tilemap.md | 12 +- class_tileset.md | 10 ++ class_toolbutton.md | 6 + class_tween.md | 31 +++-- class_vector2.md | 4 +- class_viewport.md | 4 + class_visibilityenabler2d.md | 3 +- class_visualserver.md | 4 +- class_weakref.md | 11 ++ class_world.md | 1 + class_world2d.md | 1 + 85 files changed, 857 insertions(+), 192 deletions(-) create mode 100644 class_backbuffercopy.md create mode 100644 class_canvasitemmaterial.md create mode 100644 class_canvasitemshader.md create mode 100644 class_canvasitemshadergraph.md create mode 100644 class_canvasmodulate.md create mode 100644 class_checkbox.md create mode 100644 class_graphedit.md create mode 100644 class_graphnode.md create mode 100644 class_light2d.md create mode 100644 class_lightoccluder2d.md create mode 100644 class_materialshader.md create mode 100644 class_materialshadergraph.md create mode 100644 class_navigation2d.md create mode 100644 class_navigationpolygon.md create mode 100644 class_navigationpolygoninstance.md create mode 100644 class_occluderpolygon2d.md create mode 100644 class_shadergraph.md create mode 100644 class_toolbutton.md create mode 100644 class_weakref.md diff --git a/class_@gdscript.md b/class_@gdscript.md index 8069432..14b7ced 100644 --- a/class_@gdscript.md +++ b/class_@gdscript.md @@ -31,7 +31,7 @@ Built-in GDScript functions. * [float](class_float) **[ease](#ease)** **(** [float](class_float) s, [float](class_float) curve **)** * [float](class_float) **[decimals](#decimals)** **(** [float](class_float) step **)** * [float](class_float) **[stepify](#stepify)** **(** [float](class_float) s, [float](class_float) step **)** - * [float](class_float) **[lerp](#lerp)** **(** [float](class_float) a, [float](class_float) b, [float](class_float) c **)** + * [float](class_float) **[lerp](#lerp)** **(** [float](class_float) from, [float](class_float) to, [float](class_float) weight **)** * [float](class_float) **[dectime](#dectime)** **(** [float](class_float) value, [float](class_float) amount, [float](class_float) step **)** * [Nil](class_nil) **[randomize](#randomize)** **(** **)** * [int](class_int) **[randi](#randi)** **(** **)** @@ -46,8 +46,8 @@ Built-in GDScript functions. * [float](class_float) **[min](#min)** **(** [float](class_float) a, [float](class_float) b **)** * [float](class_float) **[clamp](#clamp)** **(** [float](class_float) val, [float](class_float) min, [float](class_float) max **)** * [int](class_int) **[nearest_po2](#nearest_po2)** **(** [int](class_int) val **)** - * [Object](class_object) **[weakref](#weakref)** **(** [Object](class_object) obj **)** - * [Object](class_object) **[funcref](#funcref)** **(** [Object](class_object) instance, [String](class_string) funcname **)** + * [WeakRef](class_weakref) **[weakref](#weakref)** **(** [Object](class_object) obj **)** + * [FuncRef](class_funcref) **[funcref](#funcref)** **(** [Object](class_object) instance, [String](class_string) funcname **)** * [Object](class_object) **[convert](#convert)** **(** var what, [int](class_int) type **)** * [String](class_string) **[str](#str)** **(** var what, var ... **)** * [String](class_string) **[str](#str)** **(** var what, var ... **)** @@ -55,8 +55,10 @@ Built-in GDScript functions. * [Nil](class_nil) **[printt](#printt)** **(** var what, var ... **)** * [Nil](class_nil) **[printerr](#printerr)** **(** var what, var ... **)** * [Nil](class_nil) **[printraw](#printraw)** **(** var what, var ... **)** + * [String](class_string) **[var2str](#var2str)** **(** var var **)** + * [Nil](class_nil) **[str2var:var](#str2var:var)** **(** [String](class_string) string **)** * [Array](class_array) **[range](#range)** **(** var ... **)** - * [Object](class_object) **[load](#load)** **(** [String](class_string) path **)** + * [Resource](class_resource) **[load](#load)** **(** [String](class_string) path **)** * [Dictionary](class_dictionary) **[inst2dict](#inst2dict)** **(** [Object](class_object) inst **)** * [Object](class_object) **[dict2inst](#dict2inst)** **(** [Dictionary](class_dictionary) dict **)** * [int](class_int) **[hash](#hash)** **(** var var:var **)** @@ -201,6 +203,16 @@ Return the amount of decimals in the floating point value. Snap float value to a given step. +#### lerp + * [float](class_float) **lerp** **(** [float](class_float) from, [float](class_float) to, [float](class_float) weight **)** + +Linear interpolates between two values by a normalized value. + +#### dectime + * [float](class_float) **dectime** **(** [float](class_float) value, [float](class_float) amount, [float](class_float) step **)** + +Decreases time by a specified amount. + #### randomize * [Nil](class_nil) **randomize** **(** **)** @@ -272,10 +284,15 @@ Clamp both values to a range. Return the nearest larger power of 2 for an integer. #### weakref - * [Object](class_object) **weakref** **(** [Object](class_object) obj **)** + * [WeakRef](class_weakref) **weakref** **(** [Object](class_object) obj **)** Return a weak reference to an object. +#### funcref + * [FuncRef](class_funcref) **funcref** **(** [Object](class_object) instance, [String](class_string) funcname **)** + +Returns a reference to the specified function + #### convert * [Object](class_object) **convert** **(** var what, [int](class_int) type **)** @@ -296,6 +313,11 @@ Convert one or more arguments to strings in the best way possible. Print one or more arguments to strings in the best way possible to a console line. +#### printt + * [Nil](class_nil) **printt** **(** var what, var ... **)** + +Print one or more arguments to the console with a tab between each argument. + #### printerr * [Nil](class_nil) **printerr** **(** var what, var ... **)** @@ -306,13 +328,23 @@ Print one or more arguments to strings in the best way possible to standard erro Print one or more arguments to strings in the best way possible to console. No newline is added at the end. +#### var2str + * [String](class_string) **var2str** **(** var var **)** + +Converts the value of a variable to a String. + +#### str2var:var + * [Nil](class_nil) **str2var:var** **(** [String](class_string) string **)** + +Converts the value of a String to a variable. + #### range * [Array](class_array) **range** **(** var ... **)** Return an array with the given range. Range can be 1 argument N (0 to N-1), two arguments (initial, final-1) or three arguments (initial,final-1,increment). #### load - * [Object](class_object) **load** **(** [String](class_string) path **)** + * [Resource](class_resource) **load** **(** [String](class_string) path **)** Load a resource from the filesystem, pass a valid path as argument. @@ -329,6 +361,11 @@ Convert a script class instance to a dictionary Convert a previously converted instances to dictionary back into an instance. Useful for deserializing. +#### hash + * [int](class_int) **hash** **(** var var:var **)** + +Hashes the variable passed and returns an integer. + #### print_stack * [Nil](class_nil) **print_stack** **(** **)** diff --git a/class_@global scope.md b/class_@global scope.md index 37c5f79..92a1979 100644 --- a/class_@global scope.md +++ b/class_@global scope.md @@ -294,6 +294,7 @@ Global scope constants and variables. * **KEY_MASK_ALT** = **67108864** * **KEY_MASK_META** = **134217728** * **KEY_MASK_CTRL** = **268435456** + * **KEY_MASK_CMD** = **268435456** * **KEY_MASK_KPAD** = **536870912** * **KEY_MASK_GROUP_SWITCH** = **1073741824** * **BUTTON_LEFT** = **1** diff --git a/class_area2d.md b/class_area2d.md index 4287b86..bc8b299 100644 --- a/class_area2d.md +++ b/class_area2d.md @@ -14,19 +14,30 @@ General purpose area detection and influence for 2D Phisics. * [Vector2](class_vector2) **[get_gravity_vector](#get_gravity_vector)** **(** **)** const * void **[set_gravity](#set_gravity)** **(** [float](class_float) gravity **)** * [float](class_float) **[get_gravity](#get_gravity)** **(** **)** const - * void **[set_density](#set_density)** **(** [float](class_float) density **)** - * [float](class_float) **[get_density](#get_density)** **(** **)** const + * void **[set_linear_damp](#set_linear_damp)** **(** [float](class_float) linear_damp **)** + * [float](class_float) **[get_linear_damp](#get_linear_damp)** **(** **)** const + * void **[set_angular_damp](#set_angular_damp)** **(** [float](class_float) angular_damp **)** + * [float](class_float) **[get_angular_damp](#get_angular_damp)** **(** **)** const * void **[set_priority](#set_priority)** **(** [float](class_float) priority **)** * [float](class_float) **[get_priority](#get_priority)** **(** **)** const * void **[set_enable_monitoring](#set_enable_monitoring)** **(** [bool](class_bool) enable **)** * [bool](class_bool) **[is_monitoring_enabled](#is_monitoring_enabled)** **(** **)** const + * void **[set_monitorable](#set_monitorable)** **(** [bool](class_bool) enable **)** + * [bool](class_bool) **[is_monitorable](#is_monitorable)** **(** **)** const * [Array](class_array) **[get_overlapping_bodies](#get_overlapping_bodies)** **(** **)** const + * [Array](class_array) **[get_overlapping_areas](#get_overlapping_areas)** **(** **)** const + * [PhysicsBody2D](class_physicsbody2d) **[overlaps_body](#overlaps_body)** **(** [Object](class_object) body **)** const + * [Area2D](class_area2d) **[overlaps_area](#overlaps_area)** **(** [Object](class_object) area **)** const ### Signals * **body_enter** **(** [Object](class_object) body **)** * **body_enter_shape** **(** [int](class_int) body_id, [Object](class_object) body, [int](class_int) body_shape, [int](class_int) area_shape **)** + * **area_enter** **(** [Object](class_object) area **)** + * **area_enter_shape** **(** [int](class_int) area_id, [Object](class_object) area, [int](class_int) area_shape, [int](class_int) area_shape **)** * **body_exit** **(** [Object](class_object) body **)** * **body_exit_shape** **(** [int](class_int) body_id, [Object](class_object) body, [int](class_int) body_shape, [int](class_int) area_shape **)** + * **area_exit** **(** [Object](class_object) area **)** + * **area_exit_shape** **(** [int](class_int) area_id, [Object](class_object) area, [int](class_int) area_shape, [int](class_int) area_shape **)** ### Description General purpose area detection for 2D Phisics. Areas can be used for detection of objects that enter/exit them, as well as overriding space parameters (changing gravity, damping, etc). An Area2D can be set as a children to a RigidBody2D to generate a custom gravity field. For this, use SPACE_OVERRIDE_COMBINE and point gravity at the center of mass. diff --git a/class_backbuffercopy.md b/class_backbuffercopy.md new file mode 100644 index 0000000..a00c2aa --- /dev/null +++ b/class_backbuffercopy.md @@ -0,0 +1,19 @@ +# BackBufferCopy +####**Inherits:** [Node2D](class_node2d) +####**Category:** Core + +### Brief Description + + +### Member Functions + * void **[set_rect](#set_rect)** **(** [Rect2](class_rect2) rect **)** + * [Rect2](class_rect2) **[get_rect](#get_rect)** **(** **)** const + * void **[set_copy_mode](#set_copy_mode)** **(** [int](class_int) copy_mode **)** + * [int](class_int) **[get_copy_mode](#get_copy_mode)** **(** **)** const + +### Numeric Constants + * **COPY_MODE_DISALED** = **0** + * **COPY_MODE_RECT** = **1** + * **COPY_MODE_VIEWPORT** = **2** + +### Member Function Description diff --git a/class_camera.md b/class_camera.md index ca9038b..bfc1d4d 100644 --- a/class_camera.md +++ b/class_camera.md @@ -24,8 +24,6 @@ Camera node, displays from a point of view. * [int](class_int) **[get_projection](#get_projection)** **(** **)** const * void **[set_visible_layers](#set_visible_layers)** **(** [int](class_int) mask **)** * [int](class_int) **[get_visible_layers](#get_visible_layers)** **(** **)** const - * void **[look_at](#look_at)** **(** [Vector3](class_vector3) target, [Vector3](class_vector3) up **)** - * void **[look_at_from_pos](#look_at_from_pos)** **(** [Vector3](class_vector3) pos, [Vector3](class_vector3) target, [Vector3](class_vector3) up **)** * void **[set_environment](#set_environment)** **(** [Environment](class_environment) env **)** * [Environment](class_environment) **[get_environment](#get_environment)** **(** **)** const * void **[set_keep_aspect_mode](#set_keep_aspect_mode)** **(** [int](class_int) mode **)** diff --git a/class_camera2d.md b/class_camera2d.md index c85f29c..45dea8c 100644 --- a/class_camera2d.md +++ b/class_camera2d.md @@ -13,6 +13,7 @@ Camera node for 2D scenes. * void **[set_rotating](#set_rotating)** **(** [bool](class_bool) rotating **)** * [bool](class_bool) **[is_rotating](#is_rotating)** **(** **)** const * void **[make_current](#make_current)** **(** **)** + * void **[clear_current](#clear_current)** **(** **)** * [bool](class_bool) **[is_current](#is_current)** **(** **)** const * void **[set_limit](#set_limit)** **(** [int](class_int) margin, [int](class_int) limit **)** * [int](class_int) **[get_limit](#get_limit)** **(** [int](class_int) margin **)** const diff --git a/class_canvasitem.md b/class_canvasitem.md index f2a3678..5c32983 100644 --- a/class_canvasitem.md +++ b/class_canvasitem.md @@ -22,18 +22,20 @@ Base class of anything 2D. * [bool](class_bool) **[is_set_as_toplevel](#is_set_as_toplevel)** **(** **)** const * void **[set_blend_mode](#set_blend_mode)** **(** [int](class_int) blend_mode **)** * [int](class_int) **[get_blend_mode](#get_blend_mode)** **(** **)** const + * void **[set_light_mask](#set_light_mask)** **(** [int](class_int) light_mask **)** + * [int](class_int) **[get_light_mask](#get_light_mask)** **(** **)** const * void **[set_opacity](#set_opacity)** **(** [float](class_float) opacity **)** * [float](class_float) **[get_opacity](#get_opacity)** **(** **)** const * void **[set_self_opacity](#set_self_opacity)** **(** [float](class_float) self_opacity **)** * [float](class_float) **[get_self_opacity](#get_self_opacity)** **(** **)** const - * void **[set_draw_behind_parent](#set_draw_behind_parent)** **(** [bool](class_bool) enabe **)** + * void **[set_draw_behind_parent](#set_draw_behind_parent)** **(** [bool](class_bool) enable **)** * [bool](class_bool) **[is_draw_behind_parent_enabled](#is_draw_behind_parent_enabled)** **(** **)** const * void **[draw_line](#draw_line)** **(** [Vector2](class_vector2) from, [Vector2](class_vector2) to, [Color](class_color) color, [float](class_float) width=1 **)** * void **[draw_rect](#draw_rect)** **(** [Rect2](class_rect2) rect, [Color](class_color) color **)** * void **[draw_circle](#draw_circle)** **(** [Vector2](class_vector2) pos, [float](class_float) radius, [Color](class_color) color **)** * void **[draw_texture](#draw_texture)** **(** [Texture](class_texture) texture, [Vector2](class_vector2) pos **)** - * void **[draw_texture_rect](#draw_texture_rect)** **(** [Texture](class_texture) texture, [Rect2](class_rect2) rect, [bool](class_bool) tile=false, [Color](class_color) modulate=Color(1,1,1,1) **)** - * void **[draw_texture_rect_region](#draw_texture_rect_region)** **(** [Texture](class_texture) texture, [Rect2](class_rect2) rect, [Rect2](class_rect2) src_rect, [Color](class_color) modulate=Color(1,1,1,1) **)** + * void **[draw_texture_rect](#draw_texture_rect)** **(** [Texture](class_texture) texture, [Rect2](class_rect2) rect, [bool](class_bool) tile, [Color](class_color) modulate=false, [bool](class_bool) arg4=Color(1,1,1,1) **)** + * void **[draw_texture_rect_region](#draw_texture_rect_region)** **(** [Texture](class_texture) texture, [Rect2](class_rect2) rect, [Rect2](class_rect2) src_rect, [Color](class_color) modulate, [bool](class_bool) arg4=Color(1,1,1,1) **)** * void **[draw_style_box](#draw_style_box)** **(** [StyleBox](class_stylebox) style_box, [Rect2](class_rect2) rect **)** * void **[draw_primitive](#draw_primitive)** **(** [Vector2Array](class_vector2array) points, [ColorArray](class_colorarray) colors, [Vector2Array](class_vector2array) uvs=Array(), [Texture](class_texture) texture=Object(), [float](class_float) width=1 **)** * void **[draw_polygon](#draw_polygon)** **(** [Vector2Array](class_vector2array) points, [ColorArray](class_colorarray) colors, [Vector2Array](class_vector2array) uvs=Array(), [Texture](class_texture) texture=Object() **)** @@ -43,10 +45,17 @@ Base class of anything 2D. * void **[draw_set_transform](#draw_set_transform)** **(** [Vector2](class_vector2) pos, [float](class_float) rot, [Vector2](class_vector2) scale **)** * [Matrix32](class_matrix32) **[get_transform](#get_transform)** **(** **)** const * [Matrix32](class_matrix32) **[get_global_transform](#get_global_transform)** **(** **)** const + * [Matrix32](class_matrix32) **[get_global_transform_with_canvas](#get_global_transform_with_canvas)** **(** **)** const * [Matrix32](class_matrix32) **[get_viewport_transform](#get_viewport_transform)** **(** **)** const * [Rect2](class_rect2) **[get_viewport_rect](#get_viewport_rect)** **(** **)** const + * [Matrix32](class_matrix32) **[get_canvas_transform](#get_canvas_transform)** **(** **)** const * [RID](class_rid) **[get_canvas](#get_canvas)** **(** **)** const * [Object](class_object) **[get_world_2d](#get_world_2d)** **(** **)** const + * void **[set_material](#set_material)** **(** [CanvasItemMaterial](class_canvasitemmaterial) material **)** + * [CanvasItemMaterial](class_canvasitemmaterial) **[get_material](#get_material)** **(** **)** const + * void **[set_use_parent_material](#set_use_parent_material)** **(** [bool](class_bool) enable **)** + * [bool](class_bool) **[get_use_parent_material](#get_use_parent_material)** **(** **)** const + * [InputEvent](class_inputevent) **[make_input_local](#make_input_local)** **(** [InputEvent](class_inputevent) event **)** const ### Signals * **item_rect_changed** **(** **)** @@ -181,12 +190,12 @@ Draw a colored circle. Draw a texture at a given position. #### draw_texture_rect - * void **draw_texture_rect** **(** [Texture](class_texture) texture, [Rect2](class_rect2) rect, [bool](class_bool) tile=false, [Color](class_color) modulate=Color(1,1,1,1) **)** + * void **draw_texture_rect** **(** [Texture](class_texture) texture, [Rect2](class_rect2) rect, [bool](class_bool) tile, [Color](class_color) modulate=false, [bool](class_bool) arg4=Color(1,1,1,1) **)** Draw a textured rectangle at a given position, optionally modulated by a color. #### draw_texture_rect_region - * void **draw_texture_rect_region** **(** [Texture](class_texture) texture, [Rect2](class_rect2) rect, [Rect2](class_rect2) src_rect, [Color](class_color) modulate=Color(1,1,1,1) **)** + * void **draw_texture_rect_region** **(** [Texture](class_texture) texture, [Rect2](class_rect2) rect, [Rect2](class_rect2) src_rect, [Color](class_color) modulate, [bool](class_bool) arg4=Color(1,1,1,1) **)** Draw a textured rectangle region at a given position, optionally modulated by a color. diff --git a/class_canvasitemmaterial.md b/class_canvasitemmaterial.md new file mode 100644 index 0000000..b2e9042 --- /dev/null +++ b/class_canvasitemmaterial.md @@ -0,0 +1,16 @@ +# CanvasItemMaterial +####**Inherits:** [Resource](class_resource) +####**Category:** Core + +### Brief Description + + +### Member Functions + * void **[set_shader](#set_shader)** **(** [Shader](class_shader) shader **)** + * [Shader](class_shader) **[get_shader](#get_shader)** **(** **)** const + * void **[set_shader_param](#set_shader_param)** **(** [String](class_string) param, var value **)** + * void **[get_shader_param](#get_shader_param)** **(** [String](class_string) param **)** const + * void **[set_unshaded](#set_unshaded)** **(** [bool](class_bool) unshaded **)** + * [bool](class_bool) **[is_unshaded](#is_unshaded)** **(** **)** const + +### Member Function Description diff --git a/class_canvasitemshader.md b/class_canvasitemshader.md new file mode 100644 index 0000000..fac8964 --- /dev/null +++ b/class_canvasitemshader.md @@ -0,0 +1,6 @@ +# CanvasItemShader +####**Inherits:** [Shader](class_shader) +####**Category:** Core + +### Brief Description + diff --git a/class_canvasitemshadergraph.md b/class_canvasitemshadergraph.md new file mode 100644 index 0000000..db75130 --- /dev/null +++ b/class_canvasitemshadergraph.md @@ -0,0 +1,6 @@ +# CanvasItemShaderGraph +####**Inherits:** [ShaderGraph](class_shadergraph) +####**Category:** Core + +### Brief Description + diff --git a/class_canvasmodulate.md b/class_canvasmodulate.md new file mode 100644 index 0000000..a85749b --- /dev/null +++ b/class_canvasmodulate.md @@ -0,0 +1,12 @@ +# CanvasModulate +####**Inherits:** [Node2D](class_node2d) +####**Category:** Core + +### Brief Description + + +### Member Functions + * void **[set_color](#set_color)** **(** [Color](class_color) color **)** + * [Color](class_color) **[get_color](#get_color)** **(** **)** const + +### Member Function Description diff --git a/class_checkbox.md b/class_checkbox.md new file mode 100644 index 0000000..b952941 --- /dev/null +++ b/class_checkbox.md @@ -0,0 +1,6 @@ +# CheckBox +####**Inherits:** [Button](class_button) +####**Category:** Core + +### Brief Description + diff --git a/class_collisionobject2d.md b/class_collisionobject2d.md index 42a7e30..1f05c5c 100644 --- a/class_collisionobject2d.md +++ b/class_collisionobject2d.md @@ -6,6 +6,7 @@ Base node for 2D collisionables. ### Member Functions + * void **[_input_event](#_input_event)** **(** [Object](class_object) viewport, [InputEvent](class_inputevent) event, [int](class_int) shape_idx **)** virtual * void **[add_shape](#add_shape)** **(** [Shape2D](class_shape2d) shape, [Matrix32](class_matrix32) transform=1,0, 0,1, 0,0 **)** * [int](class_int) **[get_shape_count](#get_shape_count)** **(** **)** const * void **[set_shape](#set_shape)** **(** [int](class_int) shape_idx, [Shape](class_shape) shape **)** @@ -17,6 +18,13 @@ Base node for 2D collisionables. * void **[remove_shape](#remove_shape)** **(** [int](class_int) shape_idx **)** * void **[clear_shapes](#clear_shapes)** **(** **)** * [RID](class_rid) **[get_rid](#get_rid)** **(** **)** const + * void **[set_pickable](#set_pickable)** **(** [bool](class_bool) enabled **)** + * [bool](class_bool) **[is_pickable](#is_pickable)** **(** **)** const + +### Signals + * **mouse_enter** **(** **)** + * **input_event** **(** [Object](class_object) viewport, [InputEvent](class_inputevent) event, [int](class_int) shape_idx **)** + * **mouse_exit** **(** **)** ### Description CollisionObject2D is the base class for 2D physics collisionables. They can hold any number of 2D collision shapes. Usually, they are edited by placing CollisionBody2D and CollisionPolygon2D nodes as children. Such nodes are for reference ant not present outside the editor, so code should use the regular shape API. diff --git a/class_configfile.md b/class_configfile.md index 20b6882..73f7bb0 100644 --- a/class_configfile.md +++ b/class_configfile.md @@ -12,7 +12,7 @@ * [bool](class_bool) **[has_section_key](#has_section_key)** **(** [String](class_string) section, [String](class_string) key **)** const * [StringArray](class_stringarray) **[get_sections](#get_sections)** **(** **)** const * [StringArray](class_stringarray) **[get_section_keys](#get_section_keys)** **(** [String](class_string) arg0 **)** const - * [int](class_int) **[load](#load)** **(** [String](class_string) path **)** - * [int](class_int) **[save](#save)** **(** [String](class_string) path **)** + * Error **[load](#load)** **(** [String](class_string) path **)** + * Error **[save](#save)** **(** [String](class_string) path **)** ### Member Function Description diff --git a/class_control.md b/class_control.md index 30f2af9..e1565b3 100644 --- a/class_control.md +++ b/class_control.md @@ -76,6 +76,7 @@ Control is the base node for all the GUI components. * [bool](class_bool) **[is_stopping_mouse](#is_stopping_mouse)** **(** **)** const * void **[grab_click_focus](#grab_click_focus)** **(** **)** * void **[set_drag_preview](#set_drag_preview)** **(** [Control](class_control) control **)** + * void **[warp_mouse](#warp_mouse)** **(** [Vector2](class_vector2) to_pos **)** ### Signals * **focus_enter** **(** **)** @@ -84,7 +85,7 @@ Control is the base node for all the GUI components. * **minimum_size_changed** **(** **)** * **size_flags_changed** **(** **)** * **focus_exit** **(** **)** - * **input_event** **(** **)** + * **input_event** **(** [InputEvent](class_inputevent) ev **)** * **mouse_exit** **(** **)** ### Numeric Constants diff --git a/class_directory.md b/class_directory.md index a8f078d..1f19e93 100644 --- a/class_directory.md +++ b/class_directory.md @@ -6,22 +6,22 @@ ### Member Functions - * [int](class_int) **[open](#open)** **(** [String](class_string) path **)** + * Error **[open](#open)** **(** [String](class_string) path **)** * [bool](class_bool) **[list_dir_begin](#list_dir_begin)** **(** **)** * [String](class_string) **[get_next](#get_next)** **(** **)** * [bool](class_bool) **[current_is_dir](#current_is_dir)** **(** **)** const * void **[list_dir_end](#list_dir_end)** **(** **)** * [int](class_int) **[get_drive_count](#get_drive_count)** **(** **)** * [String](class_string) **[get_drive](#get_drive)** **(** [int](class_int) idx **)** - * [int](class_int) **[change_dir](#change_dir)** **(** [String](class_string) todir **)** + * Error **[change_dir](#change_dir)** **(** [String](class_string) todir **)** * [String](class_string) **[get_current_dir](#get_current_dir)** **(** **)** - * [int](class_int) **[make_dir](#make_dir)** **(** [String](class_string) name **)** - * [int](class_int) **[make_dir_recursive](#make_dir_recursive)** **(** [String](class_string) name **)** + * Error **[make_dir](#make_dir)** **(** [String](class_string) name **)** + * Error **[make_dir_recursive](#make_dir_recursive)** **(** [String](class_string) name **)** * [bool](class_bool) **[file_exists](#file_exists)** **(** [String](class_string) name **)** * [bool](class_bool) **[dir_exists](#dir_exists)** **(** [String](class_string) name **)** * [int](class_int) **[get_space_left](#get_space_left)** **(** **)** - * [int](class_int) **[copy](#copy)** **(** [String](class_string) from, [String](class_string) to **)** - * [int](class_int) **[rename](#rename)** **(** [String](class_string) from, [String](class_string) to **)** - * [int](class_int) **[remove](#remove)** **(** [String](class_string) file **)** + * Error **[copy](#copy)** **(** [String](class_string) from, [String](class_string) to **)** + * Error **[rename](#rename)** **(** [String](class_string) from, [String](class_string) to **)** + * Error **[remove](#remove)** **(** [String](class_string) file **)** ### Member Function Description diff --git a/class_environment.md b/class_environment.md index c176e4a..8526527 100644 --- a/class_environment.md +++ b/class_environment.md @@ -21,15 +21,15 @@ * **BG_COLOR** = **2** * **BG_TEXTURE** = **3** * **BG_CUBEMAP** = **4** - * **BG_TEXTURE_RGBE** = **5** - * **BG_CUBEMAP_RGBE** = **6** - * **BG_MAX** = **7** - * **BG_PARAM_COLOR** = **0** - * **BG_PARAM_TEXTURE** = **1** - * **BG_PARAM_CUBEMAP** = **2** - * **BG_PARAM_ENERGY** = **3** - * **BG_PARAM_GLOW** = **5** - * **BG_PARAM_MAX** = **6** + * **BG_CANVAS** = **5** + * **BG_MAX** = **6** + * **BG_PARAM_CANVAS_MAX_LAYER** = **0** + * **BG_PARAM_COLOR** = **1** + * **BG_PARAM_TEXTURE** = **2** + * **BG_PARAM_CUBEMAP** = **3** + * **BG_PARAM_ENERGY** = **4** + * **BG_PARAM_GLOW** = **6** + * **BG_PARAM_MAX** = **7** * **FX_AMBIENT_LIGHT** = **0** * **FX_FXAA** = **1** * **FX_GLOW** = **2** diff --git a/class_file.md b/class_file.md index 7872a52..e18d989 100644 --- a/class_file.md +++ b/class_file.md @@ -28,7 +28,7 @@ * [String](class_string) **[get_as_text](#get_as_text)** **(** **)** const * [bool](class_bool) **[get_endian_swap](#get_endian_swap)** **(** **)** * void **[set_endian_swap](#set_endian_swap)** **(** [bool](class_bool) enable **)** - * [int](class_int) **[get_error](#get_error)** **(** **)** const + * Error **[get_error](#get_error)** **(** **)** const * void **[get_var](#get_var)** **(** **)** const * [StringArray](class_stringarray) **[get_csv_line](#get_csv_line)** **(** **)** const * void **[store_8](#store_8)** **(** [int](class_int) value **)** diff --git a/class_filedialog.md b/class_filedialog.md index 3b0837e..597f9c0 100644 --- a/class_filedialog.md +++ b/class_filedialog.md @@ -19,6 +19,8 @@ Dialog for selecting files or directories in the filesystem. * [VBoxContainer](class_vboxcontainer) **[get_vbox](#get_vbox)** **(** **)** * void **[set_access](#set_access)** **(** [int](class_int) access **)** * [int](class_int) **[get_access](#get_access)** **(** **)** const + * void **[set_show_hidden_files](#set_show_hidden_files)** **(** [bool](class_bool) arg0 **)** + * [bool](class_bool) **[is_showing_hidden_files](#is_showing_hidden_files)** **(** **)** const * void **[invalidate](#invalidate)** **(** **)** ### Signals diff --git a/class_font.md b/class_font.md index 716d168..9da3ea5 100644 --- a/class_font.md +++ b/class_font.md @@ -15,8 +15,12 @@ Internationalized font and text drawing support. * [int](class_int) **[get_kerning_pair](#get_kerning_pair)** **(** [int](class_int) arg0, [int](class_int) arg1 **)** const * void **[add_texture](#add_texture)** **(** [Texture](class_texture) texture **)** * void **[add_char](#add_char)** **(** [int](class_int) character, [int](class_int) texture, [Rect2](class_rect2) rect, [Vector2](class_vector2) align=Vector2(0,0), [float](class_float) advance=-1 **)** + * [int](class_int) **[get_texture_count](#get_texture_count)** **(** **)** const + * [Texture](class_texture) **[get_texture](#get_texture)** **(** [int](class_int) idx **)** const * [Vector2](class_vector2) **[get_char_size](#get_char_size)** **(** [int](class_int) char, [int](class_int) next=0 **)** const * [Vector2](class_vector2) **[get_string_size](#get_string_size)** **(** [String](class_string) string **)** const + * void **[set_distance_field_hint](#set_distance_field_hint)** **(** [bool](class_bool) enable **)** + * [bool](class_bool) **[is_distance_field_hint](#is_distance_field_hint)** **(** **)** const * void **[clear](#clear)** **(** **)** * void **[draw](#draw)** **(** [RID](class_rid) canvas_item, [Vector2](class_vector2) pos, [String](class_string) string, [Color](class_color) modulate=Color(1,1,1,1), [int](class_int) clip_w=-1 **)** const * [float](class_float) **[draw_char](#draw_char)** **(** [RID](class_rid) canvas_item, [Vector2](class_vector2) pos, [int](class_int) char, [int](class_int) next=-1, [Color](class_color) modulate=Color(1,1,1,1) **)** const diff --git a/class_geometry.md b/class_geometry.md index f6d13dd..a875dcc 100644 --- a/class_geometry.md +++ b/class_geometry.md @@ -20,6 +20,7 @@ * [Vector3Array](class_vector3array) **[segment_intersects_sphere](#segment_intersects_sphere)** **(** [Vector3](class_vector3) from, [Vector3](class_vector3) to, [Vector3](class_vector3) spos, [float](class_float) sradius **)** * [Vector3Array](class_vector3array) **[segment_intersects_cylinder](#segment_intersects_cylinder)** **(** [Vector3](class_vector3) from, [Vector3](class_vector3) to, [float](class_float) height, [float](class_float) radius **)** * [Vector3Array](class_vector3array) **[segment_intersects_convex](#segment_intersects_convex)** **(** [Vector3](class_vector3) from, [Vector3](class_vector3) to, [Array](class_array) planes **)** + * [bool](class_bool) **[point_is_inside_triangle](#point_is_inside_triangle)** **(** [Vector2](class_vector2) point, [Vector2](class_vector2) a, [Vector2](class_vector2) b, [Vector2](class_vector2) c **)** const * [IntArray](class_intarray) **[triangulate_polygon](#triangulate_polygon)** **(** [Vector2Array](class_vector2array) polygon **)** * [Dictionary](class_dictionary) **[make_atlas](#make_atlas)** **(** [Vector2Array](class_vector2array) sizes **)** diff --git a/class_geometryinstance.md b/class_geometryinstance.md index cec47b1..a5e8815 100644 --- a/class_geometryinstance.md +++ b/class_geometryinstance.md @@ -16,6 +16,8 @@ Base node for geometry based visual instances. * [float](class_float) **[get_draw_range_end](#get_draw_range_end)** **(** **)** const * void **[set_baked_light_texture_id](#set_baked_light_texture_id)** **(** [int](class_int) id **)** * [int](class_int) **[get_baked_light_texture_id](#get_baked_light_texture_id)** **(** **)** const + * void **[set_extra_cull_margin](#set_extra_cull_margin)** **(** [float](class_float) margin **)** + * [float](class_float) **[get_extra_cull_margin](#get_extra_cull_margin)** **(** **)** const ### Numeric Constants * **FLAG_VISIBLE** = **0** diff --git a/class_graphedit.md b/class_graphedit.md new file mode 100644 index 0000000..9d91fa1 --- /dev/null +++ b/class_graphedit.md @@ -0,0 +1,20 @@ +# GraphEdit +####**Inherits:** [Control](class_control) +####**Category:** Core + +### Brief Description + + +### Member Functions + * Error **[connect_node](#connect_node)** **(** [String](class_string) from, [int](class_int) from_port, [String](class_string) to, [int](class_int) to_port **)** + * [bool](class_bool) **[is_node_connected](#is_node_connected)** **(** [String](class_string) from, [int](class_int) from_port, [String](class_string) to, [int](class_int) to_port **)** + * void **[disconnect_node](#disconnect_node)** **(** [String](class_string) from, [int](class_int) from_port, [String](class_string) to, [int](class_int) to_port **)** + * [Array](class_array) **[get_connection_list](#get_connection_list)** **(** **)** const + * void **[set_right_disconnects](#set_right_disconnects)** **(** [bool](class_bool) enable **)** + * [bool](class_bool) **[is_right_disconnects_enabled](#is_right_disconnects_enabled)** **(** **)** const + +### Signals + * **disconnection_request** **(** [String](class_string) from, [int](class_int) from_slot, [String](class_string) to, [int](class_int) to_slot **)** + * **connection_request** **(** [String](class_string) from, [int](class_int) from_slot, [String](class_string) to, [int](class_int) to_slot **)** + +### Member Function Description diff --git a/class_graphnode.md b/class_graphnode.md new file mode 100644 index 0000000..de82f7b --- /dev/null +++ b/class_graphnode.md @@ -0,0 +1,39 @@ +# GraphNode +####**Inherits:** [Container](class_container) +####**Category:** Core + +### Brief Description + + +### Member Functions + * void **[set_title](#set_title)** **(** [String](class_string) title **)** + * [String](class_string) **[get_title](#get_title)** **(** **)** const + * void **[set_slot](#set_slot)** **(** [int](class_int) idx, [bool](class_bool) enable_left, [int](class_int) type_left, [Color](class_color) color_left, [bool](class_bool) enable_right, [int](class_int) type_right, [Color](class_color) color_right **)** + * void **[clear_slot](#clear_slot)** **(** [int](class_int) idx **)** + * void **[clear_all_slots](#clear_all_slots)** **(** **)** + * [bool](class_bool) **[is_slot_enabled_left](#is_slot_enabled_left)** **(** [int](class_int) idx **)** const + * [int](class_int) **[get_slot_type_left](#get_slot_type_left)** **(** [int](class_int) idx **)** const + * [Color](class_color) **[get_slot_color_left](#get_slot_color_left)** **(** [int](class_int) idx **)** const + * [bool](class_bool) **[is_slot_enabled_right](#is_slot_enabled_right)** **(** [int](class_int) idx **)** const + * [int](class_int) **[get_slot_type_right](#get_slot_type_right)** **(** [int](class_int) idx **)** const + * [Color](class_color) **[get_slot_color_right](#get_slot_color_right)** **(** [int](class_int) idx **)** const + * void **[set_offset](#set_offset)** **(** [Vector2](class_vector2) offset **)** + * [Vector2](class_vector2) **[get_offset](#get_offset)** **(** **)** const + * [int](class_int) **[get_connection_output_count](#get_connection_output_count)** **(** **)** + * [int](class_int) **[get_connection_input_count](#get_connection_input_count)** **(** **)** + * [Vector2](class_vector2) **[get_connection_output_pos](#get_connection_output_pos)** **(** [int](class_int) idx **)** + * [int](class_int) **[get_connection_output_type](#get_connection_output_type)** **(** [int](class_int) idx **)** + * [Color](class_color) **[get_connection_output_color](#get_connection_output_color)** **(** [int](class_int) idx **)** + * [Vector2](class_vector2) **[get_connection_input_pos](#get_connection_input_pos)** **(** [int](class_int) idx **)** + * [int](class_int) **[get_connection_input_type](#get_connection_input_type)** **(** [int](class_int) idx **)** + * [Color](class_color) **[get_connection_input_color](#get_connection_input_color)** **(** [int](class_int) idx **)** + * void **[set_show_close_button](#set_show_close_button)** **(** [bool](class_bool) show **)** + * [bool](class_bool) **[is_close_button_visible](#is_close_button_visible)** **(** **)** const + +### Signals + * **raise_request** **(** **)** + * **close_request** **(** **)** + * **dragged** **(** [Vector2](class_vector2) from, [Vector2](class_vector2) to **)** + * **offset_changed** **(** **)** + +### Member Function Description diff --git a/class_httpclient.md b/class_httpclient.md index cff51b0..3f7b2b9 100644 --- a/class_httpclient.md +++ b/class_httpclient.md @@ -6,7 +6,7 @@ ### Member Functions - * [int](class_int) **[connect](#connect)** **(** [String](class_string) host, [int](class_int) port, [bool](class_bool) use_ssl=false, [bool](class_bool) arg3=true **)** + * Error **[connect](#connect)** **(** [String](class_string) host, [int](class_int) port, [bool](class_bool) use_ssl=false, [bool](class_bool) arg3=true **)** * void **[set_connection](#set_connection)** **(** [StreamPeer](class_streampeer) connection **)** * [int](class_int) **[request](#request)** **(** [int](class_int) method, [String](class_string) url, [StringArray](class_stringarray) headers, [String](class_string) body="" **)** * [int](class_int) **[send_body_text](#send_body_text)** **(** [String](class_string) body **)** @@ -19,10 +19,11 @@ * [Dictionary](class_dictionary) **[get_response_headers_as_dictionary](#get_response_headers_as_dictionary)** **(** **)** * [int](class_int) **[get_response_body_length](#get_response_body_length)** **(** **)** const * [RawArray](class_rawarray) **[read_response_body_chunk](#read_response_body_chunk)** **(** **)** + * void **[set_read_chunk_size](#set_read_chunk_size)** **(** [int](class_int) bytes **)** * void **[set_blocking_mode](#set_blocking_mode)** **(** [bool](class_bool) enabled **)** * [bool](class_bool) **[is_blocking_mode_enabled](#is_blocking_mode_enabled)** **(** **)** const * [int](class_int) **[get_status](#get_status)** **(** **)** const - * [int](class_int) **[poll](#poll)** **(** **)** + * Error **[poll](#poll)** **(** **)** ### Numeric Constants * **METHOD_GET** = **0** diff --git a/class_imagetexture.md b/class_imagetexture.md index b7adbb4..232807a 100644 --- a/class_imagetexture.md +++ b/class_imagetexture.md @@ -18,6 +18,7 @@ * [float](class_float) **[get_lossy_storage_quality](#get_lossy_storage_quality)** **(** **)** const * void **[fix_alpha_edges](#fix_alpha_edges)** **(** **)** * void **[premultiply_alpha](#premultiply_alpha)** **(** **)** + * void **[normal_to_xy](#normal_to_xy)** **(** **)** * void **[set_size_override](#set_size_override)** **(** [Vector2](class_vector2) size **)** ### Numeric Constants diff --git a/class_immediategeometry.md b/class_immediategeometry.md index 831a088..9d4c7f9 100644 --- a/class_immediategeometry.md +++ b/class_immediategeometry.md @@ -12,7 +12,7 @@ * void **[set_color](#set_color)** **(** [Color](class_color) color **)** * void **[set_uv](#set_uv)** **(** [Vector2](class_vector2) uv **)** * void **[set_uv2](#set_uv2)** **(** [Vector2](class_vector2) uv **)** - * void **[add_vertex](#add_vertex)** **(** [Vector3](class_vector3) color **)** + * void **[add_vertex](#add_vertex)** **(** [Vector3](class_vector3) pos **)** * void **[add_sphere](#add_sphere)** **(** [int](class_int) lats, [int](class_int) lons, [float](class_float) radius **)** * void **[end](#end)** **(** **)** * void **[clear](#clear)** **(** **)** diff --git a/class_input.md b/class_input.md index 7156c07..8f1d982 100644 --- a/class_input.md +++ b/class_input.md @@ -19,6 +19,8 @@ * void **[set_mouse_mode](#set_mouse_mode)** **(** [int](class_int) mode **)** * [int](class_int) **[get_mouse_mode](#get_mouse_mode)** **(** **)** const * void **[warp_mouse_pos](#warp_mouse_pos)** **(** [Vector2](class_vector2) to **)** + * void **[action_press](#action_press)** **(** [String](class_string) arg0 **)** + * void **[action_release](#action_release)** **(** [String](class_string) arg0 **)** ### Signals * **joy_connection_changed** **(** [int](class_int) index, [bool](class_bool) connected **)** diff --git a/class_inputevent.md b/class_inputevent.md index 5be6216..09380fb 100644 --- a/class_inputevent.md +++ b/class_inputevent.md @@ -8,6 +8,7 @@ Built-in input event data. * [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)** * [bool](class_bool) **[is_echo](#is_echo)** **(** **)** * [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)** + * void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)** ### Member Variables * [int](class_int) **type** diff --git a/class_inputeventaction.md b/class_inputeventaction.md index 61cd206..28dfffb 100644 --- a/class_inputeventaction.md +++ b/class_inputeventaction.md @@ -8,6 +8,7 @@ * [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)** * [bool](class_bool) **[is_echo](#is_echo)** **(** **)** * [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)** + * void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)** ### Member Variables * [int](class_int) **type** diff --git a/class_inputeventjoybutton.md b/class_inputeventjoybutton.md index cb8ecf8..a94e7b7 100644 --- a/class_inputeventjoybutton.md +++ b/class_inputeventjoybutton.md @@ -8,6 +8,7 @@ * [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)** * [bool](class_bool) **[is_echo](#is_echo)** **(** **)** * [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)** + * void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)** ### Member Variables * [int](class_int) **type** diff --git a/class_inputeventjoymotion.md b/class_inputeventjoymotion.md index 2d0bc54..1dc318d 100644 --- a/class_inputeventjoymotion.md +++ b/class_inputeventjoymotion.md @@ -8,6 +8,7 @@ * [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)** * [bool](class_bool) **[is_echo](#is_echo)** **(** **)** * [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)** + * void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)** ### Member Variables * [int](class_int) **type** diff --git a/class_inputeventkey.md b/class_inputeventkey.md index 40732a1..271354c 100644 --- a/class_inputeventkey.md +++ b/class_inputeventkey.md @@ -8,6 +8,7 @@ * [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)** * [bool](class_bool) **[is_echo](#is_echo)** **(** **)** * [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)** + * void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)** ### Member Variables * [int](class_int) **type** diff --git a/class_inputeventmousebutton.md b/class_inputeventmousebutton.md index 0a92d60..e9551b9 100644 --- a/class_inputeventmousebutton.md +++ b/class_inputeventmousebutton.md @@ -8,6 +8,7 @@ * [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)** * [bool](class_bool) **[is_echo](#is_echo)** **(** **)** * [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)** + * void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)** ### Member Variables * [int](class_int) **type** diff --git a/class_inputeventmousemotion.md b/class_inputeventmousemotion.md index 211a6d4..b16f016 100644 --- a/class_inputeventmousemotion.md +++ b/class_inputeventmousemotion.md @@ -8,6 +8,7 @@ * [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)** * [bool](class_bool) **[is_echo](#is_echo)** **(** **)** * [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)** + * void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)** ### Member Variables * [int](class_int) **type** diff --git a/class_inputeventscreendrag.md b/class_inputeventscreendrag.md index 477291a..3f29060 100644 --- a/class_inputeventscreendrag.md +++ b/class_inputeventscreendrag.md @@ -8,6 +8,7 @@ * [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)** * [bool](class_bool) **[is_echo](#is_echo)** **(** **)** * [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)** + * void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)** ### Member Variables * [int](class_int) **type** diff --git a/class_inputeventscreentouch.md b/class_inputeventscreentouch.md index 7c5be8c..e9c6b8e 100644 --- a/class_inputeventscreentouch.md +++ b/class_inputeventscreentouch.md @@ -8,6 +8,7 @@ * [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)** * [bool](class_bool) **[is_echo](#is_echo)** **(** **)** * [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)** + * void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)** ### Member Variables * [int](class_int) **type** diff --git a/class_kinematicbody2d.md b/class_kinematicbody2d.md index 5efd882..6a1cbe2 100644 --- a/class_kinematicbody2d.md +++ b/class_kinematicbody2d.md @@ -8,7 +8,7 @@ ### Member Functions * [Vector2](class_vector2) **[move](#move)** **(** [Vector2](class_vector2) rel_vec **)** * [Vector2](class_vector2) **[move_to](#move_to)** **(** [Vector2](class_vector2) position **)** - * [bool](class_bool) **[can_move_to](#can_move_to)** **(** [Vector2](class_vector2) position, [bool](class_bool) arg1 **)** + * [bool](class_bool) **[can_move_to](#can_move_to)** **(** [Vector2](class_vector2) position, [bool](class_bool) discrete=false **)** * [bool](class_bool) **[is_colliding](#is_colliding)** **(** **)** const * [Vector2](class_vector2) **[get_collision_pos](#get_collision_pos)** **(** **)** const * [Vector2](class_vector2) **[get_collision_normal](#get_collision_normal)** **(** **)** const diff --git a/class_light2d.md b/class_light2d.md new file mode 100644 index 0000000..f46ab08 --- /dev/null +++ b/class_light2d.md @@ -0,0 +1,42 @@ +# Light2D +####**Inherits:** [Node2D](class_node2d) +####**Category:** Core + +### Brief Description + + +### Member Functions + * void **[set_enabled](#set_enabled)** **(** [bool](class_bool) enabled **)** + * [bool](class_bool) **[is_enabled](#is_enabled)** **(** **)** const + * void **[set_texture](#set_texture)** **(** [Object](class_object) texture **)** + * [Object](class_object) **[get_texture](#get_texture)** **(** **)** const + * void **[set_texture_offset](#set_texture_offset)** **(** [Vector2](class_vector2) texture_offset **)** + * [Vector2](class_vector2) **[get_texture_offset](#get_texture_offset)** **(** **)** const + * void **[set_color](#set_color)** **(** [Color](class_color) color **)** + * [Color](class_color) **[get_color](#get_color)** **(** **)** const + * void **[set_height](#set_height)** **(** [float](class_float) height **)** + * [float](class_float) **[get_height](#get_height)** **(** **)** const + * void **[set_texture_scale](#set_texture_scale)** **(** [float](class_float) texture_scale **)** + * [float](class_float) **[get_texture_scale](#get_texture_scale)** **(** **)** const + * void **[set_z_range_min](#set_z_range_min)** **(** [int](class_int) z **)** + * [int](class_int) **[get_z_range_min](#get_z_range_min)** **(** **)** const + * void **[set_z_range_max](#set_z_range_max)** **(** [int](class_int) z **)** + * [int](class_int) **[get_z_range_max](#get_z_range_max)** **(** **)** const + * void **[set_layer_range_min](#set_layer_range_min)** **(** [int](class_int) layer **)** + * [int](class_int) **[get_layer_range_min](#get_layer_range_min)** **(** **)** const + * void **[set_layer_range_max](#set_layer_range_max)** **(** [int](class_int) layer **)** + * [int](class_int) **[get_layer_range_max](#get_layer_range_max)** **(** **)** const + * void **[set_item_mask](#set_item_mask)** **(** [int](class_int) item_mask **)** + * [int](class_int) **[get_item_mask](#get_item_mask)** **(** **)** const + * void **[set_item_shadow_mask](#set_item_shadow_mask)** **(** [int](class_int) item_shadow_mask **)** + * [int](class_int) **[get_item_shadow_mask](#get_item_shadow_mask)** **(** **)** const + * void **[set_subtract_mode](#set_subtract_mode)** **(** [bool](class_bool) enable **)** + * [bool](class_bool) **[get_subtract_mode](#get_subtract_mode)** **(** **)** const + * void **[set_shadow_enabled](#set_shadow_enabled)** **(** [bool](class_bool) enabled **)** + * [bool](class_bool) **[is_shadow_enabled](#is_shadow_enabled)** **(** **)** const + * void **[set_shadow_buffer_size](#set_shadow_buffer_size)** **(** [int](class_int) size **)** + * [int](class_int) **[get_shadow_buffer_size](#get_shadow_buffer_size)** **(** **)** const + * void **[set_shadow_esm_multiplier](#set_shadow_esm_multiplier)** **(** [float](class_float) multiplier **)** + * [float](class_float) **[get_shadow_esm_multiplier](#get_shadow_esm_multiplier)** **(** **)** const + +### Member Function Description diff --git a/class_lightoccluder2d.md b/class_lightoccluder2d.md new file mode 100644 index 0000000..5539c71 --- /dev/null +++ b/class_lightoccluder2d.md @@ -0,0 +1,14 @@ +# LightOccluder2D +####**Inherits:** [Node2D](class_node2d) +####**Category:** Core + +### Brief Description + + +### Member Functions + * void **[set_occluder_polygon](#set_occluder_polygon)** **(** [OccluderPolygon2D](class_occluderpolygon2d) polygon **)** + * [OccluderPolygon2D](class_occluderpolygon2d) **[get_occluder_polygon](#get_occluder_polygon)** **(** **)** const + * void **[set_occluder_light_mask](#set_occluder_light_mask)** **(** [int](class_int) mask **)** + * [int](class_int) **[get_occluder_light_mask](#get_occluder_light_mask)** **(** **)** const + +### Member Function Description diff --git a/class_list.md b/class_list.md index 40f0418..a004762 100644 --- a/class_list.md +++ b/class_list.md @@ -1,45 +1,51 @@ | | | | | | --- | ------- | --- | ------- | -| **@** | [@GDScript](class_@gdscript) | | [Path2D](class_path2d) | -| | [@Global Scope](class_@global scope) | | [PathFollow](class_pathfollow) | -| **A** | [AABB](class_aabb) | | [PathFollow2D](class_pathfollow2d) | -| | [AcceptDialog](class_acceptdialog) | | [PathRemap](class_pathremap) | -| | [AnimatedSprite](class_animatedsprite) | | [Performance](class_performance) | -| | [AnimatedSprite3D](class_animatedsprite3d) | | [Physics2DDirectBodyState](class_physics2ddirectbodystate) | -| | [Animation](class_animation) | | [Physics2DDirectBodyStateSW](class_physics2ddirectbodystatesw) | -| | [AnimationPlayer](class_animationplayer) | | [Physics2DDirectSpaceState](class_physics2ddirectspacestate) | -| | [AnimationTreePlayer](class_animationtreeplayer) | | [Physics2DServer](class_physics2dserver) | -| | [Area](class_area) | | [Physics2DServerSW](class_physics2dserversw) | -| | [Area2D](class_area2d) | | [Physics2DShapeQueryParameters](class_physics2dshapequeryparameters) | -| | [Array](class_array) | | [Physics2DShapeQueryResult](class_physics2dshapequeryresult) | -| | [AtlasTexture](class_atlastexture) | | [PhysicsBody](class_physicsbody) | -| | [AudioServer](class_audioserver) | | [PhysicsBody2D](class_physicsbody2d) | -| | [AudioServerSW](class_audioserversw) | | [PhysicsDirectBodyState](class_physicsdirectbodystate) | -| | [AudioStream](class_audiostream) | | [PhysicsDirectBodyStateSW](class_physicsdirectbodystatesw) | -| | [AudioStreamGibberish](class_audiostreamgibberish) | | [PhysicsDirectSpaceState](class_physicsdirectspacestate) | -| | [AudioStreamMPC](class_audiostreammpc) | | [PhysicsServer](class_physicsserver) | -| | [AudioStreamOGGVorbis](class_audiostreamoggvorbis) | | [PhysicsServerSW](class_physicsserversw) | -| | [AudioStreamResampled](class_audiostreamresampled) | | [PhysicsShapeQueryParameters](class_physicsshapequeryparameters) | -| | [AudioStreamSpeex](class_audiostreamspeex) | | [PhysicsShapeQueryResult](class_physicsshapequeryresult) | -| **B** | [BakedLight](class_bakedlight) | | [PinJoint](class_pinjoint) | -| | [BakedLightInstance](class_bakedlightinstance) | | [PinJoint2D](class_pinjoint2d) | -| | [BakedLightSampler](class_bakedlightsampler) | | [Plane](class_plane) | -| | [BaseButton](class_basebutton) | | [PlaneShape](class_planeshape) | -| | [BitMap](class_bitmap) | | [Polygon2D](class_polygon2d) | -| | [BoneAttachment](class_boneattachment) | | [PolygonPathFinder](class_polygonpathfinder) | -| | [BoxContainer](class_boxcontainer) | | [Popup](class_popup) | -| | [BoxShape](class_boxshape) | | [PopupDialog](class_popupdialog) | -| | [Button](class_button) | | [PopupMenu](class_popupmenu) | -| | [ButtonArray](class_buttonarray) | | [PopupPanel](class_popuppanel) | -| | [ButtonGroup](class_buttongroup) | | [Portal](class_portal) | -| **C** | [Camera](class_camera) | | [Position2D](class_position2d) | -| | [Camera2D](class_camera2d) | | [Position3D](class_position3d) | -| | [CanvasItem](class_canvasitem) | | [ProgressBar](class_progressbar) | -| | [CanvasLayer](class_canvaslayer) | | [ProximityGroup](class_proximitygroup) | -| | [CapsuleShape](class_capsuleshape) | **Q** | [Quad](class_quad) | -| | [CapsuleShape2D](class_capsuleshape2d) | | [Quat](class_quat) | -| | [CenterContainer](class_centercontainer) | **R** | [RID](class_rid) | +| **@** | [@GDScript](class_@gdscript) | | [ParallaxBackground](class_parallaxbackground) | +| | [@Global Scope](class_@global scope) | | [ParallaxLayer](class_parallaxlayer) | +| **A** | [AABB](class_aabb) | | [ParticleAttractor2D](class_particleattractor2d) | +| | [AcceptDialog](class_acceptdialog) | | [Particles](class_particles) | +| | [AnimatedSprite](class_animatedsprite) | | [Particles2D](class_particles2d) | +| | [AnimatedSprite3D](class_animatedsprite3d) | | [Path](class_path) | +| | [Animation](class_animation) | | [Path2D](class_path2d) | +| | [AnimationPlayer](class_animationplayer) | | [PathFollow](class_pathfollow) | +| | [AnimationTreePlayer](class_animationtreeplayer) | | [PathFollow2D](class_pathfollow2d) | +| | [Area](class_area) | | [PathRemap](class_pathremap) | +| | [Area2D](class_area2d) | | [Performance](class_performance) | +| | [Array](class_array) | | [Physics2DDirectBodyState](class_physics2ddirectbodystate) | +| | [AtlasTexture](class_atlastexture) | | [Physics2DDirectBodyStateSW](class_physics2ddirectbodystatesw) | +| | [AudioServer](class_audioserver) | | [Physics2DDirectSpaceState](class_physics2ddirectspacestate) | +| | [AudioServerSW](class_audioserversw) | | [Physics2DServer](class_physics2dserver) | +| | [AudioStream](class_audiostream) | | [Physics2DServerSW](class_physics2dserversw) | +| | [AudioStreamGibberish](class_audiostreamgibberish) | | [Physics2DShapeQueryParameters](class_physics2dshapequeryparameters) | +| | [AudioStreamMPC](class_audiostreammpc) | | [Physics2DShapeQueryResult](class_physics2dshapequeryresult) | +| | [AudioStreamOGGVorbis](class_audiostreamoggvorbis) | | [PhysicsBody](class_physicsbody) | +| | [AudioStreamResampled](class_audiostreamresampled) | | [PhysicsBody2D](class_physicsbody2d) | +| | [AudioStreamSpeex](class_audiostreamspeex) | | [PhysicsDirectBodyState](class_physicsdirectbodystate) | +| **B** | [BackBufferCopy](class_backbuffercopy) | | [PhysicsDirectBodyStateSW](class_physicsdirectbodystatesw) | +| | [BakedLight](class_bakedlight) | | [PhysicsDirectSpaceState](class_physicsdirectspacestate) | +| | [BakedLightInstance](class_bakedlightinstance) | | [PhysicsServer](class_physicsserver) | +| | [BakedLightSampler](class_bakedlightsampler) | | [PhysicsServerSW](class_physicsserversw) | +| | [BaseButton](class_basebutton) | | [PhysicsShapeQueryParameters](class_physicsshapequeryparameters) | +| | [BitMap](class_bitmap) | | [PhysicsShapeQueryResult](class_physicsshapequeryresult) | +| | [BoneAttachment](class_boneattachment) | | [PinJoint](class_pinjoint) | +| | [BoxContainer](class_boxcontainer) | | [PinJoint2D](class_pinjoint2d) | +| | [BoxShape](class_boxshape) | | [Plane](class_plane) | +| | [Button](class_button) | | [PlaneShape](class_planeshape) | +| | [ButtonArray](class_buttonarray) | | [Polygon2D](class_polygon2d) | +| | [ButtonGroup](class_buttongroup) | | [PolygonPathFinder](class_polygonpathfinder) | +| **C** | [Camera](class_camera) | | [Popup](class_popup) | +| | [Camera2D](class_camera2d) | | [PopupDialog](class_popupdialog) | +| | [CanvasItem](class_canvasitem) | | [PopupMenu](class_popupmenu) | +| | [CanvasItemMaterial](class_canvasitemmaterial) | | [PopupPanel](class_popuppanel) | +| | [CanvasItemShader](class_canvasitemshader) | | [Portal](class_portal) | +| | [CanvasItemShaderGraph](class_canvasitemshadergraph) | | [Position2D](class_position2d) | +| | [CanvasLayer](class_canvaslayer) | | [Position3D](class_position3d) | +| | [CanvasModulate](class_canvasmodulate) | | [ProgressBar](class_progressbar) | +| | [CapsuleShape](class_capsuleshape) | | [ProximityGroup](class_proximitygroup) | +| | [CapsuleShape2D](class_capsuleshape2d) | **Q** | [Quad](class_quad) | +| | [CenterContainer](class_centercontainer) | | [Quat](class_quat) | +| | [CheckBox](class_checkbox) | **R** | [RID](class_rid) | | | [CheckButton](class_checkbutton) | | [Range](class_range) | | | [CircleShape2D](class_circleshape2d) | | [RawArray](class_rawarray) | | | [CollisionObject](class_collisionobject) | | [RayCast](class_raycast) | @@ -72,23 +78,24 @@ | | [EditorPlugin](class_editorplugin) | | [SceneTree](class_scenetree) | | | [EditorScenePostImport](class_editorscenepostimport) | | [Script](class_script) | | | [EditorScript](class_editorscript) | | [ScrollBar](class_scrollbar) | -| | [EmptyControl](class_emptycontrol) | | [ScrollContainer](class_scrollcontainer) | -| | [Environment](class_environment) | | [SegmentShape2D](class_segmentshape2d) | -| | [EventPlayer](class_eventplayer) | | [Semaphore](class_semaphore) | -| | [EventStream](class_eventstream) | | [Separator](class_separator) | -| | [EventStreamChibi](class_eventstreamchibi) | | [Shader](class_shader) | -| **F** | [File](class_file) | | [ShaderMaterial](class_shadermaterial) | -| | [FileDialog](class_filedialog) | | [Shape](class_shape) | -| | [FixedMaterial](class_fixedmaterial) | | [Shape2D](class_shape2d) | -| | [Font](class_font) | | [Skeleton](class_skeleton) | -| | [FuncRef](class_funcref) | | [Slider](class_slider) | -| **G** | [GDFunctionState](class_gdfunctionstate) | | [SliderJoint](class_sliderjoint) | -| | [GDNativeClass](class_gdnativeclass) | | [SoundPlayer2D](class_soundplayer2d) | -| | [GDScript](class_gdscript) | | [SoundRoomParams](class_soundroomparams) | -| | [Generic6DOFJoint](class_generic6dofjoint) | | [Spatial](class_spatial) | -| | [Geometry](class_geometry) | | [SpatialPlayer](class_spatialplayer) | -| | [GeometryInstance](class_geometryinstance) | | [SpatialSamplePlayer](class_spatialsampleplayer) | -| | [Globals](class_globals) | | [SpatialSound2DServer](class_spatialsound2dserver) | +| | [Environment](class_environment) | | [ScrollContainer](class_scrollcontainer) | +| | [EventPlayer](class_eventplayer) | | [SegmentShape2D](class_segmentshape2d) | +| | [EventStream](class_eventstream) | | [Semaphore](class_semaphore) | +| | [EventStreamChibi](class_eventstreamchibi) | | [Separator](class_separator) | +| **F** | [File](class_file) | | [Shader](class_shader) | +| | [FileDialog](class_filedialog) | | [ShaderGraph](class_shadergraph) | +| | [FixedMaterial](class_fixedmaterial) | | [ShaderMaterial](class_shadermaterial) | +| | [Font](class_font) | | [Shape](class_shape) | +| | [FuncRef](class_funcref) | | [Shape2D](class_shape2d) | +| **G** | [GDFunctionState](class_gdfunctionstate) | | [Skeleton](class_skeleton) | +| | [GDNativeClass](class_gdnativeclass) | | [Slider](class_slider) | +| | [GDScript](class_gdscript) | | [SliderJoint](class_sliderjoint) | +| | [Generic6DOFJoint](class_generic6dofjoint) | | [SoundPlayer2D](class_soundplayer2d) | +| | [Geometry](class_geometry) | | [SoundRoomParams](class_soundroomparams) | +| | [GeometryInstance](class_geometryinstance) | | [Spatial](class_spatial) | +| | [Globals](class_globals) | | [SpatialPlayer](class_spatialplayer) | +| | [GraphEdit](class_graphedit) | | [SpatialSamplePlayer](class_spatialsampleplayer) | +| | [GraphNode](class_graphnode) | | [SpatialSound2DServer](class_spatialsound2dserver) | | | [GridContainer](class_gridcontainer) | | [SpatialSound2DServerSW](class_spatialsound2dserversw) | | | [GridMap](class_gridmap) | | [SpatialSoundServer](class_spatialsoundserver) | | | [GrooveJoint2D](class_groovejoint2d) | | [SpatialSoundServerSW](class_spatialsoundserversw) | @@ -126,47 +133,48 @@ | **L** | [Label](class_label) | | [TextureProgress](class_textureprogress) | | | [LargeTexture](class_largetexture) | | [Theme](class_theme) | | | [Light](class_light) | | [Thread](class_thread) | -| | [LineEdit](class_lineedit) | | [TileMap](class_tilemap) | -| | [LineShape2D](class_lineshape2d) | | [TileSet](class_tileset) | -| **M** | [MainLoop](class_mainloop) | | [Timer](class_timer) | -| | [MarginContainer](class_margincontainer) | | [TouchScreenButton](class_touchscreenbutton) | -| | [Marshalls](class_marshalls) | | [Transform](class_transform) | -| | [Material](class_material) | | [Translation](class_translation) | -| | [Matrix3](class_matrix3) | | [TranslationServer](class_translationserver) | -| | [Matrix32](class_matrix32) | | [Tree](class_tree) | -| | [MenuButton](class_menubutton) | | [TreeItem](class_treeitem) | -| | [Mesh](class_mesh) | | [Tween](class_tween) | -| | [MeshDataTool](class_meshdatatool) | **U** | [UnshadedMaterial](class_unshadedmaterial) | -| | [MeshInstance](class_meshinstance) | **V** | [VBoxContainer](class_vboxcontainer) | -| | [MeshLibrary](class_meshlibrary) | | [VButtonArray](class_vbuttonarray) | -| | [MultiMesh](class_multimesh) | | [VScrollBar](class_vscrollbar) | -| | [MultiMeshInstance](class_multimeshinstance) | | [VSeparator](class_vseparator) | -| | [Mutex](class_mutex) | | [VSlider](class_vslider) | -| **N** | [Navigation](class_navigation) | | [VSplitContainer](class_vsplitcontainer) | -| | [NavigationMesh](class_navigationmesh) | | [Vector2](class_vector2) | -| | [NavigationMeshInstance](class_navigationmeshinstance) | | [Vector2Array](class_vector2array) | -| | [Nil](class_nil) | | [Vector3](class_vector3) | -| | [Node](class_node) | | [Vector3Array](class_vector3array) | -| | [Node2D](class_node2d) | | [VehicleBody](class_vehiclebody) | -| | [NodePath](class_nodepath) | | [VehicleWheel](class_vehiclewheel) | -| **O** | [OS](class_os) | | [VideoPlayer](class_videoplayer) | -| | [Object](class_object) | | [VideoStream](class_videostream) | -| | [OmniLight](class_omnilight) | | [Viewport](class_viewport) | -| | [OptionButton](class_optionbutton) | | [ViewportSprite](class_viewportsprite) | -| **P** | [PCKPacker](class_pckpacker) | | [VisibilityEnabler](class_visibilityenabler) | -| | [PHashTranslation](class_phashtranslation) | | [VisibilityEnabler2D](class_visibilityenabler2d) | -| | [PackedDataContainer](class_packeddatacontainer) | | [VisibilityNotifier](class_visibilitynotifier) | -| | [PackedDataContainerRef](class_packeddatacontainerref) | | [VisibilityNotifier2D](class_visibilitynotifier2d) | -| | [PackedScene](class_packedscene) | | [VisualInstance](class_visualinstance) | -| | [PacketPeer](class_packetpeer) | | [VisualServer](class_visualserver) | -| | [PacketPeerStream](class_packetpeerstream) | **W** | [WindowDialog](class_windowdialog) | -| | [PacketPeerUDP](class_packetpeerudp) | | [World](class_world) | -| | [Panel](class_panel) | | [World2D](class_world2d) | -| | [PanelContainer](class_panelcontainer) | | [WorldEnvironment](class_worldenvironment) | -| | [ParallaxBackground](class_parallaxbackground) | **X** | [XMLParser](class_xmlparser) | -| | [ParallaxLayer](class_parallaxlayer) | **Y** | [YSort](class_ysort) | -| | [ParticleAttractor2D](class_particleattractor2d) | **b** | [bool](class_bool) | -| | [ParticleSystemMaterial](class_particlesystemmaterial) | **f** | [float](class_float) | -| | [Particles](class_particles) | **i** | [int](class_int) | -| | [Particles2D](class_particles2d) | -| | [Path](class_path) | +| | [Light2D](class_light2d) | | [TileMap](class_tilemap) | +| | [LightOccluder2D](class_lightoccluder2d) | | [TileSet](class_tileset) | +| | [LineEdit](class_lineedit) | | [Timer](class_timer) | +| | [LineShape2D](class_lineshape2d) | | [ToolButton](class_toolbutton) | +| **M** | [MainLoop](class_mainloop) | | [TouchScreenButton](class_touchscreenbutton) | +| | [MarginContainer](class_margincontainer) | | [Transform](class_transform) | +| | [Marshalls](class_marshalls) | | [Translation](class_translation) | +| | [Material](class_material) | | [TranslationServer](class_translationserver) | +| | [MaterialShader](class_materialshader) | | [Tree](class_tree) | +| | [MaterialShaderGraph](class_materialshadergraph) | | [TreeItem](class_treeitem) | +| | [Matrix3](class_matrix3) | | [Tween](class_tween) | +| | [Matrix32](class_matrix32) | **V** | [VBoxContainer](class_vboxcontainer) | +| | [MenuButton](class_menubutton) | | [VButtonArray](class_vbuttonarray) | +| | [Mesh](class_mesh) | | [VScrollBar](class_vscrollbar) | +| | [MeshDataTool](class_meshdatatool) | | [VSeparator](class_vseparator) | +| | [MeshInstance](class_meshinstance) | | [VSlider](class_vslider) | +| | [MeshLibrary](class_meshlibrary) | | [VSplitContainer](class_vsplitcontainer) | +| | [MultiMesh](class_multimesh) | | [Vector2](class_vector2) | +| | [MultiMeshInstance](class_multimeshinstance) | | [Vector2Array](class_vector2array) | +| | [Mutex](class_mutex) | | [Vector3](class_vector3) | +| **N** | [Navigation](class_navigation) | | [Vector3Array](class_vector3array) | +| | [Navigation2D](class_navigation2d) | | [VehicleBody](class_vehiclebody) | +| | [NavigationMesh](class_navigationmesh) | | [VehicleWheel](class_vehiclewheel) | +| | [NavigationMeshInstance](class_navigationmeshinstance) | | [VideoPlayer](class_videoplayer) | +| | [NavigationPolygon](class_navigationpolygon) | | [VideoStream](class_videostream) | +| | [NavigationPolygonInstance](class_navigationpolygoninstance) | | [Viewport](class_viewport) | +| | [Nil](class_nil) | | [ViewportSprite](class_viewportsprite) | +| | [Node](class_node) | | [VisibilityEnabler](class_visibilityenabler) | +| | [Node2D](class_node2d) | | [VisibilityEnabler2D](class_visibilityenabler2d) | +| | [NodePath](class_nodepath) | | [VisibilityNotifier](class_visibilitynotifier) | +| **O** | [OS](class_os) | | [VisibilityNotifier2D](class_visibilitynotifier2d) | +| | [Object](class_object) | | [VisualInstance](class_visualinstance) | +| | [OccluderPolygon2D](class_occluderpolygon2d) | | [VisualServer](class_visualserver) | +| | [OmniLight](class_omnilight) | **W** | [WeakRef](class_weakref) | +| | [OptionButton](class_optionbutton) | | [WindowDialog](class_windowdialog) | +| **P** | [PCKPacker](class_pckpacker) | | [World](class_world) | +| | [PHashTranslation](class_phashtranslation) | | [World2D](class_world2d) | +| | [PackedDataContainer](class_packeddatacontainer) | | [WorldEnvironment](class_worldenvironment) | +| | [PackedDataContainerRef](class_packeddatacontainerref) | **X** | [XMLParser](class_xmlparser) | +| | [PackedScene](class_packedscene) | **Y** | [YSort](class_ysort) | +| | [PacketPeer](class_packetpeer) | **b** | [bool](class_bool) | +| | [PacketPeerStream](class_packetpeerstream) | **f** | [float](class_float) | +| | [PacketPeerUDP](class_packetpeerudp) | **i** | [int](class_int) | +| | [Panel](class_panel) | +| | [PanelContainer](class_panelcontainer) | diff --git a/class_materialshader.md b/class_materialshader.md new file mode 100644 index 0000000..ba3a6d2 --- /dev/null +++ b/class_materialshader.md @@ -0,0 +1,6 @@ +# MaterialShader +####**Inherits:** [Shader](class_shader) +####**Category:** Core + +### Brief Description + diff --git a/class_materialshadergraph.md b/class_materialshadergraph.md new file mode 100644 index 0000000..5f7e486 --- /dev/null +++ b/class_materialshadergraph.md @@ -0,0 +1,6 @@ +# MaterialShaderGraph +####**Inherits:** [ShaderGraph](class_shadergraph) +####**Category:** Core + +### Brief Description + diff --git a/class_mutex.md b/class_mutex.md index 709f6df..c71c739 100644 --- a/class_mutex.md +++ b/class_mutex.md @@ -7,7 +7,7 @@ ### Member Functions * void **[lock](#lock)** **(** **)** - * [int](class_int) **[try_lock](#try_lock)** **(** **)** + * Error **[try_lock](#try_lock)** **(** **)** * void **[unlock](#unlock)** **(** **)** ### Member Function Description diff --git a/class_navigation.md b/class_navigation.md index 4c09cdf..2fba63a 100644 --- a/class_navigation.md +++ b/class_navigation.md @@ -10,7 +10,7 @@ * void **[navmesh_set_transform](#navmesh_set_transform)** **(** [int](class_int) id, [Transform](class_transform) xform **)** * void **[navmesh_remove](#navmesh_remove)** **(** [int](class_int) id **)** * [Vector3Array](class_vector3array) **[get_simple_path](#get_simple_path)** **(** [Vector3](class_vector3) start, [Vector3](class_vector3) end, [bool](class_bool) optimize=true **)** - * [Vector3](class_vector3) **[get_closest_point_to_segment](#get_closest_point_to_segment)** **(** [Vector3](class_vector3) start, [Vector3](class_vector3) end **)** + * [Vector3](class_vector3) **[get_closest_point_to_segment](#get_closest_point_to_segment)** **(** [Vector3](class_vector3) start, [Vector3](class_vector3) end, [bool](class_bool) use_collision=false **)** * [Vector3](class_vector3) **[get_closest_point](#get_closest_point)** **(** [Vector3](class_vector3) to_point **)** * [Vector3](class_vector3) **[get_closest_point_normal](#get_closest_point_normal)** **(** [Vector3](class_vector3) to_point **)** * void **[set_up_vector](#set_up_vector)** **(** [Vector3](class_vector3) up **)** diff --git a/class_navigation2d.md b/class_navigation2d.md new file mode 100644 index 0000000..11c00cd --- /dev/null +++ b/class_navigation2d.md @@ -0,0 +1,15 @@ +# Navigation2D +####**Inherits:** [Node2D](class_node2d) +####**Category:** Core + +### Brief Description + + +### Member Functions + * [int](class_int) **[navpoly_create](#navpoly_create)** **(** [NavigationPolygon](class_navigationpolygon) mesh, [Matrix32](class_matrix32) xform, [Object](class_object) owner=NULL **)** + * void **[navpoly_set_transform](#navpoly_set_transform)** **(** [int](class_int) id, [Matrix32](class_matrix32) xform **)** + * void **[navpoly_remove](#navpoly_remove)** **(** [int](class_int) id **)** + * [Vector2Array](class_vector2array) **[get_simple_path](#get_simple_path)** **(** [Vector2](class_vector2) start, [Vector2](class_vector2) end, [bool](class_bool) optimize=true **)** + * [Vector2](class_vector2) **[get_closest_point](#get_closest_point)** **(** [Vector2](class_vector2) to_point **)** + +### Member Function Description diff --git a/class_navigationpolygon.md b/class_navigationpolygon.md new file mode 100644 index 0000000..3dcea79 --- /dev/null +++ b/class_navigationpolygon.md @@ -0,0 +1,24 @@ +# NavigationPolygon +####**Inherits:** [Resource](class_resource) +####**Category:** Core + +### Brief Description + + +### Member Functions + * void **[set_vertices](#set_vertices)** **(** [Vector2Array](class_vector2array) vertices **)** + * [Vector2Array](class_vector2array) **[get_vertices](#get_vertices)** **(** **)** const + * void **[add_polygon](#add_polygon)** **(** [IntArray](class_intarray) polygon **)** + * [int](class_int) **[get_polygon_count](#get_polygon_count)** **(** **)** const + * [IntArray](class_intarray) **[get_polygon](#get_polygon)** **(** [int](class_int) idx **)** + * void **[clear_polygons](#clear_polygons)** **(** **)** + * void **[add_outline](#add_outline)** **(** [Vector2Array](class_vector2array) outline **)** + * void **[add_outline_at_index](#add_outline_at_index)** **(** [Vector2Array](class_vector2array) outline, [int](class_int) index **)** + * [int](class_int) **[get_outline_count](#get_outline_count)** **(** **)** const + * void **[set_outline](#set_outline)** **(** [int](class_int) idx, [Vector2Array](class_vector2array) outline **)** + * [Vector2Array](class_vector2array) **[get_outline](#get_outline)** **(** [int](class_int) idx **)** const + * void **[remove_outline](#remove_outline)** **(** [int](class_int) idx **)** + * void **[clear_outlines](#clear_outlines)** **(** **)** + * void **[make_polygons_from_outlines](#make_polygons_from_outlines)** **(** **)** + +### Member Function Description diff --git a/class_navigationpolygoninstance.md b/class_navigationpolygoninstance.md new file mode 100644 index 0000000..7163777 --- /dev/null +++ b/class_navigationpolygoninstance.md @@ -0,0 +1,14 @@ +# NavigationPolygonInstance +####**Inherits:** [Node2D](class_node2d) +####**Category:** Core + +### Brief Description + + +### Member Functions + * void **[set_navigation_polygon](#set_navigation_polygon)** **(** [Object](class_object) navpoly **)** + * [Object](class_object) **[get_navigation_polygon](#get_navigation_polygon)** **(** **)** const + * void **[set_enabled](#set_enabled)** **(** [bool](class_bool) enabled **)** + * [bool](class_bool) **[is_enabled](#is_enabled)** **(** **)** const + +### Member Function Description diff --git a/class_node2d.md b/class_node2d.md index 95c5a1a..d2c3c91 100644 --- a/class_node2d.md +++ b/class_node2d.md @@ -12,14 +12,22 @@ Base node for 2D system. * [Vector2](class_vector2) **[get_pos](#get_pos)** **(** **)** const * [float](class_float) **[get_rot](#get_rot)** **(** **)** const * [Vector2](class_vector2) **[get_scale](#get_scale)** **(** **)** const - * void **[rotate](#rotate)** **(** [float](class_float) degrees **)** + * void **[rotate](#rotate)** **(** [float](class_float) radians **)** * void **[move_local_x](#move_local_x)** **(** [float](class_float) delta, [bool](class_bool) scaled=false **)** * void **[move_local_y](#move_local_y)** **(** [float](class_float) delta, [bool](class_bool) scaled=false **)** + * void **[translate](#translate)** **(** [Vector2](class_vector2) offset **)** + * void **[global_translate](#global_translate)** **(** [Vector2](class_vector2) offset **)** + * void **[scale](#scale)** **(** [Vector2](class_vector2) ratio **)** + * void **[set_global_pos](#set_global_pos)** **(** [Vector2](class_vector2) pos **)** * [Vector2](class_vector2) **[get_global_pos](#get_global_pos)** **(** **)** const - * void **[set_global_pos](#set_global_pos)** **(** [Vector2](class_vector2) arg0 **)** * void **[set_transform](#set_transform)** **(** [Matrix32](class_matrix32) xform **)** * void **[set_global_transform](#set_global_transform)** **(** [Matrix32](class_matrix32) xform **)** + * void **[set_z](#set_z)** **(** [int](class_int) z **)** + * [int](class_int) **[get_z](#get_z)** **(** **)** const + * void **[set_z_as_relative](#set_z_as_relative)** **(** [bool](class_bool) enable **)** + * [bool](class_bool) **[is_z_relative](#is_z_relative)** **(** **)** const * void **[edit_set_pivot](#edit_set_pivot)** **(** [Vector2](class_vector2) arg0 **)** + * [Matrix32](class_matrix32) **[get_relative_transform](#get_relative_transform)** **(** [Object](class_object) arg0 **)** const ### Description Base node for 2D system. Node2D contains a position, rotation and scale, which is used to position and animate. diff --git a/class_object.md b/class_object.md index 0bc3442..38cfde5 100644 --- a/class_object.md +++ b/class_object.md @@ -24,6 +24,7 @@ Base class for all non built-in types. * [bool](class_bool) **[has_meta](#has_meta)** **(** [String](class_string) name **)** const * [StringArray](class_stringarray) **[get_meta_list](#get_meta_list)** **(** **)** const * void **[add_user_signal](#add_user_signal)** **(** [String](class_string) signal, [Array](class_array) arguments=Array() **)** + * [bool](class_bool) **[has_user_signal](#has_user_signal)** **(** [String](class_string) signal **)** const * void **[emit_signal](#emit_signal)** **(** [String](class_string) signal, var arg0=NULL, var arg1=NULL, var arg2=NULL, var arg3=NULL, var arg4=NULL **)** * void **[call](#call)** **(** [String](class_string) method, var arg0=NULL, var arg1=NULL, var arg2=NULL, var arg3=NULL, var arg4=NULL, var arg5=NULL, var arg6=NULL, var arg7=NULL, var arg8=NULL, var arg9=NULL **)** * void **[call_deferred](#call_deferred)** **(** [String](class_string) method, var arg0=NULL, var arg1=NULL, var arg2=NULL, var arg3=NULL, var arg4=NULL **)** diff --git a/class_occluderpolygon2d.md b/class_occluderpolygon2d.md new file mode 100644 index 0000000..6bce5a6 --- /dev/null +++ b/class_occluderpolygon2d.md @@ -0,0 +1,21 @@ +# OccluderPolygon2D +####**Inherits:** [Resource](class_resource) +####**Category:** Core + +### Brief Description + + +### Member Functions + * void **[set_closed](#set_closed)** **(** [bool](class_bool) closed **)** + * [bool](class_bool) **[is_closed](#is_closed)** **(** **)** const + * void **[set_cull_mode](#set_cull_mode)** **(** [int](class_int) cull_mode **)** + * [int](class_int) **[get_cull_mode](#get_cull_mode)** **(** **)** const + * void **[set_polygon](#set_polygon)** **(** [Vector2Array](class_vector2array) polygon **)** + * [Vector2Array](class_vector2array) **[get_polygon](#get_polygon)** **(** **)** const + +### Numeric Constants + * **CULL_DISABLED** = **0** + * **CULL_CLOCKWISE** = **1** + * **CULL_COUNTER_CLOCKWISE** = **2** + +### Member Function Description diff --git a/class_os.md b/class_os.md index 26512d5..fc6fc69 100644 --- a/class_os.md +++ b/class_os.md @@ -13,6 +13,23 @@ Operating System functions. * [bool](class_bool) **[is_video_mode_fullscreen](#is_video_mode_fullscreen)** **(** [int](class_int) screen=0 **)** const * [bool](class_bool) **[is_video_mode_resizable](#is_video_mode_resizable)** **(** [int](class_int) screen=0 **)** const * [Array](class_array) **[get_fullscreen_mode_list](#get_fullscreen_mode_list)** **(** [int](class_int) screen=0 **)** const + * [int](class_int) **[get_screen_count](#get_screen_count)** **(** **)** const + * [int](class_int) **[get_current_screen](#get_current_screen)** **(** **)** const + * void **[set_current_screen](#set_current_screen)** **(** [int](class_int) arg0 **)** + * [Vector2](class_vector2) **[get_screen_position](#get_screen_position)** **(** [int](class_int) arg0=0 **)** const + * [Vector2](class_vector2) **[get_screen_size](#get_screen_size)** **(** [int](class_int) arg0=0 **)** const + * [Vector2](class_vector2) **[get_window_position](#get_window_position)** **(** **)** const + * void **[set_window_position](#set_window_position)** **(** [Vector2](class_vector2) arg0 **)** + * [Vector2](class_vector2) **[get_window_size](#get_window_size)** **(** **)** const + * void **[set_window_size](#set_window_size)** **(** [Vector2](class_vector2) arg0 **)** + * void **[set_window_fullscreen](#set_window_fullscreen)** **(** [bool](class_bool) enabled **)** + * [bool](class_bool) **[is_window_fullscreen](#is_window_fullscreen)** **(** **)** const + * void **[set_window_resizable](#set_window_resizable)** **(** [bool](class_bool) enabled **)** + * [bool](class_bool) **[is_window_resizable](#is_window_resizable)** **(** **)** const + * void **[set_window_minimized](#set_window_minimized)** **(** [bool](class_bool) enabled **)** + * [bool](class_bool) **[is_window_minimized](#is_window_minimized)** **(** **)** const + * void **[set_window_maximized](#set_window_maximized)** **(** [bool](class_bool) enabled **)** + * [bool](class_bool) **[is_window_maximized](#is_window_maximized)** **(** **)** const * void **[set_iterations_per_second](#set_iterations_per_second)** **(** [int](class_int) iterations_per_second **)** * [int](class_int) **[get_iterations_per_second](#get_iterations_per_second)** **(** **)** const * void **[set_target_fps](#set_target_fps)** **(** [int](class_int) target_fps **)** @@ -20,6 +37,7 @@ Operating System functions. * void **[set_time_scale](#set_time_scale)** **(** [float](class_float) time_scale **)** * [float](class_float) **[get_time_scale](#get_time_scale)** **(** **)** * [bool](class_bool) **[has_touchscreen_ui_hint](#has_touchscreen_ui_hint)** **(** **)** const + * void **[set_window_title](#set_window_title)** **(** [String](class_string) title **)** * void **[set_low_processor_usage_mode](#set_low_processor_usage_mode)** **(** [bool](class_bool) enable **)** * [bool](class_bool) **[is_in_low_processor_usage_mode](#is_in_low_processor_usage_mode)** **(** **)** const * [int](class_int) **[get_processor_count](#get_processor_count)** **(** **)** const @@ -58,6 +76,7 @@ Operating System functions. * [String](class_string) **[get_data_dir](#get_data_dir)** **(** **)** const * [String](class_string) **[get_system_dir](#get_system_dir)** **(** [int](class_int) dir **)** const * [String](class_string) **[get_unique_ID](#get_unique_ID)** **(** **)** const + * [bool](class_bool) **[is_ok_left_and_cancel_right](#is_ok_left_and_cancel_right)** **(** **)** const * [float](class_float) **[get_frames_per_second](#get_frames_per_second)** **(** **)** const * void **[print_all_textures_by_size](#print_all_textures_by_size)** **(** **)** * void **[print_resources_by_type](#print_resources_by_type)** **(** [StringArray](class_stringarray) arg0 **)** diff --git a/class_packeddatacontainer.md b/class_packeddatacontainer.md index ec041c7..6540d42 100644 --- a/class_packeddatacontainer.md +++ b/class_packeddatacontainer.md @@ -6,7 +6,7 @@ ### Member Functions - * [int](class_int) **[pack](#pack)** **(** var value **)** + * Error **[pack](#pack)** **(** var value **)** * [int](class_int) **[size](#size)** **(** **)** const ### Member Function Description diff --git a/class_packetpeerudp.md b/class_packetpeerudp.md index 3c67e34..f96077c 100644 --- a/class_packetpeerudp.md +++ b/class_packetpeerudp.md @@ -6,9 +6,9 @@ ### Member Functions - * [int](class_int) **[listen](#listen)** **(** [int](class_int) port, [int](class_int) recv_buf_size=65536 **)** + * Error **[listen](#listen)** **(** [int](class_int) port, [int](class_int) recv_buf_size=65536 **)** * void **[close](#close)** **(** **)** - * [int](class_int) **[wait](#wait)** **(** **)** + * Error **[wait](#wait)** **(** **)** * [bool](class_bool) **[is_listening](#is_listening)** **(** **)** const * [String](class_string) **[get_packet_ip](#get_packet_ip)** **(** **)** const * [int](class_int) **[get_packet_address](#get_packet_address)** **(** **)** const diff --git a/class_particles2d.md b/class_particles2d.md index 0925217..9a7f50f 100644 --- a/class_particles2d.md +++ b/class_particles2d.md @@ -57,13 +57,18 @@ * **PARAM_SPREAD** = **1** * **PARAM_LINEAR_VELOCITY** = **2** * **PARAM_SPIN_VELOCITY** = **3** + * **PARAM_ORBIT_VELOCITY** = **4** * **PARAM_GRAVITY_DIRECTION** = **5** * **PARAM_GRAVITY_STRENGTH** = **6** * **PARAM_RADIAL_ACCEL** = **7** * **PARAM_TANGENTIAL_ACCEL** = **8** + * **PARAM_DAMPING** = **9** + * **PARAM_INITIAL_ANGLE** = **10** * **PARAM_INITIAL_SIZE** = **11** * **PARAM_FINAL_SIZE** = **12** * **PARAM_HUE_VARIATION** = **13** + * **PARAM_ANIM_SPEED_SCALE** = **14** + * **PARAM_ANIM_INITIAL_POS** = **15** * **PARAM_MAX** = **16** * **MAX_COLOR_PHASES** = **4** diff --git a/class_physics2ddirectbodystate.md b/class_physics2ddirectbodystate.md index 0b600bd..af378fd 100644 --- a/class_physics2ddirectbodystate.md +++ b/class_physics2ddirectbodystate.md @@ -7,7 +7,8 @@ Direct access object to a physics body in the [Physics2DServer](class_physics2ds ### Member Functions * [Vector2](class_vector2) **[get_total_gravity](#get_total_gravity)** **(** **)** const - * [float](class_float) **[get_total_density](#get_total_density)** **(** **)** const + * [float](class_float) **[get_total_linear_damp](#get_total_linear_damp)** **(** **)** const + * [float](class_float) **[get_total_angular_damp](#get_total_angular_damp)** **(** **)** const * [float](class_float) **[get_inverse_mass](#get_inverse_mass)** **(** **)** const * [float](class_float) **[get_inverse_inertia](#get_inverse_inertia)** **(** **)** const * void **[set_linear_velocity](#set_linear_velocity)** **(** [Vector2](class_vector2) velocity **)** @@ -43,11 +44,6 @@ Direct access object to a physics body in the [Physics2DServer](class_physics2ds Return the total gravity vector being currently applied to this body. -#### get_total_density - * [float](class_float) **get_total_density** **(** **)** const - -Return the space density currently being applied to this body. - #### get_inverse_mass * [float](class_float) **get_inverse_mass** **(** **)** const diff --git a/class_physics2ddirectspacestate.md b/class_physics2ddirectspacestate.md index fb1107f..9e20ab6 100644 --- a/class_physics2ddirectspacestate.md +++ b/class_physics2ddirectspacestate.md @@ -6,6 +6,7 @@ Direct access object to a space in the [Physics2DServer](class_physics2dserver). ### Member Functions + * [Array](class_array) **[intersect_point](#intersect_point)** **(** [Vector2](class_vector2) point, [int](class_int) max_results=32, [Array](class_array) exclude=Array(), [int](class_int) layer_mask=2147483647, [int](class_int) type_mask=15 **)** * [Dictionary](class_dictionary) **[intersect_ray](#intersect_ray)** **(** [Vector2](class_vector2) from, [Vector2](class_vector2) to, [Array](class_array) exclude=Array(), [int](class_int) layer_mask=2147483647, [int](class_int) type_mask=15 **)** * [Array](class_array) **[intersect_shape](#intersect_shape)** **(** [Physics2DShapeQueryParameters](class_physics2dshapequeryparameters) shape, [int](class_int) max_results=32 **)** * [Array](class_array) **[cast_motion](#cast_motion)** **(** [Physics2DShapeQueryParameters](class_physics2dshapequeryparameters) shape **)** @@ -44,7 +45,8 @@ Intersect a ray in a given space, the returned object is a dictionary with the f rid: [RID](class_rid) of the object agaisnt which the ray was stopped - If the ray did not intersect anything, then null is returned instead of a [Dictionary](class_dictionary). + If the ray did not intersect anything, then an empty + dictionary (dir.empty()==true) is returned instead. #### intersect_shape * [Array](class_array) **intersect_shape** **(** [Physics2DShapeQueryParameters](class_physics2dshapequeryparameters) shape, [int](class_int) max_results=32 **)** diff --git a/class_physics2dserver.md b/class_physics2dserver.md index 4f4e5c1..d75f310 100644 --- a/class_physics2dserver.md +++ b/class_physics2dserver.md @@ -71,6 +71,10 @@ Physics 2D Server. * void **[body_remove_collision_exception](#body_remove_collision_exception)** **(** [RID](class_rid) body, [RID](class_rid) excepted_body **)** * void **[body_set_max_contacts_reported](#body_set_max_contacts_reported)** **(** [RID](class_rid) body, [int](class_int) amount **)** * [int](class_int) **[body_get_max_contacts_reported](#body_get_max_contacts_reported)** **(** [RID](class_rid) body **)** const + * void **[body_set_one_way_collision_direction](#body_set_one_way_collision_direction)** **(** [RID](class_rid) normal, [Vector2](class_vector2) arg1 **)** + * [Vector2](class_vector2) **[body_get_one_way_collision_direction](#body_get_one_way_collision_direction)** **(** [RID](class_rid) arg0 **)** const + * void **[body_set_one_way_collision_max_depth](#body_set_one_way_collision_max_depth)** **(** [RID](class_rid) normal, [float](class_float) arg1 **)** + * [float](class_float) **[body_get_one_way_collision_max_depth](#body_get_one_way_collision_max_depth)** **(** [RID](class_rid) arg0 **)** const * void **[body_set_omit_force_integration](#body_set_omit_force_integration)** **(** [RID](class_rid) body, [bool](class_bool) enable **)** * [bool](class_bool) **[body_is_omitting_force_integration](#body_is_omitting_force_integration)** **(** [RID](class_rid) body **)** const * void **[body_set_force_integration_callback](#body_set_force_integration_callback)** **(** [RID](class_rid) body, [Object](class_object) receiver, [String](class_string) method, var arg3 **)** @@ -99,8 +103,9 @@ Physics 2D Server. * **AREA_PARAM_GRAVITY_VECTOR** = **1** * **AREA_PARAM_GRAVITY_IS_POINT** = **2** * **AREA_PARAM_GRAVITY_POINT_ATTENUATION** = **3** - * **AREA_PARAM_DENSITY** = **4** - * **AREA_PARAM_PRIORITY** = **5** + * **AREA_PARAM_LINEAR_DAMP** = **4** + * **AREA_PARAM_ANGULAR_DAMP** = **5** + * **AREA_PARAM_PRIORITY** = **6** * **AREA_SPACE_OVERRIDE_COMBINE** = **1** * **AREA_SPACE_OVERRIDE_DISABLED** = **0** * **AREA_SPACE_OVERRIDE_REPLACE** = **2** @@ -111,7 +116,10 @@ Physics 2D Server. * **BODY_PARAM_BOUNCE** = **0** * **BODY_PARAM_FRICTION** = **1** * **BODY_PARAM_MASS** = **2** - * **BODY_PARAM_MAX** = **3** + * **BODY_PARAM_GRAVITY_SCALE** = **3** + * **BODY_PARAM_LINEAR_DAMP** = **4** + * **BODY_PARAM_ANGULAR_DAMP** = **5** + * **BODY_PARAM_MAX** = **6** * **BODY_STATE_TRANSFORM** = **0** * **BODY_STATE_LINEAR_VELOCITY** = **1** * **BODY_STATE_ANGULAR_VELOCITY** = **2** diff --git a/class_physicsbody2d.md b/class_physicsbody2d.md index 7de2678..69f667d 100644 --- a/class_physicsbody2d.md +++ b/class_physicsbody2d.md @@ -8,6 +8,10 @@ ### Member Functions * void **[set_layer_mask](#set_layer_mask)** **(** [int](class_int) mask **)** * [int](class_int) **[get_layer_mask](#get_layer_mask)** **(** **)** const + * void **[set_one_way_collision_direction](#set_one_way_collision_direction)** **(** [Vector2](class_vector2) dir **)** + * [Vector2](class_vector2) **[get_one_way_collision_direction](#get_one_way_collision_direction)** **(** **)** const + * void **[set_one_way_collision_max_depth](#set_one_way_collision_max_depth)** **(** [float](class_float) depth **)** + * [float](class_float) **[get_one_way_collision_max_depth](#get_one_way_collision_max_depth)** **(** **)** const * void **[add_collision_exception_with](#add_collision_exception_with)** **(** [PhysicsBody2D](class_physicsbody2d) body **)** * void **[remove_collision_exception_with](#remove_collision_exception_with)** **(** [PhysicsBody2D](class_physicsbody2d) body **)** diff --git a/class_quat.md b/class_quat.md index e43fcfd..eef049f 100644 --- a/class_quat.md +++ b/class_quat.md @@ -14,6 +14,7 @@ Quaternion. * [Quat](class_quat) **[slerp](#slerp)** **(** [Quat](class_quat) b, [float](class_float) t **)** * [Quat](class_quat) **[slerpni](#slerpni)** **(** [Quat](class_quat) b, [float](class_float) t **)** * void **[Quat](#Quat)** **(** [float](class_float) x, [float](class_float) y, [float](class_float) z, [float](class_float) w **)** + * void **[Quat](#Quat)** **(** [Vector3](class_vector3) axis, [float](class_float) angle **)** * void **[Quat](#Quat)** **(** [Matrix3](class_matrix3) from **)** ### Member Variables diff --git a/class_raycast.md b/class_raycast.md index bbd02e4..10df1ea 100644 --- a/class_raycast.md +++ b/class_raycast.md @@ -15,5 +15,10 @@ * [int](class_int) **[get_collider_shape](#get_collider_shape)** **(** **)** const * [Vector3](class_vector3) **[get_collision_point](#get_collision_point)** **(** **)** const * [Vector3](class_vector3) **[get_collision_normal](#get_collision_normal)** **(** **)** const + * void **[add_exception_rid](#add_exception_rid)** **(** [RID](class_rid) rid **)** + * void **[add_exception](#add_exception)** **(** [Object](class_object) node **)** + * void **[remove_exception_rid](#remove_exception_rid)** **(** [RID](class_rid) rid **)** + * void **[remove_exception](#remove_exception)** **(** [Object](class_object) node **)** + * void **[clear_exceptions](#clear_exceptions)** **(** **)** ### Member Function Description diff --git a/class_resourceimportmetadata.md b/class_resourceimportmetadata.md index e476cc7..4f65647 100644 --- a/class_resourceimportmetadata.md +++ b/class_resourceimportmetadata.md @@ -8,7 +8,7 @@ ### Member Functions * void **[set_editor](#set_editor)** **(** [String](class_string) name **)** * [String](class_string) **[get_editor](#get_editor)** **(** **)** const - * void **[add_source](#add_source)** **(** [String](class_string) path, [String](class_string) md5 **)** + * void **[add_source](#add_source)** **(** [String](class_string) path, [String](class_string) md5="" **)** * [String](class_string) **[get_source_path](#get_source_path)** **(** [int](class_int) idx **)** const * [String](class_string) **[get_source_md5](#get_source_md5)** **(** [int](class_int) idx **)** const * void **[remove_source](#remove_source)** **(** [int](class_int) idx **)** diff --git a/class_resourceloader.md b/class_resourceloader.md index 083ac73..9fb0caf 100644 --- a/class_resourceloader.md +++ b/class_resourceloader.md @@ -7,7 +7,7 @@ Resource Loader. ### Member Functions * [ResourceInteractiveLoader](class_resourceinteractiveloader) **[load_interactive](#load_interactive)** **(** [String](class_string) path, [String](class_string) type_hint="" **)** - * [Resource](class_resource) **[load](#load)** **(** [String](class_string) path, [String](class_string) type_hint="" **)** + * [Resource](class_resource) **[load](#load)** **(** [String](class_string) path, [String](class_string) type_hint="", [bool](class_bool) p_no_cache=false **)** * [StringArray](class_stringarray) **[get_recognized_extensions_for_type](#get_recognized_extensions_for_type)** **(** [String](class_string) type **)** * void **[set_abort_on_missing_resources](#set_abort_on_missing_resources)** **(** [bool](class_bool) abort **)** * [StringArray](class_stringarray) **[get_dependencies](#get_dependencies)** **(** [String](class_string) arg0 **)** @@ -24,7 +24,7 @@ Resource Loader. This is a static object accessible as [ResourceLoader](class_re Load a resource interactively, the returned object allows to load with high granularity. #### load - * [Resource](class_resource) **load** **(** [String](class_string) path, [String](class_string) type_hint="" **)** + * [Resource](class_resource) **load** **(** [String](class_string) path, [String](class_string) type_hint="", [bool](class_bool) p_no_cache=false **)** Load a resource. Optionally a hint can be given for the resource type to load. diff --git a/class_rigidbody2d.md b/class_rigidbody2d.md index e337f8b..1c8e1df 100644 --- a/class_rigidbody2d.md +++ b/class_rigidbody2d.md @@ -17,6 +17,12 @@ Rigid body 2D node. * [float](class_float) **[get_friction](#get_friction)** **(** **)** const * void **[set_bounce](#set_bounce)** **(** [float](class_float) bounce **)** * [float](class_float) **[get_bounce](#get_bounce)** **(** **)** const + * void **[set_gravity_scale](#set_gravity_scale)** **(** [float](class_float) gravity_scale **)** + * [float](class_float) **[get_gravity_scale](#get_gravity_scale)** **(** **)** const + * void **[set_linear_damp](#set_linear_damp)** **(** [float](class_float) linear_damp **)** + * [float](class_float) **[get_linear_damp](#get_linear_damp)** **(** **)** const + * void **[set_angular_damp](#set_angular_damp)** **(** [float](class_float) angular_damp **)** + * [float](class_float) **[get_angular_damp](#get_angular_damp)** **(** **)** const * void **[set_linear_velocity](#set_linear_velocity)** **(** [Vector2](class_vector2) linear_velocity **)** * [Vector2](class_vector2) **[get_linear_velocity](#get_linear_velocity)** **(** **)** const * void **[set_angular_velocity](#set_angular_velocity)** **(** [float](class_float) angular_velocity **)** diff --git a/class_semaphore.md b/class_semaphore.md index a4c8e3d..ba5a185 100644 --- a/class_semaphore.md +++ b/class_semaphore.md @@ -6,7 +6,7 @@ ### Member Functions - * [int](class_int) **[wait](#wait)** **(** **)** - * [int](class_int) **[post](#post)** **(** **)** + * Error **[wait](#wait)** **(** **)** + * Error **[post](#post)** **(** **)** ### Member Function Description diff --git a/class_shader.md b/class_shader.md index 34e2f88..40eac13 100644 --- a/class_shader.md +++ b/class_shader.md @@ -6,12 +6,13 @@ To be changed, ignore. ### Member Functions - * void **[set_mode](#set_mode)** **(** [int](class_int) mode **)** * [int](class_int) **[get_mode](#get_mode)** **(** **)** const * void **[set_code](#set_code)** **(** [String](class_string) vcode, [String](class_string) fcode, [String](class_string) lcode, [int](class_int) fofs=0, [int](class_int) lofs=0 **)** * [String](class_string) **[get_vertex_code](#get_vertex_code)** **(** **)** const * [String](class_string) **[get_fragment_code](#get_fragment_code)** **(** **)** const * [String](class_string) **[get_light_code](#get_light_code)** **(** **)** const + * void **[set_default_texture_param](#set_default_texture_param)** **(** [String](class_string) param, [Texture](class_texture) texture **)** + * [Texture](class_texture) **[get_default_texture_param](#get_default_texture_param)** **(** [String](class_string) param **)** const * [bool](class_bool) **[has_param](#has_param)** **(** [String](class_string) name **)** const ### Numeric Constants diff --git a/class_shadergraph.md b/class_shadergraph.md new file mode 100644 index 0000000..c5e58ec --- /dev/null +++ b/class_shadergraph.md @@ -0,0 +1,187 @@ +# ShaderGraph +####**Inherits:** [Shader](class_shader) +####**Category:** Core + +### Brief Description + + +### Member Functions + * void **[node_add](#node_add)** **(** [int](class_int) shader_type, [int](class_int) node_type, [int](class_int) id **)** + * void **[node_remove](#node_remove)** **(** [int](class_int) shader_type, [int](class_int) id **)** + * void **[node_set_pos](#node_set_pos)** **(** [int](class_int) shader_type, [int](class_int) id, [Vector2](class_vector2) pos **)** + * [Vector2](class_vector2) **[node_get_pos](#node_get_pos)** **(** [int](class_int) shader_type, [int](class_int) id **)** const + * [int](class_int) **[node_get_type](#node_get_type)** **(** [int](class_int) shader_type, [int](class_int) id **)** const + * [Array](class_array) **[get_node_list](#get_node_list)** **(** [int](class_int) shader_type **)** const + * void **[scalar_const_node_set_value](#scalar_const_node_set_value)** **(** [int](class_int) shader_type, [int](class_int) id, [float](class_float) value **)** + * void **[scalar_const_node_get_value](#scalar_const_node_get_value)** **(** [int](class_int) shader_type, [int](class_int) id, [float](class_float) arg2 **)** + * void **[vec_const_node_set_value](#vec_const_node_set_value)** **(** [int](class_int) shader_type, [int](class_int) id, [Vector3](class_vector3) value **)** + * void **[vec_const_node_get_value](#vec_const_node_get_value)** **(** [int](class_int) shader_type, [int](class_int) id, [Vector3](class_vector3) arg2 **)** + * void **[rgb_const_node_set_value](#rgb_const_node_set_value)** **(** [int](class_int) shader_type, [int](class_int) id, [Color](class_color) value **)** + * void **[rgb_const_node_get_value](#rgb_const_node_get_value)** **(** [int](class_int) shader_type, [int](class_int) id, [Color](class_color) arg2 **)** + * void **[xform_const_node_set_value](#xform_const_node_set_value)** **(** [int](class_int) shader_type, [int](class_int) id, [Transform](class_transform) value **)** + * void **[xform_const_node_get_value](#xform_const_node_get_value)** **(** [int](class_int) shader_type, [int](class_int) id, [Transform](class_transform) arg2 **)** + * void **[texture_node_set_filter_size](#texture_node_set_filter_size)** **(** [int](class_int) shader_type, [int](class_int) id, [int](class_int) filter_size **)** + * void **[texture_node_get_filter_size](#texture_node_get_filter_size)** **(** [int](class_int) shader_type, [int](class_int) id, [int](class_int) arg2 **)** + * void **[texture_node_set_filter_strength](#texture_node_set_filter_strength)** **(** [int](class_int) shader_type, [float](class_float) id, [float](class_float) filter_strength **)** + * void **[texture_node_get_filter_strength](#texture_node_get_filter_strength)** **(** [int](class_int) shader_type, [float](class_float) id, [float](class_float) arg2 **)** + * void **[scalar_op_node_set_op](#scalar_op_node_set_op)** **(** [int](class_int) shader_type, [float](class_float) id, [int](class_int) op **)** + * [int](class_int) **[scalar_op_node_get_op](#scalar_op_node_get_op)** **(** [int](class_int) shader_type, [float](class_float) id **)** const + * void **[vec_op_node_set_op](#vec_op_node_set_op)** **(** [int](class_int) shader_type, [float](class_float) id, [int](class_int) op **)** + * [int](class_int) **[vec_op_node_get_op](#vec_op_node_get_op)** **(** [int](class_int) shader_type, [float](class_float) id **)** const + * void **[vec_scalar_op_node_set_op](#vec_scalar_op_node_set_op)** **(** [int](class_int) shader_type, [float](class_float) id, [int](class_int) op **)** + * [int](class_int) **[vec_scalar_op_node_get_op](#vec_scalar_op_node_get_op)** **(** [int](class_int) shader_type, [float](class_float) id **)** const + * void **[rgb_op_node_set_op](#rgb_op_node_set_op)** **(** [int](class_int) shader_type, [float](class_float) id, [int](class_int) op **)** + * [int](class_int) **[rgb_op_node_get_op](#rgb_op_node_get_op)** **(** [int](class_int) shader_type, [float](class_float) id **)** const + * void **[xform_vec_mult_node_set_no_translation](#xform_vec_mult_node_set_no_translation)** **(** [int](class_int) shader_type, [int](class_int) id, [bool](class_bool) disable **)** + * [bool](class_bool) **[xform_vec_mult_node_get_no_translation](#xform_vec_mult_node_get_no_translation)** **(** [int](class_int) shader_type, [int](class_int) id **)** const + * void **[scalar_func_node_set_function](#scalar_func_node_set_function)** **(** [int](class_int) shader_type, [int](class_int) id, [int](class_int) func **)** + * [int](class_int) **[scalar_func_node_get_function](#scalar_func_node_get_function)** **(** [int](class_int) shader_type, [int](class_int) id **)** const + * void **[vec_func_node_set_function](#vec_func_node_set_function)** **(** [int](class_int) shader_type, [int](class_int) id, [int](class_int) func **)** + * [int](class_int) **[vec_func_node_get_function](#vec_func_node_get_function)** **(** [int](class_int) shader_type, [int](class_int) id **)** const + * void **[input_node_set_name](#input_node_set_name)** **(** [int](class_int) shader_type, [int](class_int) id, [String](class_string) name **)** + * [String](class_string) **[input_node_get_name](#input_node_get_name)** **(** [int](class_int) shader_type, [int](class_int) id **)** + * void **[scalar_input_node_set_value](#scalar_input_node_set_value)** **(** [int](class_int) shader_type, [int](class_int) id, [float](class_float) value **)** + * [float](class_float) **[scalar_input_node_get_value](#scalar_input_node_get_value)** **(** [int](class_int) shader_type, [int](class_int) id **)** const + * void **[vec_input_node_set_value](#vec_input_node_set_value)** **(** [int](class_int) shader_type, [int](class_int) id, [Vector3](class_vector3) value **)** + * [Vector3](class_vector3) **[vec_input_node_get_value](#vec_input_node_get_value)** **(** [int](class_int) shader_type, [int](class_int) id **)** const + * void **[rgb_input_node_set_value](#rgb_input_node_set_value)** **(** [int](class_int) shader_type, [int](class_int) id, [Color](class_color) value **)** + * [Color](class_color) **[rgb_input_node_get_value](#rgb_input_node_get_value)** **(** [int](class_int) shader_type, [int](class_int) id **)** const + * void **[xform_input_node_set_value](#xform_input_node_set_value)** **(** [int](class_int) shader_type, [int](class_int) id, [Transform](class_transform) value **)** + * [Transform](class_transform) **[xform_input_node_get_value](#xform_input_node_get_value)** **(** [int](class_int) shader_type, [int](class_int) id **)** const + * void **[texture_input_node_set_value](#texture_input_node_set_value)** **(** [int](class_int) shader_type, [int](class_int) id, [Texture](class_texture) value **)** + * [Texture](class_texture) **[texture_input_node_get_value](#texture_input_node_get_value)** **(** [int](class_int) shader_type, [int](class_int) id **)** const + * void **[cubemap_input_node_set_value](#cubemap_input_node_set_value)** **(** [int](class_int) shader_type, [int](class_int) id, [CubeMap](class_cubemap) value **)** + * [CubeMap](class_cubemap) **[cubemap_input_node_get_value](#cubemap_input_node_get_value)** **(** [int](class_int) shader_type, [int](class_int) id **)** const + * void **[comment_node_set_text](#comment_node_set_text)** **(** [int](class_int) shader_type, [int](class_int) id, [String](class_string) text **)** + * [String](class_string) **[comment_node_get_text](#comment_node_get_text)** **(** [int](class_int) shader_type, [int](class_int) id **)** const + * void **[color_ramp_node_set_ramp](#color_ramp_node_set_ramp)** **(** [int](class_int) shader_type, [int](class_int) id, [ColorArray](class_colorarray) colors, [RealArray](class_realarray) offsets **)** + * [ColorArray](class_colorarray) **[color_ramp_node_get_colors](#color_ramp_node_get_colors)** **(** [int](class_int) shader_type, [int](class_int) id **)** const + * [RealArray](class_realarray) **[color_ramp_node_get_offsets](#color_ramp_node_get_offsets)** **(** [int](class_int) shader_type, [int](class_int) id **)** const + * void **[curve_map_node_set_points](#curve_map_node_set_points)** **(** [int](class_int) shader_type, [int](class_int) id, [Vector2Array](class_vector2array) points **)** + * [Vector2Array](class_vector2array) **[curve_map_node_get_points](#curve_map_node_get_points)** **(** [int](class_int) shader_type, [int](class_int) id **)** const + * Error **[connect_node](#connect_node)** **(** [int](class_int) shader_type, [int](class_int) src_id, [int](class_int) src_slot, [int](class_int) dst_id, [int](class_int) dst_slot **)** + * [bool](class_bool) **[is_node_connected](#is_node_connected)** **(** [int](class_int) shader_type, [int](class_int) src_id, [int](class_int) src_slot, [int](class_int) dst_id, [int](class_int) dst_slot **)** const + * void **[disconnect_node](#disconnect_node)** **(** [int](class_int) shader_type, [int](class_int) src_id, [int](class_int) src_slot, [int](class_int) dst_id, [int](class_int) dst_slot **)** + * [Array](class_array) **[get_node_connections](#get_node_connections)** **(** [int](class_int) shader_type **)** const + * void **[clear](#clear)** **(** [int](class_int) shader_type **)** + * void **[node_set_state](#node_set_state)** **(** [int](class_int) shader_type, [int](class_int) id, var state **)** + * void **[node_get_state](#node_get_state)** **(** [int](class_int) shader_type, [int](class_int) id **)** const + +### Signals + * **updated** **(** **)** + +### Numeric Constants + * **NODE_INPUT** = **0** + * **NODE_SCALAR_CONST** = **1** + * **NODE_VEC_CONST** = **2** + * **NODE_RGB_CONST** = **3** + * **NODE_XFORM_CONST** = **4** + * **NODE_TIME** = **5** + * **NODE_SCREEN_TEX** = **6** + * **NODE_SCALAR_OP** = **7** + * **NODE_VEC_OP** = **8** + * **NODE_VEC_SCALAR_OP** = **9** + * **NODE_RGB_OP** = **10** + * **NODE_XFORM_MULT** = **11** + * **NODE_XFORM_VEC_MULT** = **12** + * **NODE_XFORM_VEC_INV_MULT** = **13** + * **NODE_SCALAR_FUNC** = **14** + * **NODE_VEC_FUNC** = **15** + * **NODE_VEC_LEN** = **16** + * **NODE_DOT_PROD** = **17** + * **NODE_VEC_TO_SCALAR** = **18** + * **NODE_SCALAR_TO_VEC** = **19** + * **NODE_VEC_TO_XFORM** = **21** + * **NODE_XFORM_TO_VEC** = **20** + * **NODE_SCALAR_INTERP** = **22** + * **NODE_VEC_INTERP** = **23** + * **NODE_COLOR_RAMP** = **24** + * **NODE_CURVE_MAP** = **25** + * **NODE_SCALAR_INPUT** = **26** + * **NODE_VEC_INPUT** = **27** + * **NODE_RGB_INPUT** = **28** + * **NODE_XFORM_INPUT** = **29** + * **NODE_TEXTURE_INPUT** = **30** + * **NODE_CUBEMAP_INPUT** = **31** + * **NODE_DEFAULT_TEXTURE** = **32** + * **NODE_OUTPUT** = **33** + * **NODE_COMMENT** = **34** + * **NODE_TYPE_MAX** = **35** + * **SLOT_TYPE_SCALAR** = **0** + * **SLOT_TYPE_VEC** = **1** + * **SLOT_TYPE_XFORM** = **2** + * **SLOT_TYPE_TEXTURE** = **3** + * **SLOT_MAX** = **4** + * **SHADER_TYPE_VERTEX** = **0** + * **SHADER_TYPE_FRAGMENT** = **1** + * **SHADER_TYPE_LIGHT** = **2** + * **SHADER_TYPE_MAX** = **3** + * **SLOT_IN** = **0** + * **SLOT_OUT** = **1** + * **GRAPH_OK** = **0** + * **GRAPH_ERROR_CYCLIC** = **1** + * **GRAPH_ERROR_MISSING_CONNECTIONS** = **2** + * **SCALAR_OP_ADD** = **0** + * **SCALAR_OP_SUB** = **1** + * **SCALAR_OP_MUL** = **2** + * **SCALAR_OP_DIV** = **3** + * **SCALAR_OP_MOD** = **4** + * **SCALAR_OP_POW** = **5** + * **SCALAR_OP_MAX** = **6** + * **SCALAR_OP_MIN** = **7** + * **SCALAR_OP_ATAN2** = **8** + * **SCALAR_MAX_OP** = **9** + * **VEC_OP_ADD** = **0** + * **VEC_OP_SUB** = **1** + * **VEC_OP_MUL** = **2** + * **VEC_OP_DIV** = **3** + * **VEC_OP_MOD** = **4** + * **VEC_OP_POW** = **5** + * **VEC_OP_MAX** = **6** + * **VEC_OP_MIN** = **7** + * **VEC_OP_CROSS** = **8** + * **VEC_MAX_OP** = **9** + * **VEC_SCALAR_OP_MUL** = **0** + * **VEC_SCALAR_OP_DIV** = **1** + * **VEC_SCALAR_OP_POW** = **2** + * **VEC_SCALAR_MAX_OP** = **3** + * **RGB_OP_SCREEN** = **0** + * **RGB_OP_DIFFERENCE** = **1** + * **RGB_OP_DARKEN** = **2** + * **RGB_OP_LIGHTEN** = **3** + * **RGB_OP_OVERLAY** = **4** + * **RGB_OP_DODGE** = **5** + * **RGB_OP_BURN** = **6** + * **RGB_OP_SOFT_LIGHT** = **7** + * **RGB_OP_HARD_LIGHT** = **8** + * **RGB_MAX_OP** = **9** + * **SCALAR_FUNC_SIN** = **0** + * **SCALAR_FUNC_COS** = **1** + * **SCALAR_FUNC_TAN** = **2** + * **SCALAR_FUNC_ASIN** = **3** + * **SCALAR_FUNC_ACOS** = **4** + * **SCALAR_FUNC_ATAN** = **5** + * **SCALAR_FUNC_SINH** = **6** + * **SCALAR_FUNC_COSH** = **7** + * **SCALAR_FUNC_TANH** = **8** + * **SCALAR_FUNC_LOG** = **9** + * **SCALAR_FUNC_EXP** = **10** + * **SCALAR_FUNC_SQRT** = **11** + * **SCALAR_FUNC_ABS** = **12** + * **SCALAR_FUNC_SIGN** = **13** + * **SCALAR_FUNC_FLOOR** = **14** + * **SCALAR_FUNC_ROUND** = **15** + * **SCALAR_FUNC_CEIL** = **16** + * **SCALAR_FUNC_FRAC** = **17** + * **SCALAR_FUNC_SATURATE** = **18** + * **SCALAR_FUNC_NEGATE** = **19** + * **SCALAR_MAX_FUNC** = **20** + * **VEC_FUNC_NORMALIZE** = **0** + * **VEC_FUNC_SATURATE** = **1** + * **VEC_FUNC_NEGATE** = **2** + * **VEC_FUNC_RECIPROCAL** = **3** + * **VEC_FUNC_RGB2HSV** = **4** + * **VEC_FUNC_HSV2RGB** = **5** + * **VEC_MAX_FUNC** = **6** + +### Member Function Description diff --git a/class_spatial.md b/class_spatial.md index c160bb4..4f9d482 100644 --- a/class_spatial.md +++ b/class_spatial.md @@ -28,6 +28,17 @@ Base class for all 3D nodes. * void **[hide](#hide)** **(** **)** * [bool](class_bool) **[is_visible](#is_visible)** **(** **)** const * [bool](class_bool) **[is_hidden](#is_hidden)** **(** **)** const + * void **[rotate](#rotate)** **(** [Vector3](class_vector3) normal, [float](class_float) radians **)** + * void **[global_rotate](#global_rotate)** **(** [Vector3](class_vector3) normal, [float](class_float) radians **)** + * void **[rotate_x](#rotate_x)** **(** [float](class_float) radians **)** + * void **[rotate_y](#rotate_y)** **(** [float](class_float) radians **)** + * void **[rotate_z](#rotate_z)** **(** [float](class_float) radians **)** + * void **[translate](#translate)** **(** [Vector3](class_vector3) offset **)** + * void **[global_translate](#global_translate)** **(** [Vector3](class_vector3) offset **)** + * void **[orthonormalize](#orthonormalize)** **(** **)** + * void **[set_identity](#set_identity)** **(** **)** + * void **[look_at](#look_at)** **(** [Vector3](class_vector3) target, [Vector3](class_vector3) up **)** + * void **[look_at_from_pos](#look_at_from_pos)** **(** [Vector3](class_vector3) pos, [Vector3](class_vector3) target, [Vector3](class_vector3) up **)** ### Signals * **visibility_changed** **(** **)** diff --git a/class_streampeerssl.md b/class_streampeerssl.md index 5753614..44fc08d 100644 --- a/class_streampeerssl.md +++ b/class_streampeerssl.md @@ -6,8 +6,8 @@ ### Member Functions - * [int](class_int) **[accept](#accept)** **(** [StreamPeer](class_streampeer) stream **)** - * [int](class_int) **[connect](#connect)** **(** [StreamPeer](class_streampeer) stream, [bool](class_bool) validate_certs=false, [String](class_string) for_hostname="" **)** + * Error **[accept](#accept)** **(** [StreamPeer](class_streampeer) stream **)** + * Error **[connect](#connect)** **(** [StreamPeer](class_streampeer) stream, [bool](class_bool) validate_certs=false, [String](class_string) for_hostname="" **)** * [int](class_int) **[get_status](#get_status)** **(** **)** const * void **[disconnect](#disconnect)** **(** **)** diff --git a/class_streampeertcp.md b/class_streampeertcp.md index 7ffb550..d3b87bb 100644 --- a/class_streampeertcp.md +++ b/class_streampeertcp.md @@ -6,7 +6,7 @@ TCP Stream peer. ### Member Functions - * [int](class_int) **[connect](#connect)** **(** [String](class_string) host, [int](class_int) ip **)** + * [int](class_int) **[connect](#connect)** **(** [String](class_string) host, [int](class_int) port **)** * [bool](class_bool) **[is_connected](#is_connected)** **(** **)** const * [int](class_int) **[get_status](#get_status)** **(** **)** const * [String](class_string) **[get_connected_host](#get_connected_host)** **(** **)** const diff --git a/class_textedit.md b/class_textedit.md index c45a78a..be0b22b 100644 --- a/class_textedit.md +++ b/class_textedit.md @@ -45,7 +45,7 @@ Multiline text editing control. ### Signals * **text_changed** **(** **)** * **cursor_changed** **(** **)** - * **request_completion** **(** [String](class_string) keyword, [int](class_int) line **)** + * **request_completion** **(** **)** ### Numeric Constants * **SEARCH_MATCH_CASE** = **1** - Match case when searching. diff --git a/class_texture.md b/class_texture.md index 427a90e..613d0fe 100644 --- a/class_texture.md +++ b/class_texture.md @@ -13,9 +13,9 @@ Texture for 2D and 3D. * [bool](class_bool) **[has_alpha](#has_alpha)** **(** **)** const * void **[set_flags](#set_flags)** **(** [int](class_int) flags **)** * [int](class_int) **[get_flags](#get_flags)** **(** **)** const - * void **[draw](#draw)** **(** [RID](class_rid) canvas_item, [Vector2](class_vector2) pos, [Color](class_color) modulate=Color(1,1,1,1) **)** const - * void **[draw_rect](#draw_rect)** **(** [RID](class_rid) canvas_item, [Rect2](class_rect2) rect, [bool](class_bool) tile, [Color](class_color) modulate=Color(1,1,1,1) **)** const - * void **[draw_rect_region](#draw_rect_region)** **(** [RID](class_rid) canvas_item, [Rect2](class_rect2) rect, [Rect2](class_rect2) src_rect, [Color](class_color) modulate=Color(1,1,1,1) **)** const + * void **[draw](#draw)** **(** [RID](class_rid) canvas_item, [Vector2](class_vector2) pos, [Color](class_color) modulate=Color(1,1,1,1), [bool](class_bool) arg3=false **)** const + * void **[draw_rect](#draw_rect)** **(** [RID](class_rid) canvas_item, [Rect2](class_rect2) rect, [bool](class_bool) tile, [Color](class_color) modulate=Color(1,1,1,1), [bool](class_bool) arg4=false **)** const + * void **[draw_rect_region](#draw_rect_region)** **(** [RID](class_rid) canvas_item, [Rect2](class_rect2) rect, [Rect2](class_rect2) src_rect, [Color](class_color) modulate=Color(1,1,1,1), [bool](class_bool) arg4=false **)** const ### Numeric Constants * **FLAG_MIPMAPS** = **1** - Generate mipmaps. @@ -62,6 +62,6 @@ Change the texture flags. Return the current texture flags. #### draw - * void **draw** **(** [RID](class_rid) canvas_item, [Vector2](class_vector2) pos, [Color](class_color) modulate=Color(1,1,1,1) **)** const + * void **draw** **(** [RID](class_rid) canvas_item, [Vector2](class_vector2) pos, [Color](class_color) modulate=Color(1,1,1,1), [bool](class_bool) arg3=false **)** const Draw the texture into a a [VisualServer](class_visualserver) canvas item. diff --git a/class_texturebutton.md b/class_texturebutton.md index e9e04b9..0fe7560 100644 --- a/class_texturebutton.md +++ b/class_texturebutton.md @@ -12,12 +12,16 @@ Button that can be themed with textures. * void **[set_disabled_texture](#set_disabled_texture)** **(** [Texture](class_texture) texture **)** * void **[set_focused_texture](#set_focused_texture)** **(** [Texture](class_texture) texture **)** * void **[set_click_mask](#set_click_mask)** **(** [BitMap](class_bitmap) mask **)** + * void **[set_scale](#set_scale)** **(** [Vector2](class_vector2) scale **)** + * void **[set_modulate](#set_modulate)** **(** [Color](class_color) color **)** * [Texture](class_texture) **[get_normal_texture](#get_normal_texture)** **(** **)** const * [Texture](class_texture) **[get_pressed_texture](#get_pressed_texture)** **(** **)** const * [Texture](class_texture) **[get_hover_texture](#get_hover_texture)** **(** **)** const * [Texture](class_texture) **[get_disabled_texture](#get_disabled_texture)** **(** **)** const * [Texture](class_texture) **[get_focused_texture](#get_focused_texture)** **(** **)** const * [BitMap](class_bitmap) **[get_click_mask](#get_click_mask)** **(** **)** const + * [Vector2](class_vector2) **[get_scale](#get_scale)** **(** **)** const + * [Color](class_color) **[get_modulate](#get_modulate)** **(** **)** const ### Description Button that can be themed with textures. This is like a regular [Button](class_button) but can be themed by assigning textures to it. This button is intended to be easy to theme, however a regular button can expand (that uses styleboxes) and still be better if the interface is expect to have internationalization of texts. diff --git a/class_thread.md b/class_thread.md index d73adc7..3e55bdf 100644 --- a/class_thread.md +++ b/class_thread.md @@ -6,7 +6,7 @@ ### Member Functions - * [int](class_int) **[start](#start)** **(** [Object](class_object) instance, [String](class_string) method, var userdata=NULL, [int](class_int) priority=1 **)** + * Error **[start](#start)** **(** [Object](class_object) instance, [String](class_string) method, var userdata=NULL, [int](class_int) priority=1 **)** * [String](class_string) **[get_id](#get_id)** **(** **)** const * [bool](class_bool) **[is_active](#is_active)** **(** **)** const * void **[wait_to_finish](#wait_to_finish)** **(** **)** diff --git a/class_tilemap.md b/class_tilemap.md index 4419f20..3977506 100644 --- a/class_tilemap.md +++ b/class_tilemap.md @@ -18,17 +18,23 @@ Node for 2D Tile-Based games. * [Vector2](class_vector2) **[get_cell_size](#get_cell_size)** **(** **)** const * void **[set_quadrant_size](#set_quadrant_size)** **(** [int](class_int) size **)** * [int](class_int) **[get_quadrant_size](#get_quadrant_size)** **(** **)** const + * void **[set_tile_origin](#set_tile_origin)** **(** [int](class_int) origin **)** + * [int](class_int) **[get_tile_origin](#get_tile_origin)** **(** **)** const * void **[set_center_x](#set_center_x)** **(** [bool](class_bool) enable **)** * [bool](class_bool) **[get_center_x](#get_center_x)** **(** **)** const * void **[set_center_y](#set_center_y)** **(** [bool](class_bool) enable **)** * [bool](class_bool) **[get_center_y](#get_center_y)** **(** **)** const + * void **[set_y_sort_mode](#set_y_sort_mode)** **(** [bool](class_bool) enable **)** + * [bool](class_bool) **[is_y_sort_mode_enabled](#is_y_sort_mode_enabled)** **(** **)** const + * void **[set_collision_use_kinematic](#set_collision_use_kinematic)** **(** [bool](class_bool) use_kinematic **)** + * [bool](class_bool) **[get_collision_use_kinematic](#get_collision_use_kinematic)** **(** **)** const * void **[set_collision_layer_mask](#set_collision_layer_mask)** **(** [int](class_int) mask **)** * [int](class_int) **[get_collision_layer_mask](#get_collision_layer_mask)** **(** **)** const * void **[set_collision_friction](#set_collision_friction)** **(** [float](class_float) value **)** * [float](class_float) **[get_collision_friction](#get_collision_friction)** **(** **)** const * void **[set_collision_bounce](#set_collision_bounce)** **(** [float](class_float) value **)** * [float](class_float) **[get_collision_bounce](#get_collision_bounce)** **(** **)** const - * void **[set_cell](#set_cell)** **(** [int](class_int) x, [int](class_int) y, [int](class_int) tile, [bool](class_bool) flip_x=false, [bool](class_bool) flip_y=false **)** + * void **[set_cell](#set_cell)** **(** [int](class_int) x, [int](class_int) y, [int](class_int) tile, [bool](class_bool) flip_x=false, [bool](class_bool) flip_y=false, [bool](class_bool) transpose=false **)** * [int](class_int) **[get_cell](#get_cell)** **(** [int](class_int) x, [int](class_int) y **)** const * [bool](class_bool) **[is_cell_x_flipped](#is_cell_x_flipped)** **(** [int](class_int) x, [int](class_int) y **)** const * [bool](class_bool) **[is_cell_y_flipped](#is_cell_y_flipped)** **(** [int](class_int) x, [int](class_int) y **)** const @@ -47,6 +53,8 @@ Node for 2D Tile-Based games. * **HALF_OFFSET_X** = **0** * **HALF_OFFSET_Y** = **1** * **HALF_OFFSET_DISABLED** = **2** + * **TILE_ORIGIN_TOP_LEFT** = **0** + * **TILE_ORIGIN_CENTER** = **1** ### Description Node for 2D Tile-Based games. Tilemaps use a TileSet which contain a list of tiles (textures, their rect and a collision) and are used to create complex grid-based maps. @@ -105,7 +113,7 @@ Set tiles to be centered in y coordinate. (by default this is false and they are Return true if tiles are to be centered in y coordinate (by default this is false and they are drawn from upper left cell corner). #### set_cell - * void **set_cell** **(** [int](class_int) x, [int](class_int) y, [int](class_int) tile, [bool](class_bool) flip_x=false, [bool](class_bool) flip_y=false **)** + * void **set_cell** **(** [int](class_int) x, [int](class_int) y, [int](class_int) tile, [bool](class_bool) flip_x=false, [bool](class_bool) flip_y=false, [bool](class_bool) transpose=false **)** Set the contents of a cell. Cells can be optionally flipped in y or x. diff --git a/class_tileset.md b/class_tileset.md index c509ef5..5cdd8cc 100644 --- a/class_tileset.md +++ b/class_tileset.md @@ -11,6 +11,8 @@ Tile library for tilemaps. * [String](class_string) **[tile_get_name](#tile_get_name)** **(** [int](class_int) id **)** const * void **[tile_set_texture](#tile_set_texture)** **(** [int](class_int) id, [Texture](class_texture) texture **)** * [Texture](class_texture) **[tile_get_texture](#tile_get_texture)** **(** [int](class_int) id **)** const + * void **[tile_set_material](#tile_set_material)** **(** [int](class_int) id, [CanvasItemMaterial](class_canvasitemmaterial) material **)** + * [CanvasItemMaterial](class_canvasitemmaterial) **[tile_get_material](#tile_get_material)** **(** [int](class_int) id **)** const * void **[tile_set_texture_offset](#tile_set_texture_offset)** **(** [int](class_int) id, [Vector2](class_vector2) texture_offset **)** * [Vector2](class_vector2) **[tile_get_texture_offset](#tile_get_texture_offset)** **(** [int](class_int) id **)** const * void **[tile_set_shape_offset](#tile_set_shape_offset)** **(** [int](class_int) id, [Vector2](class_vector2) shape_offset **)** @@ -21,6 +23,14 @@ Tile library for tilemaps. * [Shape2D](class_shape2d) **[tile_get_shape](#tile_get_shape)** **(** [int](class_int) id **)** const * void **[tile_set_shapes](#tile_set_shapes)** **(** [int](class_int) id, [Array](class_array) shapes **)** * [Array](class_array) **[tile_get_shapes](#tile_get_shapes)** **(** [int](class_int) id **)** const + * void **[tile_set_navigation_polygon](#tile_set_navigation_polygon)** **(** [int](class_int) id, [NavigationPolygon](class_navigationpolygon) navigation_polygon **)** + * [NavigationPolygon](class_navigationpolygon) **[tile_get_navigation_polygon](#tile_get_navigation_polygon)** **(** [int](class_int) id **)** const + * void **[tile_set_navigation_polygon_offset](#tile_set_navigation_polygon_offset)** **(** [int](class_int) id, [Vector2](class_vector2) navigation_polygon_offset **)** + * [Vector2](class_vector2) **[tile_get_navigation_polygon_offset](#tile_get_navigation_polygon_offset)** **(** [int](class_int) id **)** const + * void **[tile_set_light_occluder](#tile_set_light_occluder)** **(** [int](class_int) id, [OccluderPolygon2D](class_occluderpolygon2d) light_occluder **)** + * [OccluderPolygon2D](class_occluderpolygon2d) **[tile_get_light_occluder](#tile_get_light_occluder)** **(** [int](class_int) id **)** const + * void **[tile_set_occluder_offset](#tile_set_occluder_offset)** **(** [int](class_int) id, [Vector2](class_vector2) occluder_offset **)** + * [Vector2](class_vector2) **[tile_get_occluder_offset](#tile_get_occluder_offset)** **(** [int](class_int) id **)** const * void **[remove_tile](#remove_tile)** **(** [int](class_int) id **)** * void **[clear](#clear)** **(** **)** * [int](class_int) **[get_last_unused_tile_id](#get_last_unused_tile_id)** **(** **)** const diff --git a/class_toolbutton.md b/class_toolbutton.md new file mode 100644 index 0000000..55910e0 --- /dev/null +++ b/class_toolbutton.md @@ -0,0 +1,6 @@ +# ToolButton +####**Inherits:** [Button](class_button) +####**Category:** Core + +### Brief Description + diff --git a/class_tween.md b/class_tween.md index 2c2ff46..12553d9 100644 --- a/class_tween.md +++ b/class_tween.md @@ -15,31 +15,34 @@ * void **[set_tween_process_mode](#set_tween_process_mode)** **(** [int](class_int) mode **)** * [int](class_int) **[get_tween_process_mode](#get_tween_process_mode)** **(** **)** const * [bool](class_bool) **[start](#start)** **(** **)** - * [bool](class_bool) **[reset](#reset)** **(** [Object](class_object) node, [String](class_string) key **)** + * [bool](class_bool) **[reset](#reset)** **(** [Object](class_object) object, [String](class_string) key **)** * [bool](class_bool) **[reset_all](#reset_all)** **(** **)** - * [bool](class_bool) **[stop](#stop)** **(** [Object](class_object) node, [String](class_string) key **)** + * [bool](class_bool) **[stop](#stop)** **(** [Object](class_object) object, [String](class_string) key **)** * [bool](class_bool) **[stop_all](#stop_all)** **(** **)** - * [bool](class_bool) **[resume](#resume)** **(** [Object](class_object) node, [String](class_string) key **)** + * [bool](class_bool) **[resume](#resume)** **(** [Object](class_object) object, [String](class_string) key **)** * [bool](class_bool) **[resume_all](#resume_all)** **(** **)** - * [bool](class_bool) **[remove](#remove)** **(** [Object](class_object) node, [String](class_string) key **)** + * [bool](class_bool) **[remove](#remove)** **(** [Object](class_object) object, [String](class_string) key **)** * [bool](class_bool) **[remove_all](#remove_all)** **(** **)** * [bool](class_bool) **[seek](#seek)** **(** [float](class_float) time **)** * [float](class_float) **[tell](#tell)** **(** **)** const * [float](class_float) **[get_runtime](#get_runtime)** **(** **)** const - * [bool](class_bool) **[interpolate_property](#interpolate_property)** **(** [Object](class_object) node, [String](class_string) property, var initial_val, var final_val, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)** - * [bool](class_bool) **[interpolate_method](#interpolate_method)** **(** [Object](class_object) node, [String](class_string) method, var initial_val, var final_val, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)** - * [bool](class_bool) **[interpolate_callback](#interpolate_callback)** **(** [Object](class_object) node, [String](class_string) callback, [float](class_float) times_in_sec, var args=NULL **)** - * [bool](class_bool) **[follow_property](#follow_property)** **(** [Object](class_object) node, [String](class_string) property, var initial_val, [Object](class_object) target, [String](class_string) target_property, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)** - * [bool](class_bool) **[follow_method](#follow_method)** **(** [Object](class_object) node, [String](class_string) method, var initial_val, [Object](class_object) target, [String](class_string) target_method, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)** - * [bool](class_bool) **[targeting_property](#targeting_property)** **(** [Object](class_object) node, [String](class_string) property, [Object](class_object) initial, [String](class_string) initial_val, var final_val, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)** - * [bool](class_bool) **[targeting_method](#targeting_method)** **(** [Object](class_object) node, [String](class_string) method, [Object](class_object) initial, [String](class_string) initial_method, var final_val, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)** + * [bool](class_bool) **[interpolate_property](#interpolate_property)** **(** [Object](class_object) object, [String](class_string) property, var initial_val, var final_val, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)** + * [bool](class_bool) **[interpolate_method](#interpolate_method)** **(** [Object](class_object) object, [String](class_string) method, var initial_val, var final_val, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)** + * [bool](class_bool) **[interpolate_callback](#interpolate_callback)** **(** [Object](class_object) object, [float](class_float) times_in_sec, [String](class_string) callback, var arg1=NULL, var arg2=NULL, var arg3=NULL, var arg4=NULL, var arg5=NULL **)** + * [bool](class_bool) **[interpolate_deferred_callback](#interpolate_deferred_callback)** **(** [Object](class_object) object, [float](class_float) times_in_sec, [String](class_string) callback, var arg1=NULL, var arg2=NULL, var arg3=NULL, var arg4=NULL, var arg5=NULL **)** + * [bool](class_bool) **[follow_property](#follow_property)** **(** [Object](class_object) object, [String](class_string) property, var initial_val, [Object](class_object) target, [String](class_string) target_property, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)** + * [bool](class_bool) **[follow_method](#follow_method)** **(** [Object](class_object) object, [String](class_string) method, var initial_val, [Object](class_object) target, [String](class_string) target_method, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)** + * [bool](class_bool) **[targeting_property](#targeting_property)** **(** [Object](class_object) object, [String](class_string) property, [Object](class_object) initial, [String](class_string) initial_val, var final_val, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)** + * [bool](class_bool) **[targeting_method](#targeting_method)** **(** [Object](class_object) object, [String](class_string) method, [Object](class_object) initial, [String](class_string) initial_method, var final_val, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)** ### Signals - * **tween_complete** **(** [Object](class_object) node, [String](class_string) key **)** - * **tween_step** **(** [Object](class_object) node, [String](class_string) key, [float](class_float) elapsed, [Object](class_object) value **)** - * **tween_start** **(** [Object](class_object) node, [String](class_string) key **)** + * **tween_complete** **(** [Object](class_object) object, [String](class_string) key **)** + * **tween_step** **(** [Object](class_object) object, [String](class_string) key, [float](class_float) elapsed, [Object](class_object) value **)** + * **tween_start** **(** [Object](class_object) object, [String](class_string) key **)** ### Numeric Constants + * **TWEEN_PROCESS_FIXED** = **0** + * **TWEEN_PROCESS_IDLE** = **1** * **TRANS_LINEAR** = **0** * **TRANS_SINE** = **1** * **TRANS_QUINT** = **2** diff --git a/class_vector2.md b/class_vector2.md index 59a6f8a..6f8be09 100644 --- a/class_vector2.md +++ b/class_vector2.md @@ -19,9 +19,9 @@ Vector used for 2D Math. * [float](class_float) **[length_squared](#length_squared)** **(** **)** * [Vector2](class_vector2) **[linear_interpolate](#linear_interpolate)** **(** [Vector2](class_vector2) b, [float](class_float) t **)** * [Vector2](class_vector2) **[normalized](#normalized)** **(** **)** - * [float](class_float) **[reflect](#reflect)** **(** [Vector2](class_vector2) vec **)** + * [Vector2](class_vector2) **[reflect](#reflect)** **(** [Vector2](class_vector2) vec **)** * [Vector2](class_vector2) **[rotated](#rotated)** **(** [float](class_float) phi **)** - * [float](class_float) **[slide](#slide)** **(** [Vector2](class_vector2) vec **)** + * [Vector2](class_vector2) **[slide](#slide)** **(** [Vector2](class_vector2) vec **)** * [Vector2](class_vector2) **[snapped](#snapped)** **(** [Vector2](class_vector2) by **)** * [Vector2](class_vector2) **[tangent](#tangent)** **(** **)** * void **[Vector2](#Vector2)** **(** [float](class_float) x, [float](class_float) y **)** diff --git a/class_viewport.md b/class_viewport.md index 55c6788..cf6828b 100644 --- a/class_viewport.md +++ b/class_viewport.md @@ -31,6 +31,9 @@ Creates a sub-view into the screen. * [bool](class_bool) **[is_set_as_render_target](#is_set_as_render_target)** **(** **)** const * void **[set_render_target_vflip](#set_render_target_vflip)** **(** [bool](class_bool) enable **)** * [bool](class_bool) **[get_render_target_vflip](#get_render_target_vflip)** **(** **)** const + * void **[set_render_target_clear_on_new_frame](#set_render_target_clear_on_new_frame)** **(** [bool](class_bool) enable **)** + * [bool](class_bool) **[get_render_target_clear_on_new_frame](#get_render_target_clear_on_new_frame)** **(** **)** const + * void **[render_target_clear](#render_target_clear)** **(** **)** * void **[set_render_target_filter](#set_render_target_filter)** **(** [bool](class_bool) enable **)** * [bool](class_bool) **[get_render_target_filter](#get_render_target_filter)** **(** **)** const * void **[set_render_target_gen_mipmaps](#set_render_target_gen_mipmaps)** **(** [bool](class_bool) enable **)** @@ -52,6 +55,7 @@ Creates a sub-view into the screen. * void **[set_as_audio_listener_2d](#set_as_audio_listener_2d)** **(** [bool](class_bool) enable **)** * [bool](class_bool) **[is_audio_listener_2d](#is_audio_listener_2d)** **(** **)** const * void **[set_render_target_to_screen_rect](#set_render_target_to_screen_rect)** **(** [Rect2](class_rect2) arg0 **)** + * void **[warp_mouse](#warp_mouse)** **(** [Vector2](class_vector2) to_pos **)** ### Signals * **size_changed** **(** **)** diff --git a/class_visibilityenabler2d.md b/class_visibilityenabler2d.md index 38fadd0..8443b68 100644 --- a/class_visibilityenabler2d.md +++ b/class_visibilityenabler2d.md @@ -12,6 +12,7 @@ ### Numeric Constants * **ENABLER_FREEZE_BODIES** = **1** * **ENABLER_PAUSE_ANIMATIONS** = **0** - * **ENABLER_MAX** = **2** + * **ENABLER_PAUSE_PARTICLES** = **2** + * **ENABLER_MAX** = **3** ### Member Function Description diff --git a/class_visualserver.md b/class_visualserver.md index 760ad24..56479a0 100644 --- a/class_visualserver.md +++ b/class_visualserver.md @@ -146,8 +146,8 @@ Server for anything visible. * [float](class_float) **[canvas_item_get_self_opacity](#canvas_item_get_self_opacity)** **(** [RID](class_rid) arg0, [float](class_float) arg1 **)** const * void **[canvas_item_add_line](#canvas_item_add_line)** **(** [RID](class_rid) arg0, [Vector2](class_vector2) arg1, [Vector2](class_vector2) arg2, [Color](class_color) arg3, [float](class_float) arg4=1 **)** * void **[canvas_item_add_rect](#canvas_item_add_rect)** **(** [RID](class_rid) arg0, [Rect2](class_rect2) arg1, [Color](class_color) arg2 **)** - * void **[canvas_item_add_texture_rect](#canvas_item_add_texture_rect)** **(** [RID](class_rid) arg0, [Rect2](class_rect2) arg1, [RID](class_rid) arg2, [bool](class_bool) arg3, [Color](class_color) arg4=Color(1,1,1,1) **)** - * void **[canvas_item_add_texture_rect_region](#canvas_item_add_texture_rect_region)** **(** [RID](class_rid) arg0, [Rect2](class_rect2) arg1, [RID](class_rid) arg2, [Rect2](class_rect2) arg3, [Color](class_color) arg4=Color(1,1,1,1) **)** + * void **[canvas_item_add_texture_rect](#canvas_item_add_texture_rect)** **(** [RID](class_rid) arg0, [Rect2](class_rect2) arg1, [RID](class_rid) arg2, [bool](class_bool) arg3, [Color](class_color) arg4=Color(1,1,1,1), [bool](class_bool) arg5=false **)** + * void **[canvas_item_add_texture_rect_region](#canvas_item_add_texture_rect_region)** **(** [RID](class_rid) arg0, [Rect2](class_rect2) arg1, [RID](class_rid) arg2, [Rect2](class_rect2) arg3, [Color](class_color) arg4=Color(1,1,1,1), [bool](class_bool) arg5=false **)** * void **[canvas_item_add_style_box](#canvas_item_add_style_box)** **(** [RID](class_rid) arg0, [Rect2](class_rect2) arg1, [RID](class_rid) arg2, [RealArray](class_realarray) arg3, [Color](class_color) arg4=Color(1,1,1,1) **)** * void **[canvas_item_add_circle](#canvas_item_add_circle)** **(** [RID](class_rid) arg0, [Vector2](class_vector2) arg1, [float](class_float) arg2, [Color](class_color) arg3 **)** * void **[viewport_set_canvas_transform](#viewport_set_canvas_transform)** **(** [RID](class_rid) arg0, [RID](class_rid) arg1, [Matrix32](class_matrix32) arg2 **)** diff --git a/class_weakref.md b/class_weakref.md new file mode 100644 index 0000000..9ea79c8 --- /dev/null +++ b/class_weakref.md @@ -0,0 +1,11 @@ +# WeakRef +####**Inherits:** [Reference](class_reference) +####**Category:** Core + +### Brief Description + + +### Member Functions + * void **[get_ref](#get_ref)** **(** **)** const + +### Member Function Description diff --git a/class_world.md b/class_world.md index a85698a..5a4befc 100644 --- a/class_world.md +++ b/class_world.md @@ -11,6 +11,7 @@ Class that has everything pertaining to a world. * [RID](class_rid) **[get_sound_space](#get_sound_space)** **(** **)** const * void **[set_environment](#set_environment)** **(** [Environment](class_environment) env **)** * [Environment](class_environment) **[get_environment](#get_environment)** **(** **)** const + * [PhysicsDirectSpaceState](class_physicsdirectspacestate) **[get_direct_space_state](#get_direct_space_state)** **(** **)** ### Description Class that has everything pertaining to a world. A physics space, a visual scenario and a sound space. Spatial nodes register their resources into the current world. diff --git a/class_world2d.md b/class_world2d.md index c1bb059..ace1164 100644 --- a/class_world2d.md +++ b/class_world2d.md @@ -9,6 +9,7 @@ Class that has everything pertaining to a 2D world. * [RID](class_rid) **[get_canvas](#get_canvas)** **(** **)** * [RID](class_rid) **[get_space](#get_space)** **(** **)** * [RID](class_rid) **[get_sound_space](#get_sound_space)** **(** **)** + * [Physics2DDirectSpaceState](class_physics2ddirectspacestate) **[get_direct_space_state](#get_direct_space_state)** **(** **)** ### Description Class that has everything pertaining to a 2D world. A physics space, a visual scenario and a sound space. 2D nodes register their resources into the current 2D world.