You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Autogen Class List
@@ -31,7 +31,7 @@ Built-in GDScript functions.
|
|||||||
* [float](class_float) **[ease](#ease)** **(** [float](class_float) s, [float](class_float) curve **)**
|
* [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) **[decimals](#decimals)** **(** [float](class_float) step **)**
|
||||||
* [float](class_float) **[stepify](#stepify)** **(** [float](class_float) s, [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 **)**
|
* [float](class_float) **[dectime](#dectime)** **(** [float](class_float) value, [float](class_float) amount, [float](class_float) step **)**
|
||||||
* [Nil](class_nil) **[randomize](#randomize)** **(** **)**
|
* [Nil](class_nil) **[randomize](#randomize)** **(** **)**
|
||||||
* [int](class_int) **[randi](#randi)** **(** **)**
|
* [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) **[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 **)**
|
* [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 **)**
|
* [int](class_int) **[nearest_po2](#nearest_po2)** **(** [int](class_int) val **)**
|
||||||
* [Object](class_object) **[weakref](#weakref)** **(** [Object](class_object) obj **)**
|
* [WeakRef](class_weakref) **[weakref](#weakref)** **(** [Object](class_object) obj **)**
|
||||||
* [Object](class_object) **[funcref](#funcref)** **(** [Object](class_object) instance, [String](class_string) funcname **)**
|
* [FuncRef](class_funcref) **[funcref](#funcref)** **(** [Object](class_object) instance, [String](class_string) funcname **)**
|
||||||
* [Object](class_object) **[convert](#convert)** **(** var what, [int](class_int) type **)**
|
* [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 ... **)**
|
||||||
* [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) **[printt](#printt)** **(** var what, var ... **)**
|
||||||
* [Nil](class_nil) **[printerr](#printerr)** **(** var what, var ... **)**
|
* [Nil](class_nil) **[printerr](#printerr)** **(** var what, var ... **)**
|
||||||
* [Nil](class_nil) **[printraw](#printraw)** **(** 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 ... **)**
|
* [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 **)**
|
* [Dictionary](class_dictionary) **[inst2dict](#inst2dict)** **(** [Object](class_object) inst **)**
|
||||||
* [Object](class_object) **[dict2inst](#dict2inst)** **(** [Dictionary](class_dictionary) dict **)**
|
* [Object](class_object) **[dict2inst](#dict2inst)** **(** [Dictionary](class_dictionary) dict **)**
|
||||||
* [int](class_int) **[hash](#hash)** **(** var var:var **)**
|
* [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.
|
Snap float value to a given step.
|
||||||
|
|
||||||
|
#### <a name="lerp">lerp</a>
|
||||||
|
* [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.
|
||||||
|
|
||||||
|
#### <a name="dectime">dectime</a>
|
||||||
|
* [float](class_float) **dectime** **(** [float](class_float) value, [float](class_float) amount, [float](class_float) step **)**
|
||||||
|
|
||||||
|
Decreases time by a specified amount.
|
||||||
|
|
||||||
#### <a name="randomize">randomize</a>
|
#### <a name="randomize">randomize</a>
|
||||||
* [Nil](class_nil) **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.
|
Return the nearest larger power of 2 for an integer.
|
||||||
|
|
||||||
#### <a name="weakref">weakref</a>
|
#### <a name="weakref">weakref</a>
|
||||||
* [Object](class_object) **weakref** **(** [Object](class_object) obj **)**
|
* [WeakRef](class_weakref) **weakref** **(** [Object](class_object) obj **)**
|
||||||
|
|
||||||
Return a weak reference to an object.
|
Return a weak reference to an object.
|
||||||
|
|
||||||
|
#### <a name="funcref">funcref</a>
|
||||||
|
* [FuncRef](class_funcref) **funcref** **(** [Object](class_object) instance, [String](class_string) funcname **)**
|
||||||
|
|
||||||
|
Returns a reference to the specified function
|
||||||
|
|
||||||
#### <a name="convert">convert</a>
|
#### <a name="convert">convert</a>
|
||||||
* [Object](class_object) **convert** **(** var what, [int](class_int) type **)**
|
* [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.
|
Print one or more arguments to strings in the best way possible to a console line.
|
||||||
|
|
||||||
|
#### <a name="printt">printt</a>
|
||||||
|
* [Nil](class_nil) **printt** **(** var what, var ... **)**
|
||||||
|
|
||||||
|
Print one or more arguments to the console with a tab between each argument.
|
||||||
|
|
||||||
#### <a name="printerr">printerr</a>
|
#### <a name="printerr">printerr</a>
|
||||||
* [Nil](class_nil) **printerr** **(** var what, var ... **)**
|
* [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.
|
Print one or more arguments to strings in the best way possible to console. No newline is added at the end.
|
||||||
|
|
||||||
|
#### <a name="var2str">var2str</a>
|
||||||
|
* [String](class_string) **var2str** **(** var var **)**
|
||||||
|
|
||||||
|
Converts the value of a variable to a String.
|
||||||
|
|
||||||
|
#### <a name="str2var:var">str2var:var</a>
|
||||||
|
* [Nil](class_nil) **str2var:var** **(** [String](class_string) string **)**
|
||||||
|
|
||||||
|
Converts the value of a String to a variable.
|
||||||
|
|
||||||
#### <a name="range">range</a>
|
#### <a name="range">range</a>
|
||||||
* [Array](class_array) **range** **(** var ... **)**
|
* [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).
|
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).
|
||||||
|
|
||||||
#### <a name="load">load</a>
|
#### <a name="load">load</a>
|
||||||
* [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
|
Load a resource from the filesystem, pass a valid
|
||||||
path as argument.
|
path as argument.
|
||||||
@@ -329,6 +361,11 @@ Convert a script class instance to a dictionary
|
|||||||
Convert a previously converted instances to dictionary
|
Convert a previously converted instances to dictionary
|
||||||
back into an instance. Useful for deserializing.
|
back into an instance. Useful for deserializing.
|
||||||
|
|
||||||
|
#### <a name="hash">hash</a>
|
||||||
|
* [int](class_int) **hash** **(** var var:var **)**
|
||||||
|
|
||||||
|
Hashes the variable passed and returns an integer.
|
||||||
|
|
||||||
#### <a name="print_stack">print_stack</a>
|
#### <a name="print_stack">print_stack</a>
|
||||||
* [Nil](class_nil) **print_stack** **(** **)**
|
* [Nil](class_nil) **print_stack** **(** **)**
|
||||||
|
|
||||||
|
|||||||
@@ -294,6 +294,7 @@ Global scope constants and variables.
|
|||||||
* **KEY_MASK_ALT** = **67108864**
|
* **KEY_MASK_ALT** = **67108864**
|
||||||
* **KEY_MASK_META** = **134217728**
|
* **KEY_MASK_META** = **134217728**
|
||||||
* **KEY_MASK_CTRL** = **268435456**
|
* **KEY_MASK_CTRL** = **268435456**
|
||||||
|
* **KEY_MASK_CMD** = **268435456**
|
||||||
* **KEY_MASK_KPAD** = **536870912**
|
* **KEY_MASK_KPAD** = **536870912**
|
||||||
* **KEY_MASK_GROUP_SWITCH** = **1073741824**
|
* **KEY_MASK_GROUP_SWITCH** = **1073741824**
|
||||||
* **BUTTON_LEFT** = **1**
|
* **BUTTON_LEFT** = **1**
|
||||||
|
|||||||
@@ -14,19 +14,30 @@ General purpose area detection and influence for 2D Phisics.
|
|||||||
* [Vector2](class_vector2) **[get_gravity_vector](#get_gravity_vector)** **(** **)** const
|
* [Vector2](class_vector2) **[get_gravity_vector](#get_gravity_vector)** **(** **)** const
|
||||||
* void **[set_gravity](#set_gravity)** **(** [float](class_float) gravity **)**
|
* void **[set_gravity](#set_gravity)** **(** [float](class_float) gravity **)**
|
||||||
* [float](class_float) **[get_gravity](#get_gravity)** **(** **)** const
|
* [float](class_float) **[get_gravity](#get_gravity)** **(** **)** const
|
||||||
* void **[set_density](#set_density)** **(** [float](class_float) density **)**
|
* void **[set_linear_damp](#set_linear_damp)** **(** [float](class_float) linear_damp **)**
|
||||||
* [float](class_float) **[get_density](#get_density)** **(** **)** const
|
* [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 **)**
|
* void **[set_priority](#set_priority)** **(** [float](class_float) priority **)**
|
||||||
* [float](class_float) **[get_priority](#get_priority)** **(** **)** const
|
* [float](class_float) **[get_priority](#get_priority)** **(** **)** const
|
||||||
* void **[set_enable_monitoring](#set_enable_monitoring)** **(** [bool](class_bool) enable **)**
|
* void **[set_enable_monitoring](#set_enable_monitoring)** **(** [bool](class_bool) enable **)**
|
||||||
* [bool](class_bool) **[is_monitoring_enabled](#is_monitoring_enabled)** **(** **)** const
|
* [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_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
|
### Signals
|
||||||
* **body_enter** **(** [Object](class_object) body **)**
|
* **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 **)**
|
* **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** **(** [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 **)**
|
* **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
|
### 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.
|
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.
|
||||||
|
|||||||
19
class_backbuffercopy.md
Normal file
19
class_backbuffercopy.md
Normal file
@@ -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
|
||||||
@@ -24,8 +24,6 @@ Camera node, displays from a point of view.
|
|||||||
* [int](class_int) **[get_projection](#get_projection)** **(** **)** const
|
* [int](class_int) **[get_projection](#get_projection)** **(** **)** const
|
||||||
* void **[set_visible_layers](#set_visible_layers)** **(** [int](class_int) mask **)**
|
* void **[set_visible_layers](#set_visible_layers)** **(** [int](class_int) mask **)**
|
||||||
* [int](class_int) **[get_visible_layers](#get_visible_layers)** **(** **)** const
|
* [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 **)**
|
* void **[set_environment](#set_environment)** **(** [Environment](class_environment) env **)**
|
||||||
* [Environment](class_environment) **[get_environment](#get_environment)** **(** **)** const
|
* [Environment](class_environment) **[get_environment](#get_environment)** **(** **)** const
|
||||||
* void **[set_keep_aspect_mode](#set_keep_aspect_mode)** **(** [int](class_int) mode **)**
|
* void **[set_keep_aspect_mode](#set_keep_aspect_mode)** **(** [int](class_int) mode **)**
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ Camera node for 2D scenes.
|
|||||||
* void **[set_rotating](#set_rotating)** **(** [bool](class_bool) rotating **)**
|
* void **[set_rotating](#set_rotating)** **(** [bool](class_bool) rotating **)**
|
||||||
* [bool](class_bool) **[is_rotating](#is_rotating)** **(** **)** const
|
* [bool](class_bool) **[is_rotating](#is_rotating)** **(** **)** const
|
||||||
* void **[make_current](#make_current)** **(** **)**
|
* void **[make_current](#make_current)** **(** **)**
|
||||||
|
* void **[clear_current](#clear_current)** **(** **)**
|
||||||
* [bool](class_bool) **[is_current](#is_current)** **(** **)** const
|
* [bool](class_bool) **[is_current](#is_current)** **(** **)** const
|
||||||
* void **[set_limit](#set_limit)** **(** [int](class_int) margin, [int](class_int) limit **)**
|
* 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
|
* [int](class_int) **[get_limit](#get_limit)** **(** [int](class_int) margin **)** const
|
||||||
|
|||||||
@@ -22,18 +22,20 @@ Base class of anything 2D.
|
|||||||
* [bool](class_bool) **[is_set_as_toplevel](#is_set_as_toplevel)** **(** **)** const
|
* [bool](class_bool) **[is_set_as_toplevel](#is_set_as_toplevel)** **(** **)** const
|
||||||
* void **[set_blend_mode](#set_blend_mode)** **(** [int](class_int) blend_mode **)**
|
* void **[set_blend_mode](#set_blend_mode)** **(** [int](class_int) blend_mode **)**
|
||||||
* [int](class_int) **[get_blend_mode](#get_blend_mode)** **(** **)** const
|
* [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 **)**
|
* void **[set_opacity](#set_opacity)** **(** [float](class_float) opacity **)**
|
||||||
* [float](class_float) **[get_opacity](#get_opacity)** **(** **)** const
|
* [float](class_float) **[get_opacity](#get_opacity)** **(** **)** const
|
||||||
* void **[set_self_opacity](#set_self_opacity)** **(** [float](class_float) self_opacity **)**
|
* void **[set_self_opacity](#set_self_opacity)** **(** [float](class_float) self_opacity **)**
|
||||||
* [float](class_float) **[get_self_opacity](#get_self_opacity)** **(** **)** const
|
* [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
|
* [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_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_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_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](#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](#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=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_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_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() **)**
|
* 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 **)**
|
* 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_transform](#get_transform)** **(** **)** const
|
||||||
* [Matrix32](class_matrix32) **[get_global_transform](#get_global_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
|
* [Matrix32](class_matrix32) **[get_viewport_transform](#get_viewport_transform)** **(** **)** const
|
||||||
* [Rect2](class_rect2) **[get_viewport_rect](#get_viewport_rect)** **(** **)** 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
|
* [RID](class_rid) **[get_canvas](#get_canvas)** **(** **)** const
|
||||||
* [Object](class_object) **[get_world_2d](#get_world_2d)** **(** **)** 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
|
### Signals
|
||||||
* **item_rect_changed** **(** **)**
|
* **item_rect_changed** **(** **)**
|
||||||
@@ -181,12 +190,12 @@ Draw a colored circle.
|
|||||||
Draw a texture at a given position.
|
Draw a texture at a given position.
|
||||||
|
|
||||||
#### <a name="draw_texture_rect">draw_texture_rect</a>
|
#### <a name="draw_texture_rect">draw_texture_rect</a>
|
||||||
* 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 a textured rectangle at a given position, optionally modulated by a color.
|
||||||
|
|
||||||
#### <a name="draw_texture_rect_region">draw_texture_rect_region</a>
|
#### <a name="draw_texture_rect_region">draw_texture_rect_region</a>
|
||||||
* 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.
|
Draw a textured rectangle region at a given position, optionally modulated by a color.
|
||||||
|
|
||||||
|
|||||||
16
class_canvasitemmaterial.md
Normal file
16
class_canvasitemmaterial.md
Normal file
@@ -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
|
||||||
6
class_canvasitemshader.md
Normal file
6
class_canvasitemshader.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# CanvasItemShader
|
||||||
|
####**Inherits:** [Shader](class_shader)
|
||||||
|
####**Category:** Core
|
||||||
|
|
||||||
|
### Brief Description
|
||||||
|
|
||||||
6
class_canvasitemshadergraph.md
Normal file
6
class_canvasitemshadergraph.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# CanvasItemShaderGraph
|
||||||
|
####**Inherits:** [ShaderGraph](class_shadergraph)
|
||||||
|
####**Category:** Core
|
||||||
|
|
||||||
|
### Brief Description
|
||||||
|
|
||||||
12
class_canvasmodulate.md
Normal file
12
class_canvasmodulate.md
Normal file
@@ -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
|
||||||
6
class_checkbox.md
Normal file
6
class_checkbox.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# CheckBox
|
||||||
|
####**Inherits:** [Button](class_button)
|
||||||
|
####**Category:** Core
|
||||||
|
|
||||||
|
### Brief Description
|
||||||
|
|
||||||
@@ -6,6 +6,7 @@
|
|||||||
Base node for 2D collisionables.
|
Base node for 2D collisionables.
|
||||||
|
|
||||||
### Member Functions
|
### 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 **)**
|
* 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
|
* [int](class_int) **[get_shape_count](#get_shape_count)** **(** **)** const
|
||||||
* void **[set_shape](#set_shape)** **(** [int](class_int) shape_idx, [Shape](class_shape) shape **)**
|
* 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 **[remove_shape](#remove_shape)** **(** [int](class_int) shape_idx **)**
|
||||||
* void **[clear_shapes](#clear_shapes)** **(** **)**
|
* void **[clear_shapes](#clear_shapes)** **(** **)**
|
||||||
* [RID](class_rid) **[get_rid](#get_rid)** **(** **)** const
|
* [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
|
### 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.
|
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.
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
* [bool](class_bool) **[has_section_key](#has_section_key)** **(** [String](class_string) section, [String](class_string) key **)** const
|
* [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_sections](#get_sections)** **(** **)** const
|
||||||
* [StringArray](class_stringarray) **[get_section_keys](#get_section_keys)** **(** [String](class_string) arg0 **)** const
|
* [StringArray](class_stringarray) **[get_section_keys](#get_section_keys)** **(** [String](class_string) arg0 **)** const
|
||||||
* [int](class_int) **[load](#load)** **(** [String](class_string) path **)**
|
* Error **[load](#load)** **(** [String](class_string) path **)**
|
||||||
* [int](class_int) **[save](#save)** **(** [String](class_string) path **)**
|
* Error **[save](#save)** **(** [String](class_string) path **)**
|
||||||
|
|
||||||
### Member Function Description
|
### Member Function Description
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ Control is the base node for all the GUI components.
|
|||||||
* [bool](class_bool) **[is_stopping_mouse](#is_stopping_mouse)** **(** **)** const
|
* [bool](class_bool) **[is_stopping_mouse](#is_stopping_mouse)** **(** **)** const
|
||||||
* void **[grab_click_focus](#grab_click_focus)** **(** **)**
|
* void **[grab_click_focus](#grab_click_focus)** **(** **)**
|
||||||
* void **[set_drag_preview](#set_drag_preview)** **(** [Control](class_control) control **)**
|
* void **[set_drag_preview](#set_drag_preview)** **(** [Control](class_control) control **)**
|
||||||
|
* void **[warp_mouse](#warp_mouse)** **(** [Vector2](class_vector2) to_pos **)**
|
||||||
|
|
||||||
### Signals
|
### Signals
|
||||||
* **focus_enter** **(** **)**
|
* **focus_enter** **(** **)**
|
||||||
@@ -84,7 +85,7 @@ Control is the base node for all the GUI components.
|
|||||||
* **minimum_size_changed** **(** **)**
|
* **minimum_size_changed** **(** **)**
|
||||||
* **size_flags_changed** **(** **)**
|
* **size_flags_changed** **(** **)**
|
||||||
* **focus_exit** **(** **)**
|
* **focus_exit** **(** **)**
|
||||||
* **input_event** **(** **)**
|
* **input_event** **(** [InputEvent](class_inputevent) ev **)**
|
||||||
* **mouse_exit** **(** **)**
|
* **mouse_exit** **(** **)**
|
||||||
|
|
||||||
### Numeric Constants
|
### Numeric Constants
|
||||||
|
|||||||
@@ -6,22 +6,22 @@
|
|||||||
|
|
||||||
|
|
||||||
### Member Functions
|
### 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)** **(** **)**
|
* [bool](class_bool) **[list_dir_begin](#list_dir_begin)** **(** **)**
|
||||||
* [String](class_string) **[get_next](#get_next)** **(** **)**
|
* [String](class_string) **[get_next](#get_next)** **(** **)**
|
||||||
* [bool](class_bool) **[current_is_dir](#current_is_dir)** **(** **)** const
|
* [bool](class_bool) **[current_is_dir](#current_is_dir)** **(** **)** const
|
||||||
* void **[list_dir_end](#list_dir_end)** **(** **)**
|
* void **[list_dir_end](#list_dir_end)** **(** **)**
|
||||||
* [int](class_int) **[get_drive_count](#get_drive_count)** **(** **)**
|
* [int](class_int) **[get_drive_count](#get_drive_count)** **(** **)**
|
||||||
* [String](class_string) **[get_drive](#get_drive)** **(** [int](class_int) idx **)**
|
* [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)** **(** **)**
|
* [String](class_string) **[get_current_dir](#get_current_dir)** **(** **)**
|
||||||
* [int](class_int) **[make_dir](#make_dir)** **(** [String](class_string) name **)**
|
* Error **[make_dir](#make_dir)** **(** [String](class_string) name **)**
|
||||||
* [int](class_int) **[make_dir_recursive](#make_dir_recursive)** **(** [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) **[file_exists](#file_exists)** **(** [String](class_string) name **)**
|
||||||
* [bool](class_bool) **[dir_exists](#dir_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) **[get_space_left](#get_space_left)** **(** **)**
|
||||||
* [int](class_int) **[copy](#copy)** **(** [String](class_string) from, [String](class_string) to **)**
|
* Error **[copy](#copy)** **(** [String](class_string) from, [String](class_string) to **)**
|
||||||
* [int](class_int) **[rename](#rename)** **(** [String](class_string) from, [String](class_string) to **)**
|
* Error **[rename](#rename)** **(** [String](class_string) from, [String](class_string) to **)**
|
||||||
* [int](class_int) **[remove](#remove)** **(** [String](class_string) file **)**
|
* Error **[remove](#remove)** **(** [String](class_string) file **)**
|
||||||
|
|
||||||
### Member Function Description
|
### Member Function Description
|
||||||
|
|||||||
@@ -21,15 +21,15 @@
|
|||||||
* **BG_COLOR** = **2**
|
* **BG_COLOR** = **2**
|
||||||
* **BG_TEXTURE** = **3**
|
* **BG_TEXTURE** = **3**
|
||||||
* **BG_CUBEMAP** = **4**
|
* **BG_CUBEMAP** = **4**
|
||||||
* **BG_TEXTURE_RGBE** = **5**
|
* **BG_CANVAS** = **5**
|
||||||
* **BG_CUBEMAP_RGBE** = **6**
|
* **BG_MAX** = **6**
|
||||||
* **BG_MAX** = **7**
|
* **BG_PARAM_CANVAS_MAX_LAYER** = **0**
|
||||||
* **BG_PARAM_COLOR** = **0**
|
* **BG_PARAM_COLOR** = **1**
|
||||||
* **BG_PARAM_TEXTURE** = **1**
|
* **BG_PARAM_TEXTURE** = **2**
|
||||||
* **BG_PARAM_CUBEMAP** = **2**
|
* **BG_PARAM_CUBEMAP** = **3**
|
||||||
* **BG_PARAM_ENERGY** = **3**
|
* **BG_PARAM_ENERGY** = **4**
|
||||||
* **BG_PARAM_GLOW** = **5**
|
* **BG_PARAM_GLOW** = **6**
|
||||||
* **BG_PARAM_MAX** = **6**
|
* **BG_PARAM_MAX** = **7**
|
||||||
* **FX_AMBIENT_LIGHT** = **0**
|
* **FX_AMBIENT_LIGHT** = **0**
|
||||||
* **FX_FXAA** = **1**
|
* **FX_FXAA** = **1**
|
||||||
* **FX_GLOW** = **2**
|
* **FX_GLOW** = **2**
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
* [String](class_string) **[get_as_text](#get_as_text)** **(** **)** const
|
* [String](class_string) **[get_as_text](#get_as_text)** **(** **)** const
|
||||||
* [bool](class_bool) **[get_endian_swap](#get_endian_swap)** **(** **)**
|
* [bool](class_bool) **[get_endian_swap](#get_endian_swap)** **(** **)**
|
||||||
* void **[set_endian_swap](#set_endian_swap)** **(** [bool](class_bool) enable **)**
|
* 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
|
* void **[get_var](#get_var)** **(** **)** const
|
||||||
* [StringArray](class_stringarray) **[get_csv_line](#get_csv_line)** **(** **)** const
|
* [StringArray](class_stringarray) **[get_csv_line](#get_csv_line)** **(** **)** const
|
||||||
* void **[store_8](#store_8)** **(** [int](class_int) value **)**
|
* void **[store_8](#store_8)** **(** [int](class_int) value **)**
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ Dialog for selecting files or directories in the filesystem.
|
|||||||
* [VBoxContainer](class_vboxcontainer) **[get_vbox](#get_vbox)** **(** **)**
|
* [VBoxContainer](class_vboxcontainer) **[get_vbox](#get_vbox)** **(** **)**
|
||||||
* void **[set_access](#set_access)** **(** [int](class_int) access **)**
|
* void **[set_access](#set_access)** **(** [int](class_int) access **)**
|
||||||
* [int](class_int) **[get_access](#get_access)** **(** **)** const
|
* [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)** **(** **)**
|
* void **[invalidate](#invalidate)** **(** **)**
|
||||||
|
|
||||||
### Signals
|
### Signals
|
||||||
|
|||||||
@@ -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
|
* [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_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 **)**
|
* 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_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
|
* [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 **[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
|
* 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
|
* [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
|
||||||
|
|||||||
@@ -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_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_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 **)**
|
* [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 **)**
|
* [IntArray](class_intarray) **[triangulate_polygon](#triangulate_polygon)** **(** [Vector2Array](class_vector2array) polygon **)**
|
||||||
* [Dictionary](class_dictionary) **[make_atlas](#make_atlas)** **(** [Vector2Array](class_vector2array) sizes **)**
|
* [Dictionary](class_dictionary) **[make_atlas](#make_atlas)** **(** [Vector2Array](class_vector2array) sizes **)**
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,8 @@ Base node for geometry based visual instances.
|
|||||||
* [float](class_float) **[get_draw_range_end](#get_draw_range_end)** **(** **)** const
|
* [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 **)**
|
* 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
|
* [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
|
### Numeric Constants
|
||||||
* **FLAG_VISIBLE** = **0**
|
* **FLAG_VISIBLE** = **0**
|
||||||
|
|||||||
20
class_graphedit.md
Normal file
20
class_graphedit.md
Normal file
@@ -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
|
||||||
39
class_graphnode.md
Normal file
39
class_graphnode.md
Normal file
@@ -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
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
|
|
||||||
### Member Functions
|
### 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 **)**
|
* 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) **[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 **)**
|
* [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)** **(** **)**
|
* [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
|
* [int](class_int) **[get_response_body_length](#get_response_body_length)** **(** **)** const
|
||||||
* [RawArray](class_rawarray) **[read_response_body_chunk](#read_response_body_chunk)** **(** **)**
|
* [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 **)**
|
* void **[set_blocking_mode](#set_blocking_mode)** **(** [bool](class_bool) enabled **)**
|
||||||
* [bool](class_bool) **[is_blocking_mode_enabled](#is_blocking_mode_enabled)** **(** **)** const
|
* [bool](class_bool) **[is_blocking_mode_enabled](#is_blocking_mode_enabled)** **(** **)** const
|
||||||
* [int](class_int) **[get_status](#get_status)** **(** **)** const
|
* [int](class_int) **[get_status](#get_status)** **(** **)** const
|
||||||
* [int](class_int) **[poll](#poll)** **(** **)**
|
* Error **[poll](#poll)** **(** **)**
|
||||||
|
|
||||||
### Numeric Constants
|
### Numeric Constants
|
||||||
* **METHOD_GET** = **0**
|
* **METHOD_GET** = **0**
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
* [float](class_float) **[get_lossy_storage_quality](#get_lossy_storage_quality)** **(** **)** const
|
* [float](class_float) **[get_lossy_storage_quality](#get_lossy_storage_quality)** **(** **)** const
|
||||||
* void **[fix_alpha_edges](#fix_alpha_edges)** **(** **)**
|
* void **[fix_alpha_edges](#fix_alpha_edges)** **(** **)**
|
||||||
* void **[premultiply_alpha](#premultiply_alpha)** **(** **)**
|
* void **[premultiply_alpha](#premultiply_alpha)** **(** **)**
|
||||||
|
* void **[normal_to_xy](#normal_to_xy)** **(** **)**
|
||||||
* void **[set_size_override](#set_size_override)** **(** [Vector2](class_vector2) size **)**
|
* void **[set_size_override](#set_size_override)** **(** [Vector2](class_vector2) size **)**
|
||||||
|
|
||||||
### Numeric Constants
|
### Numeric Constants
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
* void **[set_color](#set_color)** **(** [Color](class_color) color **)**
|
* void **[set_color](#set_color)** **(** [Color](class_color) color **)**
|
||||||
* void **[set_uv](#set_uv)** **(** [Vector2](class_vector2) uv **)**
|
* void **[set_uv](#set_uv)** **(** [Vector2](class_vector2) uv **)**
|
||||||
* void **[set_uv2](#set_uv2)** **(** [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 **[add_sphere](#add_sphere)** **(** [int](class_int) lats, [int](class_int) lons, [float](class_float) radius **)**
|
||||||
* void **[end](#end)** **(** **)**
|
* void **[end](#end)** **(** **)**
|
||||||
* void **[clear](#clear)** **(** **)**
|
* void **[clear](#clear)** **(** **)**
|
||||||
|
|||||||
@@ -19,6 +19,8 @@
|
|||||||
* void **[set_mouse_mode](#set_mouse_mode)** **(** [int](class_int) mode **)**
|
* void **[set_mouse_mode](#set_mouse_mode)** **(** [int](class_int) mode **)**
|
||||||
* [int](class_int) **[get_mouse_mode](#get_mouse_mode)** **(** **)** const
|
* [int](class_int) **[get_mouse_mode](#get_mouse_mode)** **(** **)** const
|
||||||
* void **[warp_mouse_pos](#warp_mouse_pos)** **(** [Vector2](class_vector2) to **)**
|
* 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
|
### Signals
|
||||||
* **joy_connection_changed** **(** [int](class_int) index, [bool](class_bool) connected **)**
|
* **joy_connection_changed** **(** [int](class_int) index, [bool](class_bool) connected **)**
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ Built-in input event data.
|
|||||||
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
||||||
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
||||||
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
||||||
|
* void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)**
|
||||||
|
|
||||||
### Member Variables
|
### Member Variables
|
||||||
* [int](class_int) **type**
|
* [int](class_int) **type**
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
||||||
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
||||||
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
||||||
|
* void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)**
|
||||||
|
|
||||||
### Member Variables
|
### Member Variables
|
||||||
* [int](class_int) **type**
|
* [int](class_int) **type**
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
||||||
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
||||||
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
||||||
|
* void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)**
|
||||||
|
|
||||||
### Member Variables
|
### Member Variables
|
||||||
* [int](class_int) **type**
|
* [int](class_int) **type**
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
||||||
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
||||||
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
||||||
|
* void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)**
|
||||||
|
|
||||||
### Member Variables
|
### Member Variables
|
||||||
* [int](class_int) **type**
|
* [int](class_int) **type**
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
||||||
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
||||||
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
||||||
|
* void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)**
|
||||||
|
|
||||||
### Member Variables
|
### Member Variables
|
||||||
* [int](class_int) **type**
|
* [int](class_int) **type**
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
||||||
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
||||||
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
||||||
|
* void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)**
|
||||||
|
|
||||||
### Member Variables
|
### Member Variables
|
||||||
* [int](class_int) **type**
|
* [int](class_int) **type**
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
||||||
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
||||||
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
||||||
|
* void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)**
|
||||||
|
|
||||||
### Member Variables
|
### Member Variables
|
||||||
* [int](class_int) **type**
|
* [int](class_int) **type**
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
||||||
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
||||||
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
||||||
|
* void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)**
|
||||||
|
|
||||||
### Member Variables
|
### Member Variables
|
||||||
* [int](class_int) **type**
|
* [int](class_int) **type**
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
* [bool](class_bool) **[is_action](#is_action)** **(** [String](class_string) action **)**
|
||||||
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
* [bool](class_bool) **[is_echo](#is_echo)** **(** **)**
|
||||||
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)**
|
||||||
|
* void **[set_as_action](#set_as_action)** **(** [String](class_string) action, [bool](class_bool) pressed **)**
|
||||||
|
|
||||||
### Member Variables
|
### Member Variables
|
||||||
* [int](class_int) **type**
|
* [int](class_int) **type**
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
### Member Functions
|
### Member Functions
|
||||||
* [Vector2](class_vector2) **[move](#move)** **(** [Vector2](class_vector2) rel_vec **)**
|
* [Vector2](class_vector2) **[move](#move)** **(** [Vector2](class_vector2) rel_vec **)**
|
||||||
* [Vector2](class_vector2) **[move_to](#move_to)** **(** [Vector2](class_vector2) position **)**
|
* [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
|
* [bool](class_bool) **[is_colliding](#is_colliding)** **(** **)** const
|
||||||
* [Vector2](class_vector2) **[get_collision_pos](#get_collision_pos)** **(** **)** const
|
* [Vector2](class_vector2) **[get_collision_pos](#get_collision_pos)** **(** **)** const
|
||||||
* [Vector2](class_vector2) **[get_collision_normal](#get_collision_normal)** **(** **)** const
|
* [Vector2](class_vector2) **[get_collision_normal](#get_collision_normal)** **(** **)** const
|
||||||
|
|||||||
42
class_light2d.md
Normal file
42
class_light2d.md
Normal file
@@ -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
|
||||||
14
class_lightoccluder2d.md
Normal file
14
class_lightoccluder2d.md
Normal file
@@ -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
|
||||||
208
class_list.md
208
class_list.md
@@ -1,45 +1,51 @@
|
|||||||
|
|
||||||
| | | | |
|
| | | | |
|
||||||
| --- | ------- | --- | ------- |
|
| --- | ------- | --- | ------- |
|
||||||
| **@** | [@GDScript](class_@gdscript) | | [Path2D](class_path2d) |
|
| **@** | [@GDScript](class_@gdscript) | | [ParallaxBackground](class_parallaxbackground) |
|
||||||
| | [@Global Scope](class_@global scope) | | [PathFollow](class_pathfollow) |
|
| | [@Global Scope](class_@global scope) | | [ParallaxLayer](class_parallaxlayer) |
|
||||||
| **A** | [AABB](class_aabb) | | [PathFollow2D](class_pathfollow2d) |
|
| **A** | [AABB](class_aabb) | | [ParticleAttractor2D](class_particleattractor2d) |
|
||||||
| | [AcceptDialog](class_acceptdialog) | | [PathRemap](class_pathremap) |
|
| | [AcceptDialog](class_acceptdialog) | | [Particles](class_particles) |
|
||||||
| | [AnimatedSprite](class_animatedsprite) | | [Performance](class_performance) |
|
| | [AnimatedSprite](class_animatedsprite) | | [Particles2D](class_particles2d) |
|
||||||
| | [AnimatedSprite3D](class_animatedsprite3d) | | [Physics2DDirectBodyState](class_physics2ddirectbodystate) |
|
| | [AnimatedSprite3D](class_animatedsprite3d) | | [Path](class_path) |
|
||||||
| | [Animation](class_animation) | | [Physics2DDirectBodyStateSW](class_physics2ddirectbodystatesw) |
|
| | [Animation](class_animation) | | [Path2D](class_path2d) |
|
||||||
| | [AnimationPlayer](class_animationplayer) | | [Physics2DDirectSpaceState](class_physics2ddirectspacestate) |
|
| | [AnimationPlayer](class_animationplayer) | | [PathFollow](class_pathfollow) |
|
||||||
| | [AnimationTreePlayer](class_animationtreeplayer) | | [Physics2DServer](class_physics2dserver) |
|
| | [AnimationTreePlayer](class_animationtreeplayer) | | [PathFollow2D](class_pathfollow2d) |
|
||||||
| | [Area](class_area) | | [Physics2DServerSW](class_physics2dserversw) |
|
| | [Area](class_area) | | [PathRemap](class_pathremap) |
|
||||||
| | [Area2D](class_area2d) | | [Physics2DShapeQueryParameters](class_physics2dshapequeryparameters) |
|
| | [Area2D](class_area2d) | | [Performance](class_performance) |
|
||||||
| | [Array](class_array) | | [Physics2DShapeQueryResult](class_physics2dshapequeryresult) |
|
| | [Array](class_array) | | [Physics2DDirectBodyState](class_physics2ddirectbodystate) |
|
||||||
| | [AtlasTexture](class_atlastexture) | | [PhysicsBody](class_physicsbody) |
|
| | [AtlasTexture](class_atlastexture) | | [Physics2DDirectBodyStateSW](class_physics2ddirectbodystatesw) |
|
||||||
| | [AudioServer](class_audioserver) | | [PhysicsBody2D](class_physicsbody2d) |
|
| | [AudioServer](class_audioserver) | | [Physics2DDirectSpaceState](class_physics2ddirectspacestate) |
|
||||||
| | [AudioServerSW](class_audioserversw) | | [PhysicsDirectBodyState](class_physicsdirectbodystate) |
|
| | [AudioServerSW](class_audioserversw) | | [Physics2DServer](class_physics2dserver) |
|
||||||
| | [AudioStream](class_audiostream) | | [PhysicsDirectBodyStateSW](class_physicsdirectbodystatesw) |
|
| | [AudioStream](class_audiostream) | | [Physics2DServerSW](class_physics2dserversw) |
|
||||||
| | [AudioStreamGibberish](class_audiostreamgibberish) | | [PhysicsDirectSpaceState](class_physicsdirectspacestate) |
|
| | [AudioStreamGibberish](class_audiostreamgibberish) | | [Physics2DShapeQueryParameters](class_physics2dshapequeryparameters) |
|
||||||
| | [AudioStreamMPC](class_audiostreammpc) | | [PhysicsServer](class_physicsserver) |
|
| | [AudioStreamMPC](class_audiostreammpc) | | [Physics2DShapeQueryResult](class_physics2dshapequeryresult) |
|
||||||
| | [AudioStreamOGGVorbis](class_audiostreamoggvorbis) | | [PhysicsServerSW](class_physicsserversw) |
|
| | [AudioStreamOGGVorbis](class_audiostreamoggvorbis) | | [PhysicsBody](class_physicsbody) |
|
||||||
| | [AudioStreamResampled](class_audiostreamresampled) | | [PhysicsShapeQueryParameters](class_physicsshapequeryparameters) |
|
| | [AudioStreamResampled](class_audiostreamresampled) | | [PhysicsBody2D](class_physicsbody2d) |
|
||||||
| | [AudioStreamSpeex](class_audiostreamspeex) | | [PhysicsShapeQueryResult](class_physicsshapequeryresult) |
|
| | [AudioStreamSpeex](class_audiostreamspeex) | | [PhysicsDirectBodyState](class_physicsdirectbodystate) |
|
||||||
| **B** | [BakedLight](class_bakedlight) | | [PinJoint](class_pinjoint) |
|
| **B** | [BackBufferCopy](class_backbuffercopy) | | [PhysicsDirectBodyStateSW](class_physicsdirectbodystatesw) |
|
||||||
| | [BakedLightInstance](class_bakedlightinstance) | | [PinJoint2D](class_pinjoint2d) |
|
| | [BakedLight](class_bakedlight) | | [PhysicsDirectSpaceState](class_physicsdirectspacestate) |
|
||||||
| | [BakedLightSampler](class_bakedlightsampler) | | [Plane](class_plane) |
|
| | [BakedLightInstance](class_bakedlightinstance) | | [PhysicsServer](class_physicsserver) |
|
||||||
| | [BaseButton](class_basebutton) | | [PlaneShape](class_planeshape) |
|
| | [BakedLightSampler](class_bakedlightsampler) | | [PhysicsServerSW](class_physicsserversw) |
|
||||||
| | [BitMap](class_bitmap) | | [Polygon2D](class_polygon2d) |
|
| | [BaseButton](class_basebutton) | | [PhysicsShapeQueryParameters](class_physicsshapequeryparameters) |
|
||||||
| | [BoneAttachment](class_boneattachment) | | [PolygonPathFinder](class_polygonpathfinder) |
|
| | [BitMap](class_bitmap) | | [PhysicsShapeQueryResult](class_physicsshapequeryresult) |
|
||||||
| | [BoxContainer](class_boxcontainer) | | [Popup](class_popup) |
|
| | [BoneAttachment](class_boneattachment) | | [PinJoint](class_pinjoint) |
|
||||||
| | [BoxShape](class_boxshape) | | [PopupDialog](class_popupdialog) |
|
| | [BoxContainer](class_boxcontainer) | | [PinJoint2D](class_pinjoint2d) |
|
||||||
| | [Button](class_button) | | [PopupMenu](class_popupmenu) |
|
| | [BoxShape](class_boxshape) | | [Plane](class_plane) |
|
||||||
| | [ButtonArray](class_buttonarray) | | [PopupPanel](class_popuppanel) |
|
| | [Button](class_button) | | [PlaneShape](class_planeshape) |
|
||||||
| | [ButtonGroup](class_buttongroup) | | [Portal](class_portal) |
|
| | [ButtonArray](class_buttonarray) | | [Polygon2D](class_polygon2d) |
|
||||||
| **C** | [Camera](class_camera) | | [Position2D](class_position2d) |
|
| | [ButtonGroup](class_buttongroup) | | [PolygonPathFinder](class_polygonpathfinder) |
|
||||||
| | [Camera2D](class_camera2d) | | [Position3D](class_position3d) |
|
| **C** | [Camera](class_camera) | | [Popup](class_popup) |
|
||||||
| | [CanvasItem](class_canvasitem) | | [ProgressBar](class_progressbar) |
|
| | [Camera2D](class_camera2d) | | [PopupDialog](class_popupdialog) |
|
||||||
| | [CanvasLayer](class_canvaslayer) | | [ProximityGroup](class_proximitygroup) |
|
| | [CanvasItem](class_canvasitem) | | [PopupMenu](class_popupmenu) |
|
||||||
| | [CapsuleShape](class_capsuleshape) | **Q** | [Quad](class_quad) |
|
| | [CanvasItemMaterial](class_canvasitemmaterial) | | [PopupPanel](class_popuppanel) |
|
||||||
| | [CapsuleShape2D](class_capsuleshape2d) | | [Quat](class_quat) |
|
| | [CanvasItemShader](class_canvasitemshader) | | [Portal](class_portal) |
|
||||||
| | [CenterContainer](class_centercontainer) | **R** | [RID](class_rid) |
|
| | [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) |
|
| | [CheckButton](class_checkbutton) | | [Range](class_range) |
|
||||||
| | [CircleShape2D](class_circleshape2d) | | [RawArray](class_rawarray) |
|
| | [CircleShape2D](class_circleshape2d) | | [RawArray](class_rawarray) |
|
||||||
| | [CollisionObject](class_collisionobject) | | [RayCast](class_raycast) |
|
| | [CollisionObject](class_collisionobject) | | [RayCast](class_raycast) |
|
||||||
@@ -72,23 +78,24 @@
|
|||||||
| | [EditorPlugin](class_editorplugin) | | [SceneTree](class_scenetree) |
|
| | [EditorPlugin](class_editorplugin) | | [SceneTree](class_scenetree) |
|
||||||
| | [EditorScenePostImport](class_editorscenepostimport) | | [Script](class_script) |
|
| | [EditorScenePostImport](class_editorscenepostimport) | | [Script](class_script) |
|
||||||
| | [EditorScript](class_editorscript) | | [ScrollBar](class_scrollbar) |
|
| | [EditorScript](class_editorscript) | | [ScrollBar](class_scrollbar) |
|
||||||
| | [EmptyControl](class_emptycontrol) | | [ScrollContainer](class_scrollcontainer) |
|
| | [Environment](class_environment) | | [ScrollContainer](class_scrollcontainer) |
|
||||||
| | [Environment](class_environment) | | [SegmentShape2D](class_segmentshape2d) |
|
| | [EventPlayer](class_eventplayer) | | [SegmentShape2D](class_segmentshape2d) |
|
||||||
| | [EventPlayer](class_eventplayer) | | [Semaphore](class_semaphore) |
|
| | [EventStream](class_eventstream) | | [Semaphore](class_semaphore) |
|
||||||
| | [EventStream](class_eventstream) | | [Separator](class_separator) |
|
| | [EventStreamChibi](class_eventstreamchibi) | | [Separator](class_separator) |
|
||||||
| | [EventStreamChibi](class_eventstreamchibi) | | [Shader](class_shader) |
|
| **F** | [File](class_file) | | [Shader](class_shader) |
|
||||||
| **F** | [File](class_file) | | [ShaderMaterial](class_shadermaterial) |
|
| | [FileDialog](class_filedialog) | | [ShaderGraph](class_shadergraph) |
|
||||||
| | [FileDialog](class_filedialog) | | [Shape](class_shape) |
|
| | [FixedMaterial](class_fixedmaterial) | | [ShaderMaterial](class_shadermaterial) |
|
||||||
| | [FixedMaterial](class_fixedmaterial) | | [Shape2D](class_shape2d) |
|
| | [Font](class_font) | | [Shape](class_shape) |
|
||||||
| | [Font](class_font) | | [Skeleton](class_skeleton) |
|
| | [FuncRef](class_funcref) | | [Shape2D](class_shape2d) |
|
||||||
| | [FuncRef](class_funcref) | | [Slider](class_slider) |
|
| **G** | [GDFunctionState](class_gdfunctionstate) | | [Skeleton](class_skeleton) |
|
||||||
| **G** | [GDFunctionState](class_gdfunctionstate) | | [SliderJoint](class_sliderjoint) |
|
| | [GDNativeClass](class_gdnativeclass) | | [Slider](class_slider) |
|
||||||
| | [GDNativeClass](class_gdnativeclass) | | [SoundPlayer2D](class_soundplayer2d) |
|
| | [GDScript](class_gdscript) | | [SliderJoint](class_sliderjoint) |
|
||||||
| | [GDScript](class_gdscript) | | [SoundRoomParams](class_soundroomparams) |
|
| | [Generic6DOFJoint](class_generic6dofjoint) | | [SoundPlayer2D](class_soundplayer2d) |
|
||||||
| | [Generic6DOFJoint](class_generic6dofjoint) | | [Spatial](class_spatial) |
|
| | [Geometry](class_geometry) | | [SoundRoomParams](class_soundroomparams) |
|
||||||
| | [Geometry](class_geometry) | | [SpatialPlayer](class_spatialplayer) |
|
| | [GeometryInstance](class_geometryinstance) | | [Spatial](class_spatial) |
|
||||||
| | [GeometryInstance](class_geometryinstance) | | [SpatialSamplePlayer](class_spatialsampleplayer) |
|
| | [Globals](class_globals) | | [SpatialPlayer](class_spatialplayer) |
|
||||||
| | [Globals](class_globals) | | [SpatialSound2DServer](class_spatialsound2dserver) |
|
| | [GraphEdit](class_graphedit) | | [SpatialSamplePlayer](class_spatialsampleplayer) |
|
||||||
|
| | [GraphNode](class_graphnode) | | [SpatialSound2DServer](class_spatialsound2dserver) |
|
||||||
| | [GridContainer](class_gridcontainer) | | [SpatialSound2DServerSW](class_spatialsound2dserversw) |
|
| | [GridContainer](class_gridcontainer) | | [SpatialSound2DServerSW](class_spatialsound2dserversw) |
|
||||||
| | [GridMap](class_gridmap) | | [SpatialSoundServer](class_spatialsoundserver) |
|
| | [GridMap](class_gridmap) | | [SpatialSoundServer](class_spatialsoundserver) |
|
||||||
| | [GrooveJoint2D](class_groovejoint2d) | | [SpatialSoundServerSW](class_spatialsoundserversw) |
|
| | [GrooveJoint2D](class_groovejoint2d) | | [SpatialSoundServerSW](class_spatialsoundserversw) |
|
||||||
@@ -126,47 +133,48 @@
|
|||||||
| **L** | [Label](class_label) | | [TextureProgress](class_textureprogress) |
|
| **L** | [Label](class_label) | | [TextureProgress](class_textureprogress) |
|
||||||
| | [LargeTexture](class_largetexture) | | [Theme](class_theme) |
|
| | [LargeTexture](class_largetexture) | | [Theme](class_theme) |
|
||||||
| | [Light](class_light) | | [Thread](class_thread) |
|
| | [Light](class_light) | | [Thread](class_thread) |
|
||||||
| | [LineEdit](class_lineedit) | | [TileMap](class_tilemap) |
|
| | [Light2D](class_light2d) | | [TileMap](class_tilemap) |
|
||||||
| | [LineShape2D](class_lineshape2d) | | [TileSet](class_tileset) |
|
| | [LightOccluder2D](class_lightoccluder2d) | | [TileSet](class_tileset) |
|
||||||
| **M** | [MainLoop](class_mainloop) | | [Timer](class_timer) |
|
| | [LineEdit](class_lineedit) | | [Timer](class_timer) |
|
||||||
| | [MarginContainer](class_margincontainer) | | [TouchScreenButton](class_touchscreenbutton) |
|
| | [LineShape2D](class_lineshape2d) | | [ToolButton](class_toolbutton) |
|
||||||
| | [Marshalls](class_marshalls) | | [Transform](class_transform) |
|
| **M** | [MainLoop](class_mainloop) | | [TouchScreenButton](class_touchscreenbutton) |
|
||||||
| | [Material](class_material) | | [Translation](class_translation) |
|
| | [MarginContainer](class_margincontainer) | | [Transform](class_transform) |
|
||||||
| | [Matrix3](class_matrix3) | | [TranslationServer](class_translationserver) |
|
| | [Marshalls](class_marshalls) | | [Translation](class_translation) |
|
||||||
| | [Matrix32](class_matrix32) | | [Tree](class_tree) |
|
| | [Material](class_material) | | [TranslationServer](class_translationserver) |
|
||||||
| | [MenuButton](class_menubutton) | | [TreeItem](class_treeitem) |
|
| | [MaterialShader](class_materialshader) | | [Tree](class_tree) |
|
||||||
| | [Mesh](class_mesh) | | [Tween](class_tween) |
|
| | [MaterialShaderGraph](class_materialshadergraph) | | [TreeItem](class_treeitem) |
|
||||||
| | [MeshDataTool](class_meshdatatool) | **U** | [UnshadedMaterial](class_unshadedmaterial) |
|
| | [Matrix3](class_matrix3) | | [Tween](class_tween) |
|
||||||
| | [MeshInstance](class_meshinstance) | **V** | [VBoxContainer](class_vboxcontainer) |
|
| | [Matrix32](class_matrix32) | **V** | [VBoxContainer](class_vboxcontainer) |
|
||||||
| | [MeshLibrary](class_meshlibrary) | | [VButtonArray](class_vbuttonarray) |
|
| | [MenuButton](class_menubutton) | | [VButtonArray](class_vbuttonarray) |
|
||||||
| | [MultiMesh](class_multimesh) | | [VScrollBar](class_vscrollbar) |
|
| | [Mesh](class_mesh) | | [VScrollBar](class_vscrollbar) |
|
||||||
| | [MultiMeshInstance](class_multimeshinstance) | | [VSeparator](class_vseparator) |
|
| | [MeshDataTool](class_meshdatatool) | | [VSeparator](class_vseparator) |
|
||||||
| | [Mutex](class_mutex) | | [VSlider](class_vslider) |
|
| | [MeshInstance](class_meshinstance) | | [VSlider](class_vslider) |
|
||||||
| **N** | [Navigation](class_navigation) | | [VSplitContainer](class_vsplitcontainer) |
|
| | [MeshLibrary](class_meshlibrary) | | [VSplitContainer](class_vsplitcontainer) |
|
||||||
| | [NavigationMesh](class_navigationmesh) | | [Vector2](class_vector2) |
|
| | [MultiMesh](class_multimesh) | | [Vector2](class_vector2) |
|
||||||
| | [NavigationMeshInstance](class_navigationmeshinstance) | | [Vector2Array](class_vector2array) |
|
| | [MultiMeshInstance](class_multimeshinstance) | | [Vector2Array](class_vector2array) |
|
||||||
| | [Nil](class_nil) | | [Vector3](class_vector3) |
|
| | [Mutex](class_mutex) | | [Vector3](class_vector3) |
|
||||||
| | [Node](class_node) | | [Vector3Array](class_vector3array) |
|
| **N** | [Navigation](class_navigation) | | [Vector3Array](class_vector3array) |
|
||||||
| | [Node2D](class_node2d) | | [VehicleBody](class_vehiclebody) |
|
| | [Navigation2D](class_navigation2d) | | [VehicleBody](class_vehiclebody) |
|
||||||
| | [NodePath](class_nodepath) | | [VehicleWheel](class_vehiclewheel) |
|
| | [NavigationMesh](class_navigationmesh) | | [VehicleWheel](class_vehiclewheel) |
|
||||||
| **O** | [OS](class_os) | | [VideoPlayer](class_videoplayer) |
|
| | [NavigationMeshInstance](class_navigationmeshinstance) | | [VideoPlayer](class_videoplayer) |
|
||||||
| | [Object](class_object) | | [VideoStream](class_videostream) |
|
| | [NavigationPolygon](class_navigationpolygon) | | [VideoStream](class_videostream) |
|
||||||
| | [OmniLight](class_omnilight) | | [Viewport](class_viewport) |
|
| | [NavigationPolygonInstance](class_navigationpolygoninstance) | | [Viewport](class_viewport) |
|
||||||
| | [OptionButton](class_optionbutton) | | [ViewportSprite](class_viewportsprite) |
|
| | [Nil](class_nil) | | [ViewportSprite](class_viewportsprite) |
|
||||||
| **P** | [PCKPacker](class_pckpacker) | | [VisibilityEnabler](class_visibilityenabler) |
|
| | [Node](class_node) | | [VisibilityEnabler](class_visibilityenabler) |
|
||||||
| | [PHashTranslation](class_phashtranslation) | | [VisibilityEnabler2D](class_visibilityenabler2d) |
|
| | [Node2D](class_node2d) | | [VisibilityEnabler2D](class_visibilityenabler2d) |
|
||||||
| | [PackedDataContainer](class_packeddatacontainer) | | [VisibilityNotifier](class_visibilitynotifier) |
|
| | [NodePath](class_nodepath) | | [VisibilityNotifier](class_visibilitynotifier) |
|
||||||
| | [PackedDataContainerRef](class_packeddatacontainerref) | | [VisibilityNotifier2D](class_visibilitynotifier2d) |
|
| **O** | [OS](class_os) | | [VisibilityNotifier2D](class_visibilitynotifier2d) |
|
||||||
| | [PackedScene](class_packedscene) | | [VisualInstance](class_visualinstance) |
|
| | [Object](class_object) | | [VisualInstance](class_visualinstance) |
|
||||||
| | [PacketPeer](class_packetpeer) | | [VisualServer](class_visualserver) |
|
| | [OccluderPolygon2D](class_occluderpolygon2d) | | [VisualServer](class_visualserver) |
|
||||||
| | [PacketPeerStream](class_packetpeerstream) | **W** | [WindowDialog](class_windowdialog) |
|
| | [OmniLight](class_omnilight) | **W** | [WeakRef](class_weakref) |
|
||||||
| | [PacketPeerUDP](class_packetpeerudp) | | [World](class_world) |
|
| | [OptionButton](class_optionbutton) | | [WindowDialog](class_windowdialog) |
|
||||||
| | [Panel](class_panel) | | [World2D](class_world2d) |
|
| **P** | [PCKPacker](class_pckpacker) | | [World](class_world) |
|
||||||
| | [PanelContainer](class_panelcontainer) | | [WorldEnvironment](class_worldenvironment) |
|
| | [PHashTranslation](class_phashtranslation) | | [World2D](class_world2d) |
|
||||||
| | [ParallaxBackground](class_parallaxbackground) | **X** | [XMLParser](class_xmlparser) |
|
| | [PackedDataContainer](class_packeddatacontainer) | | [WorldEnvironment](class_worldenvironment) |
|
||||||
| | [ParallaxLayer](class_parallaxlayer) | **Y** | [YSort](class_ysort) |
|
| | [PackedDataContainerRef](class_packeddatacontainerref) | **X** | [XMLParser](class_xmlparser) |
|
||||||
| | [ParticleAttractor2D](class_particleattractor2d) | **b** | [bool](class_bool) |
|
| | [PackedScene](class_packedscene) | **Y** | [YSort](class_ysort) |
|
||||||
| | [ParticleSystemMaterial](class_particlesystemmaterial) | **f** | [float](class_float) |
|
| | [PacketPeer](class_packetpeer) | **b** | [bool](class_bool) |
|
||||||
| | [Particles](class_particles) | **i** | [int](class_int) |
|
| | [PacketPeerStream](class_packetpeerstream) | **f** | [float](class_float) |
|
||||||
| | [Particles2D](class_particles2d) |
|
| | [PacketPeerUDP](class_packetpeerudp) | **i** | [int](class_int) |
|
||||||
| | [Path](class_path) |
|
| | [Panel](class_panel) |
|
||||||
|
| | [PanelContainer](class_panelcontainer) |
|
||||||
|
|||||||
6
class_materialshader.md
Normal file
6
class_materialshader.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# MaterialShader
|
||||||
|
####**Inherits:** [Shader](class_shader)
|
||||||
|
####**Category:** Core
|
||||||
|
|
||||||
|
### Brief Description
|
||||||
|
|
||||||
6
class_materialshadergraph.md
Normal file
6
class_materialshadergraph.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# MaterialShaderGraph
|
||||||
|
####**Inherits:** [ShaderGraph](class_shadergraph)
|
||||||
|
####**Category:** Core
|
||||||
|
|
||||||
|
### Brief Description
|
||||||
|
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
### Member Functions
|
### Member Functions
|
||||||
* void **[lock](#lock)** **(** **)**
|
* void **[lock](#lock)** **(** **)**
|
||||||
* [int](class_int) **[try_lock](#try_lock)** **(** **)**
|
* Error **[try_lock](#try_lock)** **(** **)**
|
||||||
* void **[unlock](#unlock)** **(** **)**
|
* void **[unlock](#unlock)** **(** **)**
|
||||||
|
|
||||||
### Member Function Description
|
### Member Function Description
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
* void **[navmesh_set_transform](#navmesh_set_transform)** **(** [int](class_int) id, [Transform](class_transform) xform **)**
|
* void **[navmesh_set_transform](#navmesh_set_transform)** **(** [int](class_int) id, [Transform](class_transform) xform **)**
|
||||||
* void **[navmesh_remove](#navmesh_remove)** **(** [int](class_int) id **)**
|
* 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 **)**
|
* [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](#get_closest_point)** **(** [Vector3](class_vector3) to_point **)**
|
||||||
* [Vector3](class_vector3) **[get_closest_point_normal](#get_closest_point_normal)** **(** [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 **)**
|
* void **[set_up_vector](#set_up_vector)** **(** [Vector3](class_vector3) up **)**
|
||||||
|
|||||||
15
class_navigation2d.md
Normal file
15
class_navigation2d.md
Normal file
@@ -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
|
||||||
24
class_navigationpolygon.md
Normal file
24
class_navigationpolygon.md
Normal file
@@ -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
|
||||||
14
class_navigationpolygoninstance.md
Normal file
14
class_navigationpolygoninstance.md
Normal file
@@ -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
|
||||||
@@ -12,14 +12,22 @@ Base node for 2D system.
|
|||||||
* [Vector2](class_vector2) **[get_pos](#get_pos)** **(** **)** const
|
* [Vector2](class_vector2) **[get_pos](#get_pos)** **(** **)** const
|
||||||
* [float](class_float) **[get_rot](#get_rot)** **(** **)** const
|
* [float](class_float) **[get_rot](#get_rot)** **(** **)** const
|
||||||
* [Vector2](class_vector2) **[get_scale](#get_scale)** **(** **)** 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_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 **[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
|
* [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_transform](#set_transform)** **(** [Matrix32](class_matrix32) xform **)**
|
||||||
* void **[set_global_transform](#set_global_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 **)**
|
* 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
|
### Description
|
||||||
Base node for 2D system. Node2D contains a position, rotation and scale, which is used to position and animate.
|
Base node for 2D system. Node2D contains a position, rotation and scale, which is used to position and animate.
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ Base class for all non built-in types.
|
|||||||
* [bool](class_bool) **[has_meta](#has_meta)** **(** [String](class_string) name **)** const
|
* [bool](class_bool) **[has_meta](#has_meta)** **(** [String](class_string) name **)** const
|
||||||
* [StringArray](class_stringarray) **[get_meta_list](#get_meta_list)** **(** **)** 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() **)**
|
* 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 **[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](#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 **)**
|
* void **[call_deferred](#call_deferred)** **(** [String](class_string) method, var arg0=NULL, var arg1=NULL, var arg2=NULL, var arg3=NULL, var arg4=NULL **)**
|
||||||
|
|||||||
21
class_occluderpolygon2d.md
Normal file
21
class_occluderpolygon2d.md
Normal file
@@ -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
|
||||||
19
class_os.md
19
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_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
|
* [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
|
* [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 **)**
|
* 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
|
* [int](class_int) **[get_iterations_per_second](#get_iterations_per_second)** **(** **)** const
|
||||||
* void **[set_target_fps](#set_target_fps)** **(** [int](class_int) target_fps **)**
|
* 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 **)**
|
* void **[set_time_scale](#set_time_scale)** **(** [float](class_float) time_scale **)**
|
||||||
* [float](class_float) **[get_time_scale](#get_time_scale)** **(** **)**
|
* [float](class_float) **[get_time_scale](#get_time_scale)** **(** **)**
|
||||||
* [bool](class_bool) **[has_touchscreen_ui_hint](#has_touchscreen_ui_hint)** **(** **)** const
|
* [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 **)**
|
* 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
|
* [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
|
* [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_data_dir](#get_data_dir)** **(** **)** const
|
||||||
* [String](class_string) **[get_system_dir](#get_system_dir)** **(** [int](class_int) 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
|
* [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
|
* [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_all_textures_by_size](#print_all_textures_by_size)** **(** **)**
|
||||||
* void **[print_resources_by_type](#print_resources_by_type)** **(** [StringArray](class_stringarray) arg0 **)**
|
* void **[print_resources_by_type](#print_resources_by_type)** **(** [StringArray](class_stringarray) arg0 **)**
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
|
|
||||||
### Member Functions
|
### Member Functions
|
||||||
* [int](class_int) **[pack](#pack)** **(** var value **)**
|
* Error **[pack](#pack)** **(** var value **)**
|
||||||
* [int](class_int) **[size](#size)** **(** **)** const
|
* [int](class_int) **[size](#size)** **(** **)** const
|
||||||
|
|
||||||
### Member Function Description
|
### Member Function Description
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
|
|
||||||
|
|
||||||
### Member Functions
|
### 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)** **(** **)**
|
* void **[close](#close)** **(** **)**
|
||||||
* [int](class_int) **[wait](#wait)** **(** **)**
|
* Error **[wait](#wait)** **(** **)**
|
||||||
* [bool](class_bool) **[is_listening](#is_listening)** **(** **)** const
|
* [bool](class_bool) **[is_listening](#is_listening)** **(** **)** const
|
||||||
* [String](class_string) **[get_packet_ip](#get_packet_ip)** **(** **)** const
|
* [String](class_string) **[get_packet_ip](#get_packet_ip)** **(** **)** const
|
||||||
* [int](class_int) **[get_packet_address](#get_packet_address)** **(** **)** const
|
* [int](class_int) **[get_packet_address](#get_packet_address)** **(** **)** const
|
||||||
|
|||||||
@@ -57,13 +57,18 @@
|
|||||||
* **PARAM_SPREAD** = **1**
|
* **PARAM_SPREAD** = **1**
|
||||||
* **PARAM_LINEAR_VELOCITY** = **2**
|
* **PARAM_LINEAR_VELOCITY** = **2**
|
||||||
* **PARAM_SPIN_VELOCITY** = **3**
|
* **PARAM_SPIN_VELOCITY** = **3**
|
||||||
|
* **PARAM_ORBIT_VELOCITY** = **4**
|
||||||
* **PARAM_GRAVITY_DIRECTION** = **5**
|
* **PARAM_GRAVITY_DIRECTION** = **5**
|
||||||
* **PARAM_GRAVITY_STRENGTH** = **6**
|
* **PARAM_GRAVITY_STRENGTH** = **6**
|
||||||
* **PARAM_RADIAL_ACCEL** = **7**
|
* **PARAM_RADIAL_ACCEL** = **7**
|
||||||
* **PARAM_TANGENTIAL_ACCEL** = **8**
|
* **PARAM_TANGENTIAL_ACCEL** = **8**
|
||||||
|
* **PARAM_DAMPING** = **9**
|
||||||
|
* **PARAM_INITIAL_ANGLE** = **10**
|
||||||
* **PARAM_INITIAL_SIZE** = **11**
|
* **PARAM_INITIAL_SIZE** = **11**
|
||||||
* **PARAM_FINAL_SIZE** = **12**
|
* **PARAM_FINAL_SIZE** = **12**
|
||||||
* **PARAM_HUE_VARIATION** = **13**
|
* **PARAM_HUE_VARIATION** = **13**
|
||||||
|
* **PARAM_ANIM_SPEED_SCALE** = **14**
|
||||||
|
* **PARAM_ANIM_INITIAL_POS** = **15**
|
||||||
* **PARAM_MAX** = **16**
|
* **PARAM_MAX** = **16**
|
||||||
* **MAX_COLOR_PHASES** = **4**
|
* **MAX_COLOR_PHASES** = **4**
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,8 @@ Direct access object to a physics body in the [Physics2DServer](class_physics2ds
|
|||||||
|
|
||||||
### Member Functions
|
### Member Functions
|
||||||
* [Vector2](class_vector2) **[get_total_gravity](#get_total_gravity)** **(** **)** const
|
* [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_mass](#get_inverse_mass)** **(** **)** const
|
||||||
* [float](class_float) **[get_inverse_inertia](#get_inverse_inertia)** **(** **)** const
|
* [float](class_float) **[get_inverse_inertia](#get_inverse_inertia)** **(** **)** const
|
||||||
* void **[set_linear_velocity](#set_linear_velocity)** **(** [Vector2](class_vector2) velocity **)**
|
* 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.
|
Return the total gravity vector being currently applied to this body.
|
||||||
|
|
||||||
#### <a name="get_total_density">get_total_density</a>
|
|
||||||
* [float](class_float) **get_total_density** **(** **)** const
|
|
||||||
|
|
||||||
Return the space density currently being applied to this body.
|
|
||||||
|
|
||||||
#### <a name="get_inverse_mass">get_inverse_mass</a>
|
#### <a name="get_inverse_mass">get_inverse_mass</a>
|
||||||
* [float](class_float) **get_inverse_mass** **(** **)** const
|
* [float](class_float) **get_inverse_mass** **(** **)** const
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
Direct access object to a space in the [Physics2DServer](class_physics2dserver).
|
Direct access object to a space in the [Physics2DServer](class_physics2dserver).
|
||||||
|
|
||||||
### Member Functions
|
### 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 **)**
|
* [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) **[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 **)**
|
* [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
|
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.
|
||||||
|
|
||||||
#### <a name="intersect_shape">intersect_shape</a>
|
#### <a name="intersect_shape">intersect_shape</a>
|
||||||
* [Array](class_array) **intersect_shape** **(** [Physics2DShapeQueryParameters](class_physics2dshapequeryparameters) shape, [int](class_int) max_results=32 **)**
|
* [Array](class_array) **intersect_shape** **(** [Physics2DShapeQueryParameters](class_physics2dshapequeryparameters) shape, [int](class_int) max_results=32 **)**
|
||||||
|
|||||||
@@ -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_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 **)**
|
* 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
|
* [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 **)**
|
* 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
|
* [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 **)**
|
* 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_VECTOR** = **1**
|
||||||
* **AREA_PARAM_GRAVITY_IS_POINT** = **2**
|
* **AREA_PARAM_GRAVITY_IS_POINT** = **2**
|
||||||
* **AREA_PARAM_GRAVITY_POINT_ATTENUATION** = **3**
|
* **AREA_PARAM_GRAVITY_POINT_ATTENUATION** = **3**
|
||||||
* **AREA_PARAM_DENSITY** = **4**
|
* **AREA_PARAM_LINEAR_DAMP** = **4**
|
||||||
* **AREA_PARAM_PRIORITY** = **5**
|
* **AREA_PARAM_ANGULAR_DAMP** = **5**
|
||||||
|
* **AREA_PARAM_PRIORITY** = **6**
|
||||||
* **AREA_SPACE_OVERRIDE_COMBINE** = **1**
|
* **AREA_SPACE_OVERRIDE_COMBINE** = **1**
|
||||||
* **AREA_SPACE_OVERRIDE_DISABLED** = **0**
|
* **AREA_SPACE_OVERRIDE_DISABLED** = **0**
|
||||||
* **AREA_SPACE_OVERRIDE_REPLACE** = **2**
|
* **AREA_SPACE_OVERRIDE_REPLACE** = **2**
|
||||||
@@ -111,7 +116,10 @@ Physics 2D Server.
|
|||||||
* **BODY_PARAM_BOUNCE** = **0**
|
* **BODY_PARAM_BOUNCE** = **0**
|
||||||
* **BODY_PARAM_FRICTION** = **1**
|
* **BODY_PARAM_FRICTION** = **1**
|
||||||
* **BODY_PARAM_MASS** = **2**
|
* **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_TRANSFORM** = **0**
|
||||||
* **BODY_STATE_LINEAR_VELOCITY** = **1**
|
* **BODY_STATE_LINEAR_VELOCITY** = **1**
|
||||||
* **BODY_STATE_ANGULAR_VELOCITY** = **2**
|
* **BODY_STATE_ANGULAR_VELOCITY** = **2**
|
||||||
|
|||||||
@@ -8,6 +8,10 @@
|
|||||||
### Member Functions
|
### Member Functions
|
||||||
* void **[set_layer_mask](#set_layer_mask)** **(** [int](class_int) mask **)**
|
* void **[set_layer_mask](#set_layer_mask)** **(** [int](class_int) mask **)**
|
||||||
* [int](class_int) **[get_layer_mask](#get_layer_mask)** **(** **)** const
|
* [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 **[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 **)**
|
* void **[remove_collision_exception_with](#remove_collision_exception_with)** **(** [PhysicsBody2D](class_physicsbody2d) body **)**
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ Quaternion.
|
|||||||
* [Quat](class_quat) **[slerp](#slerp)** **(** [Quat](class_quat) b, [float](class_float) t **)**
|
* [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 **)**
|
* [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)** **(** [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 **)**
|
* void **[Quat](#Quat)** **(** [Matrix3](class_matrix3) from **)**
|
||||||
|
|
||||||
### Member Variables
|
### Member Variables
|
||||||
|
|||||||
@@ -15,5 +15,10 @@
|
|||||||
* [int](class_int) **[get_collider_shape](#get_collider_shape)** **(** **)** const
|
* [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_point](#get_collision_point)** **(** **)** const
|
||||||
* [Vector3](class_vector3) **[get_collision_normal](#get_collision_normal)** **(** **)** 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
|
### Member Function Description
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
### Member Functions
|
### Member Functions
|
||||||
* void **[set_editor](#set_editor)** **(** [String](class_string) name **)**
|
* void **[set_editor](#set_editor)** **(** [String](class_string) name **)**
|
||||||
* [String](class_string) **[get_editor](#get_editor)** **(** **)** const
|
* [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_path](#get_source_path)** **(** [int](class_int) idx **)** const
|
||||||
* [String](class_string) **[get_source_md5](#get_source_md5)** **(** [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 **)**
|
* void **[remove_source](#remove_source)** **(** [int](class_int) idx **)**
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Resource Loader.
|
|||||||
|
|
||||||
### Member Functions
|
### Member Functions
|
||||||
* [ResourceInteractiveLoader](class_resourceinteractiveloader) **[load_interactive](#load_interactive)** **(** [String](class_string) path, [String](class_string) type_hint="" **)**
|
* [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 **)**
|
* [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 **)**
|
* 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 **)**
|
* [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 a resource interactively, the returned object allows to load with high granularity.
|
||||||
|
|
||||||
#### <a name="load">load</a>
|
#### <a name="load">load</a>
|
||||||
* [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.
|
Load a resource. Optionally a hint can be given for the resource type to load.
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,12 @@ Rigid body 2D node.
|
|||||||
* [float](class_float) **[get_friction](#get_friction)** **(** **)** const
|
* [float](class_float) **[get_friction](#get_friction)** **(** **)** const
|
||||||
* void **[set_bounce](#set_bounce)** **(** [float](class_float) bounce **)**
|
* void **[set_bounce](#set_bounce)** **(** [float](class_float) bounce **)**
|
||||||
* [float](class_float) **[get_bounce](#get_bounce)** **(** **)** const
|
* [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 **)**
|
* void **[set_linear_velocity](#set_linear_velocity)** **(** [Vector2](class_vector2) linear_velocity **)**
|
||||||
* [Vector2](class_vector2) **[get_linear_velocity](#get_linear_velocity)** **(** **)** const
|
* [Vector2](class_vector2) **[get_linear_velocity](#get_linear_velocity)** **(** **)** const
|
||||||
* void **[set_angular_velocity](#set_angular_velocity)** **(** [float](class_float) angular_velocity **)**
|
* void **[set_angular_velocity](#set_angular_velocity)** **(** [float](class_float) angular_velocity **)**
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
|
|
||||||
### Member Functions
|
### Member Functions
|
||||||
* [int](class_int) **[wait](#wait)** **(** **)**
|
* Error **[wait](#wait)** **(** **)**
|
||||||
* [int](class_int) **[post](#post)** **(** **)**
|
* Error **[post](#post)** **(** **)**
|
||||||
|
|
||||||
### Member Function Description
|
### Member Function Description
|
||||||
|
|||||||
@@ -6,12 +6,13 @@
|
|||||||
To be changed, ignore.
|
To be changed, ignore.
|
||||||
|
|
||||||
### Member Functions
|
### Member Functions
|
||||||
* void **[set_mode](#set_mode)** **(** [int](class_int) mode **)**
|
|
||||||
* [int](class_int) **[get_mode](#get_mode)** **(** **)** const
|
* [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 **)**
|
* 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_vertex_code](#get_vertex_code)** **(** **)** const
|
||||||
* [String](class_string) **[get_fragment_code](#get_fragment_code)** **(** **)** const
|
* [String](class_string) **[get_fragment_code](#get_fragment_code)** **(** **)** const
|
||||||
* [String](class_string) **[get_light_code](#get_light_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
|
* [bool](class_bool) **[has_param](#has_param)** **(** [String](class_string) name **)** const
|
||||||
|
|
||||||
### Numeric Constants
|
### Numeric Constants
|
||||||
|
|||||||
187
class_shadergraph.md
Normal file
187
class_shadergraph.md
Normal file
@@ -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
|
||||||
@@ -28,6 +28,17 @@ Base class for all 3D nodes.
|
|||||||
* void **[hide](#hide)** **(** **)**
|
* void **[hide](#hide)** **(** **)**
|
||||||
* [bool](class_bool) **[is_visible](#is_visible)** **(** **)** const
|
* [bool](class_bool) **[is_visible](#is_visible)** **(** **)** const
|
||||||
* [bool](class_bool) **[is_hidden](#is_hidden)** **(** **)** 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
|
### Signals
|
||||||
* **visibility_changed** **(** **)**
|
* **visibility_changed** **(** **)**
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
|
|
||||||
### Member Functions
|
### Member Functions
|
||||||
* [int](class_int) **[accept](#accept)** **(** [StreamPeer](class_streampeer) stream **)**
|
* Error **[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 **[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
|
* [int](class_int) **[get_status](#get_status)** **(** **)** const
|
||||||
* void **[disconnect](#disconnect)** **(** **)**
|
* void **[disconnect](#disconnect)** **(** **)**
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
TCP Stream peer.
|
TCP Stream peer.
|
||||||
|
|
||||||
### Member Functions
|
### 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
|
* [bool](class_bool) **[is_connected](#is_connected)** **(** **)** const
|
||||||
* [int](class_int) **[get_status](#get_status)** **(** **)** const
|
* [int](class_int) **[get_status](#get_status)** **(** **)** const
|
||||||
* [String](class_string) **[get_connected_host](#get_connected_host)** **(** **)** const
|
* [String](class_string) **[get_connected_host](#get_connected_host)** **(** **)** const
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ Multiline text editing control.
|
|||||||
### Signals
|
### Signals
|
||||||
* **text_changed** **(** **)**
|
* **text_changed** **(** **)**
|
||||||
* **cursor_changed** **(** **)**
|
* **cursor_changed** **(** **)**
|
||||||
* **request_completion** **(** [String](class_string) keyword, [int](class_int) line **)**
|
* **request_completion** **(** **)**
|
||||||
|
|
||||||
### Numeric Constants
|
### Numeric Constants
|
||||||
* **SEARCH_MATCH_CASE** = **1** - Match case when searching.
|
* **SEARCH_MATCH_CASE** = **1** - Match case when searching.
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ Texture for 2D and 3D.
|
|||||||
* [bool](class_bool) **[has_alpha](#has_alpha)** **(** **)** const
|
* [bool](class_bool) **[has_alpha](#has_alpha)** **(** **)** const
|
||||||
* void **[set_flags](#set_flags)** **(** [int](class_int) flags **)**
|
* void **[set_flags](#set_flags)** **(** [int](class_int) flags **)**
|
||||||
* [int](class_int) **[get_flags](#get_flags)** **(** **)** const
|
* [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](#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) **)** 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) **)** 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
|
### Numeric Constants
|
||||||
* **FLAG_MIPMAPS** = **1** - Generate mipmaps.
|
* **FLAG_MIPMAPS** = **1** - Generate mipmaps.
|
||||||
@@ -62,6 +62,6 @@ Change the texture flags.
|
|||||||
Return the current texture flags.
|
Return the current texture flags.
|
||||||
|
|
||||||
#### <a name="draw">draw</a>
|
#### <a name="draw">draw</a>
|
||||||
* 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.
|
Draw the texture into a a [VisualServer](class_visualserver) canvas item.
|
||||||
|
|||||||
@@ -12,12 +12,16 @@ Button that can be themed with textures.
|
|||||||
* void **[set_disabled_texture](#set_disabled_texture)** **(** [Texture](class_texture) texture **)**
|
* void **[set_disabled_texture](#set_disabled_texture)** **(** [Texture](class_texture) texture **)**
|
||||||
* void **[set_focused_texture](#set_focused_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_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_normal_texture](#get_normal_texture)** **(** **)** const
|
||||||
* [Texture](class_texture) **[get_pressed_texture](#get_pressed_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_hover_texture](#get_hover_texture)** **(** **)** const
|
||||||
* [Texture](class_texture) **[get_disabled_texture](#get_disabled_texture)** **(** **)** const
|
* [Texture](class_texture) **[get_disabled_texture](#get_disabled_texture)** **(** **)** const
|
||||||
* [Texture](class_texture) **[get_focused_texture](#get_focused_texture)** **(** **)** const
|
* [Texture](class_texture) **[get_focused_texture](#get_focused_texture)** **(** **)** const
|
||||||
* [BitMap](class_bitmap) **[get_click_mask](#get_click_mask)** **(** **)** 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
|
### 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.
|
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.
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
|
|
||||||
### Member Functions
|
### 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
|
* [String](class_string) **[get_id](#get_id)** **(** **)** const
|
||||||
* [bool](class_bool) **[is_active](#is_active)** **(** **)** const
|
* [bool](class_bool) **[is_active](#is_active)** **(** **)** const
|
||||||
* void **[wait_to_finish](#wait_to_finish)** **(** **)**
|
* void **[wait_to_finish](#wait_to_finish)** **(** **)**
|
||||||
|
|||||||
@@ -18,17 +18,23 @@ Node for 2D Tile-Based games.
|
|||||||
* [Vector2](class_vector2) **[get_cell_size](#get_cell_size)** **(** **)** const
|
* [Vector2](class_vector2) **[get_cell_size](#get_cell_size)** **(** **)** const
|
||||||
* void **[set_quadrant_size](#set_quadrant_size)** **(** [int](class_int) size **)**
|
* void **[set_quadrant_size](#set_quadrant_size)** **(** [int](class_int) size **)**
|
||||||
* [int](class_int) **[get_quadrant_size](#get_quadrant_size)** **(** **)** const
|
* [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 **)**
|
* void **[set_center_x](#set_center_x)** **(** [bool](class_bool) enable **)**
|
||||||
* [bool](class_bool) **[get_center_x](#get_center_x)** **(** **)** const
|
* [bool](class_bool) **[get_center_x](#get_center_x)** **(** **)** const
|
||||||
* void **[set_center_y](#set_center_y)** **(** [bool](class_bool) enable **)**
|
* void **[set_center_y](#set_center_y)** **(** [bool](class_bool) enable **)**
|
||||||
* [bool](class_bool) **[get_center_y](#get_center_y)** **(** **)** const
|
* [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 **)**
|
* 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
|
* [int](class_int) **[get_collision_layer_mask](#get_collision_layer_mask)** **(** **)** const
|
||||||
* void **[set_collision_friction](#set_collision_friction)** **(** [float](class_float) value **)**
|
* void **[set_collision_friction](#set_collision_friction)** **(** [float](class_float) value **)**
|
||||||
* [float](class_float) **[get_collision_friction](#get_collision_friction)** **(** **)** const
|
* [float](class_float) **[get_collision_friction](#get_collision_friction)** **(** **)** const
|
||||||
* void **[set_collision_bounce](#set_collision_bounce)** **(** [float](class_float) value **)**
|
* void **[set_collision_bounce](#set_collision_bounce)** **(** [float](class_float) value **)**
|
||||||
* [float](class_float) **[get_collision_bounce](#get_collision_bounce)** **(** **)** const
|
* [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
|
* [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_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
|
* [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_X** = **0**
|
||||||
* **HALF_OFFSET_Y** = **1**
|
* **HALF_OFFSET_Y** = **1**
|
||||||
* **HALF_OFFSET_DISABLED** = **2**
|
* **HALF_OFFSET_DISABLED** = **2**
|
||||||
|
* **TILE_ORIGIN_TOP_LEFT** = **0**
|
||||||
|
* **TILE_ORIGIN_CENTER** = **1**
|
||||||
|
|
||||||
### Description
|
### 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.
|
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).
|
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).
|
||||||
|
|
||||||
#### <a name="set_cell">set_cell</a>
|
#### <a name="set_cell">set_cell</a>
|
||||||
* 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.
|
Set the contents of a cell. Cells can be optionally flipped in y or x.
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ Tile library for tilemaps.
|
|||||||
* [String](class_string) **[tile_get_name](#tile_get_name)** **(** [int](class_int) id **)** const
|
* [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 **)**
|
* 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
|
* [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 **)**
|
* 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
|
* [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 **)**
|
* 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
|
* [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 **)**
|
* 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
|
* [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 **[remove_tile](#remove_tile)** **(** [int](class_int) id **)**
|
||||||
* void **[clear](#clear)** **(** **)**
|
* void **[clear](#clear)** **(** **)**
|
||||||
* [int](class_int) **[get_last_unused_tile_id](#get_last_unused_tile_id)** **(** **)** const
|
* [int](class_int) **[get_last_unused_tile_id](#get_last_unused_tile_id)** **(** **)** const
|
||||||
|
|||||||
6
class_toolbutton.md
Normal file
6
class_toolbutton.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# ToolButton
|
||||||
|
####**Inherits:** [Button](class_button)
|
||||||
|
####**Category:** Core
|
||||||
|
|
||||||
|
### Brief Description
|
||||||
|
|
||||||
@@ -15,31 +15,34 @@
|
|||||||
* void **[set_tween_process_mode](#set_tween_process_mode)** **(** [int](class_int) mode **)**
|
* 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
|
* [int](class_int) **[get_tween_process_mode](#get_tween_process_mode)** **(** **)** const
|
||||||
* [bool](class_bool) **[start](#start)** **(** **)**
|
* [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) **[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) **[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) **[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) **[remove_all](#remove_all)** **(** **)**
|
||||||
* [bool](class_bool) **[seek](#seek)** **(** [float](class_float) time **)**
|
* [bool](class_bool) **[seek](#seek)** **(** [float](class_float) time **)**
|
||||||
* [float](class_float) **[tell](#tell)** **(** **)** const
|
* [float](class_float) **[tell](#tell)** **(** **)** const
|
||||||
* [float](class_float) **[get_runtime](#get_runtime)** **(** **)** 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_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) 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_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) node, [String](class_string) callback, [float](class_float) times_in_sec, var args=NULL **)**
|
* [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) **[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) **[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_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) **[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) **[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) **[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_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) **[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
|
### Signals
|
||||||
* **tween_complete** **(** [Object](class_object) node, [String](class_string) key **)**
|
* **tween_complete** **(** [Object](class_object) object, [String](class_string) key **)**
|
||||||
* **tween_step** **(** [Object](class_object) node, [String](class_string) key, [float](class_float) elapsed, [Object](class_object) value **)**
|
* **tween_step** **(** [Object](class_object) object, [String](class_string) key, [float](class_float) elapsed, [Object](class_object) value **)**
|
||||||
* **tween_start** **(** [Object](class_object) node, [String](class_string) key **)**
|
* **tween_start** **(** [Object](class_object) object, [String](class_string) key **)**
|
||||||
|
|
||||||
### Numeric Constants
|
### Numeric Constants
|
||||||
|
* **TWEEN_PROCESS_FIXED** = **0**
|
||||||
|
* **TWEEN_PROCESS_IDLE** = **1**
|
||||||
* **TRANS_LINEAR** = **0**
|
* **TRANS_LINEAR** = **0**
|
||||||
* **TRANS_SINE** = **1**
|
* **TRANS_SINE** = **1**
|
||||||
* **TRANS_QUINT** = **2**
|
* **TRANS_QUINT** = **2**
|
||||||
|
|||||||
@@ -19,9 +19,9 @@ Vector used for 2D Math.
|
|||||||
* [float](class_float) **[length_squared](#length_squared)** **(** **)**
|
* [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) **[linear_interpolate](#linear_interpolate)** **(** [Vector2](class_vector2) b, [float](class_float) t **)**
|
||||||
* [Vector2](class_vector2) **[normalized](#normalized)** **(** **)**
|
* [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 **)**
|
* [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) **[snapped](#snapped)** **(** [Vector2](class_vector2) by **)**
|
||||||
* [Vector2](class_vector2) **[tangent](#tangent)** **(** **)**
|
* [Vector2](class_vector2) **[tangent](#tangent)** **(** **)**
|
||||||
* void **[Vector2](#Vector2)** **(** [float](class_float) x, [float](class_float) y **)**
|
* void **[Vector2](#Vector2)** **(** [float](class_float) x, [float](class_float) y **)**
|
||||||
|
|||||||
@@ -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
|
* [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 **)**
|
* 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
|
* [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 **)**
|
* 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
|
* [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 **)**
|
* 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 **)**
|
* 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
|
* [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 **[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
|
### Signals
|
||||||
* **size_changed** **(** **)**
|
* **size_changed** **(** **)**
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
### Numeric Constants
|
### Numeric Constants
|
||||||
* **ENABLER_FREEZE_BODIES** = **1**
|
* **ENABLER_FREEZE_BODIES** = **1**
|
||||||
* **ENABLER_PAUSE_ANIMATIONS** = **0**
|
* **ENABLER_PAUSE_ANIMATIONS** = **0**
|
||||||
* **ENABLER_MAX** = **2**
|
* **ENABLER_PAUSE_PARTICLES** = **2**
|
||||||
|
* **ENABLER_MAX** = **3**
|
||||||
|
|
||||||
### Member Function Description
|
### Member Function Description
|
||||||
|
|||||||
@@ -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
|
* [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_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_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](#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) **)**
|
* 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_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 **[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 **)**
|
* void **[viewport_set_canvas_transform](#viewport_set_canvas_transform)** **(** [RID](class_rid) arg0, [RID](class_rid) arg1, [Matrix32](class_matrix32) arg2 **)**
|
||||||
|
|||||||
11
class_weakref.md
Normal file
11
class_weakref.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# WeakRef
|
||||||
|
####**Inherits:** [Reference](class_reference)
|
||||||
|
####**Category:** Core
|
||||||
|
|
||||||
|
### Brief Description
|
||||||
|
|
||||||
|
|
||||||
|
### Member Functions
|
||||||
|
* void **[get_ref](#get_ref)** **(** **)** const
|
||||||
|
|
||||||
|
### Member Function Description
|
||||||
@@ -11,6 +11,7 @@ Class that has everything pertaining to a world.
|
|||||||
* [RID](class_rid) **[get_sound_space](#get_sound_space)** **(** **)** const
|
* [RID](class_rid) **[get_sound_space](#get_sound_space)** **(** **)** const
|
||||||
* void **[set_environment](#set_environment)** **(** [Environment](class_environment) env **)**
|
* void **[set_environment](#set_environment)** **(** [Environment](class_environment) env **)**
|
||||||
* [Environment](class_environment) **[get_environment](#get_environment)** **(** **)** const
|
* [Environment](class_environment) **[get_environment](#get_environment)** **(** **)** const
|
||||||
|
* [PhysicsDirectSpaceState](class_physicsdirectspacestate) **[get_direct_space_state](#get_direct_space_state)** **(** **)**
|
||||||
|
|
||||||
### Description
|
### 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.
|
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.
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ Class that has everything pertaining to a 2D world.
|
|||||||
* [RID](class_rid) **[get_canvas](#get_canvas)** **(** **)**
|
* [RID](class_rid) **[get_canvas](#get_canvas)** **(** **)**
|
||||||
* [RID](class_rid) **[get_space](#get_space)** **(** **)**
|
* [RID](class_rid) **[get_space](#get_space)** **(** **)**
|
||||||
* [RID](class_rid) **[get_sound_space](#get_sound_space)** **(** **)**
|
* [RID](class_rid) **[get_sound_space](#get_sound_space)** **(** **)**
|
||||||
|
* [Physics2DDirectSpaceState](class_physics2ddirectspacestate) **[get_direct_space_state](#get_direct_space_state)** **(** **)**
|
||||||
|
|
||||||
### Description
|
### 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.
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user