You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Autogen Class List
@@ -18,7 +18,6 @@ Global scope constants and variables.
|
||||
* [TranslationServer](class_translationserver) **TS**
|
||||
* [Input](class_input) **Input**
|
||||
* [InputMap](class_inputmap) **InputMap**
|
||||
* [SceneIO](class_sceneio) **SceneIO**
|
||||
* [VisualServer](class_visualserver) **VisualServer**
|
||||
* [VisualServer](class_visualserver) **VS**
|
||||
* [AudioServer](class_audioserver) **AudioServer**
|
||||
@@ -413,11 +412,20 @@ Global scope constants and variables.
|
||||
* **PROPERTY_HINT_RANGE** = **1** - Hint string is a range, defined as "min,max" or "min,max,step". This is valid for integers and floats.
|
||||
* **PROPERTY_HINT_EXP_RANGE** = **2** - Hint string is an exponential range, defined as "min,max" or "min,max,step". This is valid for integers and floats.
|
||||
* **PROPERTY_HINT_ENUM** = **3** - Property hint is an enumerated value, like "Hello,Something,Else". This is valid for integers, floats and strings properties.
|
||||
* **PROPERTY_HINT_EXP_EASING** = **4**
|
||||
* **PROPERTY_HINT_LENGTH** = **5**
|
||||
* **PROPERTY_HINT_KEY_ACCEL** = **6**
|
||||
* **PROPERTY_HINT_FLAGS** = **7** - Property hint is a bitmask description, for bits 0,1,2,3 abd 5 the hint would be like "Bit0,Bit1,Bit2,Bit3,,Bit5". Valid only for integers.
|
||||
* **PROPERTY_HINT_ALL_FLAGS** = **8**
|
||||
* **PROPERTY_HINT_FILE** = **9** - String property is a file (so pop up a file dialog when edited). Hint string can be a set of wildcards like "*.doc".
|
||||
* **PROPERTY_HINT_DIR** = **10** - String property is a directory (so pop up a file dialog when edited).
|
||||
* **PROPERTY_HINT_GLOBAL_FILE** = **11**
|
||||
* **PROPERTY_HINT_GLOBAL_DIR** = **12**
|
||||
* **PROPERTY_HINT_RESOURCE_TYPE** = **13** - String property is a resource, so open the resource popup menu when edited.
|
||||
* **PROPERTY_HINT_MULTILINE_TEXT** = **14**
|
||||
* **PROPERTY_HINT_COLOR_NO_ALPHA** = **15**
|
||||
* **PROPERTY_HINT_IMAGE_COMPRESS_LOSSY** = **16**
|
||||
* **PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS** = **17**
|
||||
* **PROPERTY_USAGE_STORAGE** = **1** - Property will be used as storage (default).
|
||||
* **PROPERTY_USAGE_STORAGE** = **1** - Property will be used as storage (default).
|
||||
* **PROPERTY_USAGE_EDITOR** = **2** - Property will be visible in editor (default).
|
||||
|
||||
@@ -23,6 +23,7 @@ Axis-Aligned Bounding Box.
|
||||
* [AABB](class_aabb) **[intersection](#intersection)** **(** [AABB](class_aabb) with **)**
|
||||
* [bool](class_bool) **[intersects](#intersects)** **(** [AABB](class_aabb) with **)**
|
||||
* [bool](class_bool) **[intersects_plane](#intersects_plane)** **(** [Plane](class_plane) plane **)**
|
||||
* [bool](class_bool) **[intersects_segment](#intersects_segment)** **(** [Vector3](class_vector3) from, [Vector3](class_vector3) to **)**
|
||||
* [AABB](class_aabb) **[merge](#merge)** **(** [AABB](class_aabb) with **)**
|
||||
* void **[AABB](#AABB)** **(** [Vector3](class_vector3) pos, [Vector3](class_vector3) size **)**
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ Container and player of [Animaton] resources.
|
||||
* [int](class_int) **[get_animation_process_mode](#get_animation_process_mode)** **(** **)** const
|
||||
* [float](class_float) **[get_current_animation_pos](#get_current_animation_pos)** **(** **)** const
|
||||
* [float](class_float) **[get_current_animation_length](#get_current_animation_length)** **(** **)** const
|
||||
* void **[advance](#advance)** **(** [float](class_float) delta **)**
|
||||
|
||||
### Signals
|
||||
* **animation_changed** **(** [String](class_string) old_name, [String](class_string) new_name **)**
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* [int](class_int) **[get_mode](#get_mode)** **(** **)** const
|
||||
* void **[set_octree](#set_octree)** **(** [RawArray](class_rawarray) octree **)**
|
||||
* [RawArray](class_rawarray) **[get_octree](#get_octree)** **(** **)** const
|
||||
* void **[add_lightmap](#add_lightmap)** **(** [Texture](class_texture) texture, [int](class_int) id **)**
|
||||
* void **[add_lightmap](#add_lightmap)** **(** [Texture](class_texture) texture, [Vector2](class_vector2) gen_size **)**
|
||||
* void **[erase_lightmap](#erase_lightmap)** **(** [int](class_int) id **)**
|
||||
* void **[clear_lightmaps](#clear_lightmaps)** **(** **)**
|
||||
* void **[set_cell_subdivision](#set_cell_subdivision)** **(** [int](class_int) cell_subdivision **)**
|
||||
@@ -29,6 +29,8 @@
|
||||
* [float](class_float) **[get_normal_damp](#get_normal_damp)** **(** **)** const
|
||||
* void **[set_format](#set_format)** **(** [int](class_int) format **)**
|
||||
* [int](class_int) **[get_format](#get_format)** **(** **)** const
|
||||
* void **[set_transfer_lightmaps_only_to_uv2](#set_transfer_lightmaps_only_to_uv2)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[get_transfer_lightmaps_only_to_uv2](#get_transfer_lightmaps_only_to_uv2)** **(** **)** const
|
||||
* void **[set_energy_multiplier](#set_energy_multiplier)** **(** [float](class_float) energy_multiplier **)**
|
||||
* [float](class_float) **[get_energy_multiplier](#get_energy_multiplier)** **(** **)** const
|
||||
* void **[set_gamma_adjust](#set_gamma_adjust)** **(** [float](class_float) gamma_adjust **)**
|
||||
|
||||
@@ -8,6 +8,7 @@ Provides a base class for different kinds of buttons.
|
||||
### Member Functions
|
||||
* void **[set_pressed](#set_pressed)** **(** [bool](class_bool) pressed **)**
|
||||
* [bool](class_bool) **[is_pressed](#is_pressed)** **(** **)** const
|
||||
* [bool](class_bool) **[is_hovered](#is_hovered)** **(** **)** const
|
||||
* void **[set_toggle_mode](#set_toggle_mode)** **(** [bool](class_bool) enabled **)**
|
||||
* [bool](class_bool) **[is_toggle_mode](#is_toggle_mode)** **(** **)** const
|
||||
* void **[set_disabled](#set_disabled)** **(** [bool](class_bool) disabled **)**
|
||||
|
||||
@@ -28,12 +28,14 @@ Camera node, displays from a point of view.
|
||||
* void **[look_at_from_pos](#look_at_from_pos)** **(** [Vector3](class_vector3) pos, [Vector3](class_vector3) target, [Vector3](class_vector3) up **)**
|
||||
* void **[set_environment](#set_environment)** **(** [Environment](class_environment) env **)**
|
||||
* [Environment](class_environment) **[get_environment](#get_environment)** **(** **)** const
|
||||
* void **[set_use_vertical_aspect](#set_use_vertical_aspect)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[is_using_vertical_aspect](#is_using_vertical_aspect)** **(** **)** const
|
||||
* void **[set_keep_aspect_mode](#set_keep_aspect_mode)** **(** [int](class_int) mode **)**
|
||||
* [int](class_int) **[get_keep_aspect_mode](#get_keep_aspect_mode)** **(** **)** const
|
||||
|
||||
### Numeric Constants
|
||||
* **PROJECTION_PERSPECTIVE** = **0** - Perspective Projection (object's size on the screen becomes smaller when far away).
|
||||
* **PROJECTION_ORTHOGONAL** = **1** - Orthogonal Projection (objects remain the same size on the screen no matter how far away they are).
|
||||
* **KEEP_WIDTH** = **0**
|
||||
* **KEEP_HEIGHT** = **1**
|
||||
|
||||
### Description
|
||||
Camera is a special node that displays what is visible from its current location. Cameras register themselves in the nearest [Viewport](class_viewport) node (when ascending the tree). Only one camera can be active per viewport. If no viewport is available ascending the tree, the Camera will register in the global viewport. In other words, a Camera just provides _3D_ display capabilities to a [Viewport](class_viewport), and, without one, a [Scene] registered in that [Viewport](class_viewport) (or higher viewports) can't be displayed.
|
||||
|
||||
@@ -5,5 +5,11 @@
|
||||
### Brief Description
|
||||
Keeps children controls centered.
|
||||
|
||||
### Member Functions
|
||||
* void **[set_use_top_left](#set_use_top_left)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[is_using_top_left](#is_using_top_left)** **(** **)** const
|
||||
|
||||
### Description
|
||||
CenterContainer Keeps children controls centered. This container keeps all children to their minimum size, in the center.
|
||||
|
||||
### Member Function Description
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[_input_event](#_input_event)** **(** [Object](class_object) camera, [InputEvent](class_inputevent) event, [Vector3](class_vector3) click_pos, [Vector3](class_vector3) click_normal, [int](class_int) shape_idx **)** virtual
|
||||
* void **[add_shape](#add_shape)** **(** [Shape](class_shape) shape, [Transform](class_transform) transform=Transform() **)**
|
||||
* [int](class_int) **[get_shape_count](#get_shape_count)** **(** **)** const
|
||||
* void **[set_shape](#set_shape)** **(** [int](class_int) shape_idx, [Shape](class_shape) shape **)**
|
||||
@@ -16,6 +17,15 @@
|
||||
* [Transform](class_transform) **[get_shape_transform](#get_shape_transform)** **(** [int](class_int) shape_idx **)** const
|
||||
* void **[remove_shape](#remove_shape)** **(** [int](class_int) shape_idx **)**
|
||||
* void **[clear_shapes](#clear_shapes)** **(** **)**
|
||||
* void **[set_ray_pickable](#set_ray_pickable)** **(** [bool](class_bool) ray_pickable **)**
|
||||
* [bool](class_bool) **[is_ray_pickable](#is_ray_pickable)** **(** **)** const
|
||||
* void **[set_capture_input_on_drag](#set_capture_input_on_drag)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[get_capture_input_on_drag](#get_capture_input_on_drag)** **(** **)** const
|
||||
* [RID](class_rid) **[get_rid](#get_rid)** **(** **)** const
|
||||
|
||||
### Signals
|
||||
* **mouse_enter** **(** **)**
|
||||
* **input_event** **(** [Object](class_object) camera, [InputEvent](class_inputevent) event, [Vector3](class_vector3) click_pos, [Vector3](class_vector3) click_normal, [int](class_int) shape_idx **)**
|
||||
* **mouse_exit** **(** **)**
|
||||
|
||||
### Member Function Description
|
||||
|
||||
16
class_collisionpolygon.md
Normal file
16
class_collisionpolygon.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# CollisionPolygon
|
||||
####**Inherits:** [Spatial](class_spatial)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_polygon](#set_polygon)** **(** [Vector2Array](class_vector2array) polygon **)**
|
||||
* [Vector2Array](class_vector2array) **[get_polygon](#get_polygon)** **(** **)** const
|
||||
* void **[set_depth](#set_depth)** **(** [float](class_float) depth **)**
|
||||
* [float](class_float) **[get_depth](#get_depth)** **(** **)** const
|
||||
* void **[set_build_mode](#set_build_mode)** **(** [int](class_int) arg0 **)**
|
||||
* [int](class_int) **[get_build_mode](#get_build_mode)** **(** **)** const
|
||||
|
||||
### Member Function Description
|
||||
20
class_conetwistjoint.md
Normal file
20
class_conetwistjoint.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# ConeTwistJoint
|
||||
####**Inherits:** [Joint](class_joint)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_param](#set_param)** **(** [int](class_int) param, [float](class_float) value **)**
|
||||
* [float](class_float) **[get_param](#get_param)** **(** [int](class_int) param **)** const
|
||||
|
||||
### Numeric Constants
|
||||
* **PARAM_SWING_SPAN** = **0**
|
||||
* **PARAM_TWIST_SPAN** = **1**
|
||||
* **PARAM_BIAS** = **2**
|
||||
* **PARAM_SOFTNESS** = **3**
|
||||
* **PARAM_RELAXATION** = **4**
|
||||
* **PARAM_MAX** = **5**
|
||||
|
||||
### Member Function Description
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
### Member Functions
|
||||
* [int](class_int) **[get_point_count](#get_point_count)** **(** **)** const
|
||||
* void **[add_point](#add_point)** **(** [Vector2](class_vector2) pos, [Vector2](class_vector2) in=Vector2(0,0), [Vector2](class_vector2) out=Vector2(0,0) **)**
|
||||
* void **[add_point](#add_point)** **(** [Vector2](class_vector2) pos, [Vector2](class_vector2) in=Vector2(0,0), [Vector2](class_vector2) out=Vector2(0,0), [int](class_int) atpos=-1 **)**
|
||||
* void **[set_point_pos](#set_point_pos)** **(** [int](class_int) idx, [Vector2](class_vector2) pos **)**
|
||||
* [Vector2](class_vector2) **[get_point_pos](#get_point_pos)** **(** [int](class_int) idx **)** const
|
||||
* void **[set_point_in](#set_point_in)** **(** [int](class_int) idx, [Vector2](class_vector2) pos **)**
|
||||
@@ -16,12 +16,11 @@
|
||||
* [Vector2](class_vector2) **[get_point_out](#get_point_out)** **(** [int](class_int) idx **)** const
|
||||
* void **[remove_point](#remove_point)** **(** [int](class_int) idx **)**
|
||||
* [Vector2](class_vector2) **[interpolate](#interpolate)** **(** [int](class_int) idx, [float](class_float) t **)** const
|
||||
* [Vector2Array](class_vector2array) **[bake](#bake)** **(** [int](class_int) subdivs=10 **)** const
|
||||
* void **[set_points_in](#set_points_in)** **(** [Vector2Array](class_vector2array) arg0 **)**
|
||||
* void **[set_points_out](#set_points_out)** **(** [Vector2Array](class_vector2array) arg0 **)**
|
||||
* void **[set_points_pos](#set_points_pos)** **(** [Vector2Array](class_vector2array) arg0 **)**
|
||||
* [Vector2Array](class_vector2array) **[get_points_in](#get_points_in)** **(** **)** const
|
||||
* [Vector2Array](class_vector2array) **[get_points_out](#get_points_out)** **(** **)** const
|
||||
* [Vector2Array](class_vector2array) **[get_points_pos](#get_points_pos)** **(** **)** const
|
||||
* [Vector2](class_vector2) **[interpolatef](#interpolatef)** **(** [float](class_float) fofs **)** const
|
||||
* void **[set_bake_interval](#set_bake_interval)** **(** [float](class_float) distance **)**
|
||||
* [float](class_float) **[get_bake_interval](#get_bake_interval)** **(** **)** const
|
||||
* [float](class_float) **[get_baked_length](#get_baked_length)** **(** **)** const
|
||||
* [Vector2](class_vector2) **[interpolate_baked](#interpolate_baked)** **(** [float](class_float) offset, [bool](class_bool) cubic=false **)** const
|
||||
* [Vector2Array](class_vector2array) **[get_baked_points](#get_baked_points)** **(** **)** const
|
||||
|
||||
### Member Function Description
|
||||
|
||||
@@ -30,41 +30,49 @@
|
||||
* **BG_PARAM_ENERGY** = **3**
|
||||
* **BG_PARAM_GLOW** = **5**
|
||||
* **BG_PARAM_MAX** = **6**
|
||||
* **FX_FXAA** = **0**
|
||||
* **FX_GLOW** = **1**
|
||||
* **FX_DOF_BLUR** = **2**
|
||||
* **FX_HDR** = **3**
|
||||
* **FX_FOG** = **4**
|
||||
* **FX_BCS** = **5**
|
||||
* **FX_SRGB** = **6**
|
||||
* **FX_MAX** = **7**
|
||||
* **FX_AMBIENT_LIGHT** = **0**
|
||||
* **FX_FXAA** = **1**
|
||||
* **FX_GLOW** = **2**
|
||||
* **FX_DOF_BLUR** = **3**
|
||||
* **FX_HDR** = **4**
|
||||
* **FX_FOG** = **5**
|
||||
* **FX_BCS** = **6**
|
||||
* **FX_SRGB** = **7**
|
||||
* **FX_MAX** = **8**
|
||||
* **FX_BLUR_BLEND_MODE_ADDITIVE** = **0**
|
||||
* **FX_BLUR_BLEND_MODE_SCREEN** = **1**
|
||||
* **FX_BLUR_BLEND_MODE_SOFTLIGHT** = **2**
|
||||
* **FX_PARAM_GLOW_BLUR_PASSES** = **0**
|
||||
* **FX_PARAM_GLOW_BLUR_SCALE** = **1**
|
||||
* **FX_PARAM_GLOW_BLUR_STRENGTH** = **2**
|
||||
* **FX_PARAM_GLOW_BLUR_BLEND_MODE** = **3**
|
||||
* **FX_PARAM_GLOW_BLOOM** = **4**
|
||||
* **FX_PARAM_GLOW_BLOOM_TRESHOLD** = **5**
|
||||
* **FX_PARAM_DOF_BLUR_PASSES** = **6**
|
||||
* **FX_PARAM_DOF_BLUR_BEGIN** = **7**
|
||||
* **FX_PARAM_DOF_BLUR_RANGE** = **8**
|
||||
* **FX_PARAM_HDR_EXPOSURE** = **9**
|
||||
* **FX_PARAM_HDR_SCALAR** = **10**
|
||||
* **FX_PARAM_HDR_GLOW_TRESHOLD** = **11**
|
||||
* **FX_PARAM_HDR_GLOW_SCALE** = **12**
|
||||
* **FX_PARAM_HDR_MIN_LUMINANCE** = **13**
|
||||
* **FX_PARAM_HDR_MAX_LUMINANCE** = **14**
|
||||
* **FX_PARAM_HDR_EXPOSURE_ADJUST_SPEED** = **15**
|
||||
* **FX_PARAM_FOG_BEGIN** = **16**
|
||||
* **FX_PARAM_FOG_ATTENUATION** = **19**
|
||||
* **FX_PARAM_FOG_BEGIN_COLOR** = **17**
|
||||
* **FX_PARAM_FOG_END_COLOR** = **18**
|
||||
* **FX_PARAM_FOG_BG** = **20**
|
||||
* **FX_PARAM_BCS_BRIGHTNESS** = **21**
|
||||
* **FX_PARAM_BCS_CONTRAST** = **22**
|
||||
* **FX_PARAM_BCS_SATURATION** = **23**
|
||||
* **FX_PARAM_MAX** = **24**
|
||||
* **FX_HDR_TONE_MAPPER_LINEAR** = **0**
|
||||
* **FX_HDR_TONE_MAPPER_LOG** = **1**
|
||||
* **FX_HDR_TONE_MAPPER_REINHARDT** = **2**
|
||||
* **FX_HDR_TONE_MAPPER_REINHARDT_AUTOWHITE** = **3**
|
||||
* **FX_PARAM_AMBIENT_LIGHT_COLOR** = **0**
|
||||
* **FX_PARAM_AMBIENT_LIGHT_ENERGY** = **1**
|
||||
* **FX_PARAM_GLOW_BLUR_PASSES** = **2**
|
||||
* **FX_PARAM_GLOW_BLUR_SCALE** = **3**
|
||||
* **FX_PARAM_GLOW_BLUR_STRENGTH** = **4**
|
||||
* **FX_PARAM_GLOW_BLUR_BLEND_MODE** = **5**
|
||||
* **FX_PARAM_GLOW_BLOOM** = **6**
|
||||
* **FX_PARAM_GLOW_BLOOM_TRESHOLD** = **7**
|
||||
* **FX_PARAM_DOF_BLUR_PASSES** = **8**
|
||||
* **FX_PARAM_DOF_BLUR_BEGIN** = **9**
|
||||
* **FX_PARAM_DOF_BLUR_RANGE** = **10**
|
||||
* **FX_PARAM_HDR_TONEMAPPER** = **11**
|
||||
* **FX_PARAM_HDR_EXPOSURE** = **12**
|
||||
* **FX_PARAM_HDR_WHITE** = **13**
|
||||
* **FX_PARAM_HDR_GLOW_TRESHOLD** = **14**
|
||||
* **FX_PARAM_HDR_GLOW_SCALE** = **15**
|
||||
* **FX_PARAM_HDR_MIN_LUMINANCE** = **16**
|
||||
* **FX_PARAM_HDR_MAX_LUMINANCE** = **17**
|
||||
* **FX_PARAM_HDR_EXPOSURE_ADJUST_SPEED** = **18**
|
||||
* **FX_PARAM_FOG_BEGIN** = **19**
|
||||
* **FX_PARAM_FOG_ATTENUATION** = **22**
|
||||
* **FX_PARAM_FOG_BEGIN_COLOR** = **20**
|
||||
* **FX_PARAM_FOG_END_COLOR** = **21**
|
||||
* **FX_PARAM_FOG_BG** = **23**
|
||||
* **FX_PARAM_BCS_BRIGHTNESS** = **24**
|
||||
* **FX_PARAM_BCS_CONTRAST** = **25**
|
||||
* **FX_PARAM_BCS_SATURATION** = **26**
|
||||
* **FX_PARAM_MAX** = **27**
|
||||
|
||||
### Member Function Description
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_stream](#set_stream)** **(** Stream stream **)**
|
||||
* Stream **[get_stream](#get_stream)** **(** **)** const
|
||||
* void **[set_stream](#set_stream)** **(** [EventStream](class_eventstream) stream **)**
|
||||
* [EventStream](class_eventstream) **[get_stream](#get_stream)** **(** **)** const
|
||||
* void **[play](#play)** **(** **)**
|
||||
* void **[stop](#stop)** **(** **)**
|
||||
* [bool](class_bool) **[is_playing](#is_playing)** **(** **)** const
|
||||
|
||||
@@ -16,10 +16,10 @@ Simple Material with a fixed parameter set.
|
||||
* [bool](class_bool) **[get_fixed_flag](#get_fixed_flag)** **(** [int](class_int) flag **)** const
|
||||
* void **[set_uv_transform](#set_uv_transform)** **(** [Transform](class_transform) transform **)**
|
||||
* [Transform](class_transform) **[get_uv_transform](#get_uv_transform)** **(** **)** const
|
||||
* void **[set_light_shader](#set_light_shader)** **(** [int](class_int) shader **)**
|
||||
* [int](class_int) **[get_light_shader](#get_light_shader)** **(** **)** const
|
||||
* void **[set_point_size](#set_point_size)** **(** [float](class_float) size **)**
|
||||
* [float](class_float) **[get_point_size](#get_point_size)** **(** **)** const
|
||||
* void **[set_detail_blend_mode](#set_detail_blend_mode)** **(** [int](class_int) mode **)**
|
||||
* [int](class_int) **[get_detail_blend_mode](#get_detail_blend_mode)** **(** **)** const
|
||||
|
||||
### Numeric Constants
|
||||
* **PARAM_DIFFUSE** = **0** - Diffuse Lighting (light scattered from surface).
|
||||
|
||||
12
class_gdfunctionstate.md
Normal file
12
class_gdfunctionstate.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# GDFunctionState
|
||||
####**Inherits:** [Reference](class_reference)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[resume](#resume)** **(** var arg=NULL **)**
|
||||
* [bool](class_bool) **[is_valid](#is_valid)** **(** **)** const
|
||||
|
||||
### Member Function Description
|
||||
43
class_generic6dofjoint.md
Normal file
43
class_generic6dofjoint.md
Normal file
@@ -0,0 +1,43 @@
|
||||
# Generic6DOFJoint
|
||||
####**Inherits:** [Joint](class_joint)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_param_x](#set_param_x)** **(** [int](class_int) param, [float](class_float) value **)**
|
||||
* [float](class_float) **[get_param_x](#get_param_x)** **(** [int](class_int) param **)** const
|
||||
* void **[set_param_y](#set_param_y)** **(** [int](class_int) param, [float](class_float) value **)**
|
||||
* [float](class_float) **[get_param_y](#get_param_y)** **(** [int](class_int) param **)** const
|
||||
* void **[set_param_z](#set_param_z)** **(** [int](class_int) param, [float](class_float) value **)**
|
||||
* [float](class_float) **[get_param_z](#get_param_z)** **(** [int](class_int) param **)** const
|
||||
* void **[set_flag_x](#set_flag_x)** **(** [int](class_int) flag, [bool](class_bool) value **)**
|
||||
* [bool](class_bool) **[get_flag_x](#get_flag_x)** **(** [int](class_int) flag **)** const
|
||||
* void **[set_flag_y](#set_flag_y)** **(** [int](class_int) flag, [bool](class_bool) value **)**
|
||||
* [bool](class_bool) **[get_flag_y](#get_flag_y)** **(** [int](class_int) flag **)** const
|
||||
* void **[set_flag_z](#set_flag_z)** **(** [int](class_int) flag, [bool](class_bool) value **)**
|
||||
* [bool](class_bool) **[get_flag_z](#get_flag_z)** **(** [int](class_int) flag **)** const
|
||||
|
||||
### Numeric Constants
|
||||
* **PARAM_LINEAR_LOWER_LIMIT** = **0**
|
||||
* **PARAM_LINEAR_UPPER_LIMIT** = **1**
|
||||
* **PARAM_LINEAR_LIMIT_SOFTNESS** = **2**
|
||||
* **PARAM_LINEAR_RESTITUTION** = **3**
|
||||
* **PARAM_LINEAR_DAMPING** = **4**
|
||||
* **PARAM_ANGULAR_LOWER_LIMIT** = **5**
|
||||
* **PARAM_ANGULAR_UPPER_LIMIT** = **6**
|
||||
* **PARAM_ANGULAR_LIMIT_SOFTNESS** = **7**
|
||||
* **PARAM_ANGULAR_DAMPING** = **8**
|
||||
* **PARAM_ANGULAR_RESTITUTION** = **9**
|
||||
* **PARAM_ANGULAR_FORCE_LIMIT** = **10**
|
||||
* **PARAM_ANGULAR_ERP** = **11**
|
||||
* **PARAM_ANGULAR_MOTOR_TARGET_VELOCITY** = **12**
|
||||
* **PARAM_ANGULAR_MOTOR_FORCE_LIMIT** = **13**
|
||||
* **PARAM_MAX** = **14**
|
||||
* **FLAG_ENABLE_LINEAR_LIMIT** = **0**
|
||||
* **FLAG_ENABLE_ANGULAR_LIMIT** = **1**
|
||||
* **FLAG_ENABLE_MOTOR** = **2**
|
||||
* **FLAG_MAX** = **3**
|
||||
|
||||
### Member Function Description
|
||||
@@ -14,11 +14,13 @@
|
||||
* [Vector2Array](class_vector2array) **[get_closest_points_between_segments_2d](#get_closest_points_between_segments_2d)** **(** [Vector2](class_vector2) p1, [Vector2](class_vector2) q1, [Vector2](class_vector2) p2, [Vector2](class_vector2) q2 **)**
|
||||
* [Vector3Array](class_vector3array) **[get_closest_points_between_segments](#get_closest_points_between_segments)** **(** [Vector3](class_vector3) p1, [Vector3](class_vector3) p2, [Vector3](class_vector3) q1, [Vector3](class_vector3) q2 **)**
|
||||
* [Vector3](class_vector3) **[get_closest_point_to_segment](#get_closest_point_to_segment)** **(** [Vector3](class_vector3) point, [Vector3](class_vector3) s1, [Vector3](class_vector3) s2 **)**
|
||||
* [int](class_int) **[get_uv84_normal_bit](#get_uv84_normal_bit)** **(** [Vector3](class_vector3) normal **)**
|
||||
* void **[ray_intersects_triangle](#ray_intersects_triangle)** **(** [Vector3](class_vector3) from, [Vector3](class_vector3) dir, [Vector3](class_vector3) a, [Vector3](class_vector3) b, [Vector3](class_vector3) c **)**
|
||||
* void **[segment_intersects_triangle](#segment_intersects_triangle)** **(** [Vector3](class_vector3) from, [Vector3](class_vector3) to, [Vector3](class_vector3) a, [Vector3](class_vector3) b, [Vector3](class_vector3) c **)**
|
||||
* [Vector3Array](class_vector3array) **[segment_intersects_sphere](#segment_intersects_sphere)** **(** [Vector3](class_vector3) from, [Vector3](class_vector3) to, [Vector3](class_vector3) spos, [float](class_float) sradius **)**
|
||||
* [Vector3Array](class_vector3array) **[segment_intersects_cylinder](#segment_intersects_cylinder)** **(** [Vector3](class_vector3) from, [Vector3](class_vector3) to, [float](class_float) height, [float](class_float) radius **)**
|
||||
* [Vector3Array](class_vector3array) **[segment_intersects_convex](#segment_intersects_convex)** **(** [Vector3](class_vector3) from, [Vector3](class_vector3) to, [Array](class_array) planes **)**
|
||||
* [IntArray](class_intarray) **[triangulate_polygon](#triangulate_polygon)** **(** [Vector2Array](class_vector2array) polygon **)**
|
||||
* [Dictionary](class_dictionary) **[make_atlas](#make_atlas)** **(** [Vector2Array](class_vector2array) sizes **)**
|
||||
|
||||
### Member Function Description
|
||||
|
||||
@@ -14,9 +14,8 @@ Base node for geometry based visual instances.
|
||||
* [float](class_float) **[get_draw_range_begin](#get_draw_range_begin)** **(** **)** const
|
||||
* void **[set_draw_range_end](#set_draw_range_end)** **(** [float](class_float) mode **)**
|
||||
* [float](class_float) **[get_draw_range_end](#get_draw_range_end)** **(** **)** const
|
||||
|
||||
### Signals
|
||||
* **visibility_changed** **(** **)**
|
||||
* 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
|
||||
|
||||
### Numeric Constants
|
||||
* **FLAG_VISIBLE** = **0**
|
||||
|
||||
@@ -17,6 +17,7 @@ Contains global variables accessible from everywhere.
|
||||
* [int](class_int) **[save](#save)** **(** **)**
|
||||
* [bool](class_bool) **[has_singleton](#has_singleton)** **(** [String](class_string) arg0 **)** const
|
||||
* [Object](class_object) **[get_singleton](#get_singleton)** **(** [String](class_string) arg0 **)** const
|
||||
* [bool](class_bool) **[load_resource_pack](#load_resource_pack)** **(** [String](class_string) arg0 **)**
|
||||
|
||||
### Description
|
||||
Contains global variables accessible from everywhere. Use the normal [Object](class_object) API, such as "Globals.get(variable)", "Globals.set(variable,value)" or "Globals.has(variable)" to access them. Variables stored in engine.cfg are also loaded into globals, making this object very useful for reading custom game configuration options.
|
||||
|
||||
28
class_hingejoint.md
Normal file
28
class_hingejoint.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# HingeJoint
|
||||
####**Inherits:** [Joint](class_joint)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_param](#set_param)** **(** [int](class_int) param, [float](class_float) value **)**
|
||||
* [float](class_float) **[get_param](#get_param)** **(** [int](class_int) param **)** const
|
||||
* void **[set_flag](#set_flag)** **(** [int](class_int) flag, [bool](class_bool) enabled **)**
|
||||
* [bool](class_bool) **[get_flag](#get_flag)** **(** [int](class_int) flag **)** const
|
||||
|
||||
### Numeric Constants
|
||||
* **PARAM_BIAS** = **0**
|
||||
* **PARAM_LIMIT_UPPER** = **1**
|
||||
* **PARAM_LIMIT_LOWER** = **2**
|
||||
* **PARAM_LIMIT_BIAS** = **3**
|
||||
* **PARAM_LIMIT_SOFTNESS** = **4**
|
||||
* **PARAM_LIMIT_RELAXATION** = **5**
|
||||
* **PARAM_MOTOR_TARGET_VELOCITY** = **6**
|
||||
* **PARAM_MOTOR_MAX_IMPULSE** = **7**
|
||||
* **PARAM_MAX** = **8**
|
||||
* **FLAG_USE_LIMIT** = **0**
|
||||
* **FLAG_ENABLE_MOTOR** = **1**
|
||||
* **FLAG_MAX** = **2**
|
||||
|
||||
### Member Function Description
|
||||
@@ -9,6 +9,7 @@ Image datatype.
|
||||
* void **[brush_transfer](#brush_transfer)** **(** [Image](class_image) src, [Image](class_image) brush, [Vector2](class_vector2) pos=0 **)**
|
||||
* [Image](class_image) **[brushed](#brushed)** **(** [Image](class_image) src, [Image](class_image) brush, [Vector2](class_vector2) pos=0 **)**
|
||||
* [Image](class_image) **[compressed](#compressed)** **(** [int](class_int) format=0 **)**
|
||||
* [Image](class_image) **[converted](#converted)** **(** [int](class_int) format=0 **)**
|
||||
* [Image](class_image) **[decompressed](#decompressed)** **(** **)**
|
||||
* [bool](class_bool) **[empty](#empty)** **(** **)**
|
||||
* [RawArray](class_rawarray) **[get_data](#get_data)** **(** **)**
|
||||
@@ -19,6 +20,7 @@ Image datatype.
|
||||
* [Rect2](class_rect2) **[get_used_rect](#get_used_rect)** **(** **)**
|
||||
* [int](class_int) **[get_width](#get_width)** **(** **)**
|
||||
* [int](class_int) **[load](#load)** **(** [String](class_string) path=0 **)**
|
||||
* void **[put_pixel](#put_pixel)** **(** [int](class_int) x, [int](class_int) y, [Color](class_color) color, [int](class_int) mipmap_level=0 **)**
|
||||
* [Image](class_image) **[resized](#resized)** **(** [int](class_int) x, [int](class_int) y, [int](class_int) interpolation=1 **)**
|
||||
|
||||
### Numeric Constants
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
* void **[set_uv](#set_uv)** **(** [Vector2](class_vector2) uv **)**
|
||||
* void **[set_uv2](#set_uv2)** **(** [Vector2](class_vector2) uv **)**
|
||||
* void **[add_vertex](#add_vertex)** **(** [Vector3](class_vector3) color **)**
|
||||
* void **[add_sphere](#add_sphere)** **(** [int](class_int) lats, [int](class_int) lons, [float](class_float) radius **)**
|
||||
* void **[end](#end)** **(** **)**
|
||||
* void **[clear](#clear)** **(** **)**
|
||||
|
||||
|
||||
@@ -11,12 +11,17 @@
|
||||
* [bool](class_bool) **[is_joy_button_pressed](#is_joy_button_pressed)** **(** [int](class_int) device, [int](class_int) button **)**
|
||||
* [bool](class_bool) **[is_action_pressed](#is_action_pressed)** **(** [String](class_string) action **)**
|
||||
* [float](class_float) **[get_joy_axis](#get_joy_axis)** **(** [int](class_int) device, [int](class_int) axis **)**
|
||||
* [String](class_string) **[get_joy_name](#get_joy_name)** **(** [int](class_int) device **)**
|
||||
* [Vector3](class_vector3) **[get_accelerometer](#get_accelerometer)** **(** **)**
|
||||
* [Vector2](class_vector2) **[get_mouse_pos](#get_mouse_pos)** **(** **)** const
|
||||
* [Vector2](class_vector2) **[get_mouse_speed](#get_mouse_speed)** **(** **)** const
|
||||
* [int](class_int) **[get_mouse_button_mask](#get_mouse_button_mask)** **(** **)** const
|
||||
* void **[set_mouse_mode](#set_mouse_mode)** **(** [int](class_int) mode **)**
|
||||
* [int](class_int) **[get_mouse_mode](#get_mouse_mode)** **(** **)** const
|
||||
* void **[warp_mouse_pos](#warp_mouse_pos)** **(** [Vector2](class_vector2) to **)**
|
||||
|
||||
### Signals
|
||||
* **joy_connection_changed** **(** [int](class_int) index, [bool](class_bool) connected **)**
|
||||
|
||||
### Numeric Constants
|
||||
* **MOUSE_MODE_VISIBLE** = **0**
|
||||
|
||||
16
class_joint.md
Normal file
16
class_joint.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Joint
|
||||
####**Inherits:** [Spatial](class_spatial)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_node_a](#set_node_a)** **(** [NodePath](class_nodepath) node **)**
|
||||
* [NodePath](class_nodepath) **[get_node_a](#get_node_a)** **(** **)** const
|
||||
* void **[set_node_b](#set_node_b)** **(** [NodePath](class_nodepath) node **)**
|
||||
* [NodePath](class_nodepath) **[get_node_b](#get_node_b)** **(** **)** const
|
||||
* void **[set_solver_priority](#set_solver_priority)** **(** [int](class_int) priority **)**
|
||||
* [int](class_int) **[get_solver_priority](#get_solver_priority)** **(** **)** const
|
||||
|
||||
### Member Function Description
|
||||
29
class_kinematicbody.md
Normal file
29
class_kinematicbody.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# KinematicBody
|
||||
####**Inherits:** [PhysicsBody](class_physicsbody)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* [Vector3](class_vector3) **[move](#move)** **(** [Vector3](class_vector3) rel_vec **)**
|
||||
* [Vector3](class_vector3) **[move_to](#move_to)** **(** [Vector3](class_vector3) position **)**
|
||||
* [bool](class_bool) **[can_move_to](#can_move_to)** **(** [Vector3](class_vector3) position, [bool](class_bool) arg1 **)**
|
||||
* [bool](class_bool) **[is_colliding](#is_colliding)** **(** **)** const
|
||||
* [Vector3](class_vector3) **[get_collision_pos](#get_collision_pos)** **(** **)** const
|
||||
* [Vector3](class_vector3) **[get_collision_normal](#get_collision_normal)** **(** **)** const
|
||||
* [Vector3](class_vector3) **[get_collider_velocity](#get_collider_velocity)** **(** **)** const
|
||||
* void **[get_collider](#get_collider)** **(** **)** const
|
||||
* [int](class_int) **[get_collider_shape](#get_collider_shape)** **(** **)** const
|
||||
* void **[set_collide_with_static_bodies](#set_collide_with_static_bodies)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[can_collide_with_static_bodies](#can_collide_with_static_bodies)** **(** **)** const
|
||||
* void **[set_collide_with_kinematic_bodies](#set_collide_with_kinematic_bodies)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[can_collide_with_kinematic_bodies](#can_collide_with_kinematic_bodies)** **(** **)** const
|
||||
* void **[set_collide_with_rigid_bodies](#set_collide_with_rigid_bodies)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[can_collide_with_rigid_bodies](#can_collide_with_rigid_bodies)** **(** **)** const
|
||||
* void **[set_collide_with_character_bodies](#set_collide_with_character_bodies)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[can_collide_with_character_bodies](#can_collide_with_character_bodies)** **(** **)** const
|
||||
* void **[set_collision_margin](#set_collision_margin)** **(** [float](class_float) pixels **)**
|
||||
* [float](class_float) **[get_collision_margin](#get_collision_margin)** **(** **)** const
|
||||
|
||||
### Member Function Description
|
||||
@@ -14,6 +14,7 @@
|
||||
* [Vector2](class_vector2) **[get_collision_normal](#get_collision_normal)** **(** **)** const
|
||||
* [Vector2](class_vector2) **[get_collider_velocity](#get_collider_velocity)** **(** **)** const
|
||||
* void **[get_collider](#get_collider)** **(** **)** const
|
||||
* [int](class_int) **[get_collider_shape](#get_collider_shape)** **(** **)** const
|
||||
* void **[set_collide_with_static_bodies](#set_collide_with_static_bodies)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[can_collide_with_static_bodies](#can_collide_with_static_bodies)** **(** **)** const
|
||||
* void **[set_collide_with_kinematic_bodies](#set_collide_with_kinematic_bodies)** **(** [bool](class_bool) enable **)**
|
||||
|
||||
@@ -20,6 +20,8 @@ Provides a base class for different kinds of light nodes.
|
||||
* [int](class_int) **[get_bake_mode](#get_bake_mode)** **(** **)** const
|
||||
* void **[set_enabled](#set_enabled)** **(** [bool](class_bool) enabled **)**
|
||||
* [bool](class_bool) **[is_enabled](#is_enabled)** **(** **)** const
|
||||
* void **[set_editor_only](#set_editor_only)** **(** [bool](class_bool) editor_only **)**
|
||||
* [bool](class_bool) **[is_editor_only](#is_editor_only)** **(** **)** const
|
||||
|
||||
### Numeric Constants
|
||||
* **PARAM_RADIUS** = **2**
|
||||
@@ -29,9 +31,12 @@ Provides a base class for different kinds of light nodes.
|
||||
* **PARAM_SPOT_ATTENUATION** = **4**
|
||||
* **PARAM_SHADOW_DARKENING** = **5**
|
||||
* **PARAM_SHADOW_Z_OFFSET** = **6**
|
||||
* **COLOR_AMBIENT** = **0**
|
||||
* **COLOR_DIFFUSE** = **1**
|
||||
* **COLOR_SPECULAR** = **2**
|
||||
* **COLOR_DIFFUSE** = **0**
|
||||
* **COLOR_SPECULAR** = **1**
|
||||
* **BAKE_MODE_DISABLED** = **0**
|
||||
* **BAKE_MODE_INDIRECT** = **1**
|
||||
* **BAKE_MODE_INDIRECT_AND_SHADOWS** = **2**
|
||||
* **BAKE_MODE_FULL** = **3**
|
||||
|
||||
### Description
|
||||
Light is the abstract base class for light nodes, so it shouldn't be used directly (It can't be instanced). Other types of light nodes inherit from it. Light contains the common variables and parameters used for lighting.
|
||||
|
||||
210
class_list.md
210
class_list.md
@@ -1,111 +1,115 @@
|
||||
|
||||
| | | | | | |
|
||||
| --- | ------- | --- | ------- | --- | ------- |
|
||||
| **@** | [@GDScript](class_@gdscript) | | [InputEventJoyButton](class_inputeventjoybutton) | | [RichTextLabel](class_richtextlabel) |
|
||||
| | [@Global Scope](class_@global scope) | | [InputEventJoyMotion](class_inputeventjoymotion) | | [RigidBody](class_rigidbody) |
|
||||
| **A** | [AABB](class_aabb) | | [InputEventKey](class_inputeventkey) | | [RigidBody2D](class_rigidbody2d) |
|
||||
| | [AcceptDialog](class_acceptdialog) | | [InputEventMouseButton](class_inputeventmousebutton) | | [Room](class_room) |
|
||||
| | [AnimatedSprite](class_animatedsprite) | | [InputEventMouseMotion](class_inputeventmousemotion) | | [RoomBounds](class_roombounds) |
|
||||
| | [AnimatedSprite3D](class_animatedsprite3d) | | [InputEventScreenDrag](class_inputeventscreendrag) | **S** | [Sample](class_sample) |
|
||||
| | [Animation](class_animation) | | [InputEventScreenTouch](class_inputeventscreentouch) | | [SampleLibrary](class_samplelibrary) |
|
||||
| | [AnimationPlayer](class_animationplayer) | | [InputMap](class_inputmap) | | [SamplePlayer](class_sampleplayer) |
|
||||
| | [AnimationTreePlayer](class_animationtreeplayer) | | [IntArray](class_intarray) | | [SamplePlayer2D](class_sampleplayer2d) |
|
||||
| | [Area](class_area) | | [InterpolatedCamera](class_interpolatedcamera) | | [SceneIO](class_sceneio) |
|
||||
| | [Area2D](class_area2d) | **J** | [Joint2D](class_joint2d) | | [SceneInteractiveLoader](class_sceneinteractiveloader) |
|
||||
| | [Array](class_array) | **K** | [KinematicBody2D](class_kinematicbody2d) | | [SceneMainLoop](class_scenemainloop) |
|
||||
| | [AtlasTexture](class_atlastexture) | **L** | [Label](class_label) | | [ScenePreloader](class_scenepreloader) |
|
||||
| | [AudioServer](class_audioserver) | | [LargeTexture](class_largetexture) | | [Script](class_script) |
|
||||
| | [AudioServerSW](class_audioserversw) | | [Light](class_light) | | [ScrollBar](class_scrollbar) |
|
||||
| | [AudioStream](class_audiostream) | | [LineEdit](class_lineedit) | | [ScrollContainer](class_scrollcontainer) |
|
||||
| | [AudioStreamGibberish](class_audiostreamgibberish) | | [LineShape2D](class_lineshape2d) | | [SegmentShape2D](class_segmentshape2d) |
|
||||
| | [AudioStreamMPC](class_audiostreammpc) | **M** | [MainLoop](class_mainloop) | | [Semaphore](class_semaphore) |
|
||||
| | [AudioStreamOGGVorbis](class_audiostreamoggvorbis) | | [MarginContainer](class_margincontainer) | | [Separator](class_separator) |
|
||||
| | [AudioStreamResampled](class_audiostreamresampled) | | [Marshalls](class_marshalls) | | [Shader](class_shader) |
|
||||
| | [AudioStreamSpeex](class_audiostreamspeex) | | [Material](class_material) | | [ShaderMaterial](class_shadermaterial) |
|
||||
| **B** | [BakedLight](class_bakedlight) | | [Matrix3](class_matrix3) | | [Shape](class_shape) |
|
||||
| | [BakedLightInstance](class_bakedlightinstance) | | [Matrix32](class_matrix32) | | [Shape2D](class_shape2d) |
|
||||
| | [BaseButton](class_basebutton) | | [MenuButton](class_menubutton) | | [Skeleton](class_skeleton) |
|
||||
| | [BitMap](class_bitmap) | | [Mesh](class_mesh) | | [Slider](class_slider) |
|
||||
| | [BoneAttachment](class_boneattachment) | | [MeshDataTool](class_meshdatatool) | | [SoundPlayer2D](class_soundplayer2d) |
|
||||
| | [BoxContainer](class_boxcontainer) | | [MeshInstance](class_meshinstance) | | [SoundRoomParams](class_soundroomparams) |
|
||||
| | [BoxShape](class_boxshape) | | [MeshLibrary](class_meshlibrary) | | [Spatial](class_spatial) |
|
||||
| | [Button](class_button) | | [MultiMesh](class_multimesh) | | [SpatialPlayer](class_spatialplayer) |
|
||||
| | [ButtonArray](class_buttonarray) | | [MultiMeshInstance](class_multimeshinstance) | | [SpatialSamplePlayer](class_spatialsampleplayer) |
|
||||
| | [ButtonGroup](class_buttongroup) | | [Mutex](class_mutex) | | [SpatialSound2DServer](class_spatialsound2dserver) |
|
||||
| **C** | [Camera](class_camera) | **N** | [Nil](class_nil) | | [SpatialSound2DServerSW](class_spatialsound2dserversw) |
|
||||
| **@** | [@GDScript](class_@gdscript) | | [InputEventScreenDrag](class_inputeventscreendrag) | | [ResourcePreloader](class_resourcepreloader) |
|
||||
| | [@Global Scope](class_@global scope) | | [InputEventScreenTouch](class_inputeventscreentouch) | | [ResourceSaver](class_resourcesaver) |
|
||||
| **A** | [AABB](class_aabb) | | [InputMap](class_inputmap) | | [RichTextLabel](class_richtextlabel) |
|
||||
| | [AcceptDialog](class_acceptdialog) | | [IntArray](class_intarray) | | [RigidBody](class_rigidbody) |
|
||||
| | [AnimatedSprite](class_animatedsprite) | | [InterpolatedCamera](class_interpolatedcamera) | | [RigidBody2D](class_rigidbody2d) |
|
||||
| | [AnimatedSprite3D](class_animatedsprite3d) | **J** | [Joint](class_joint) | | [Room](class_room) |
|
||||
| | [Animation](class_animation) | | [Joint2D](class_joint2d) | | [RoomBounds](class_roombounds) |
|
||||
| | [AnimationPlayer](class_animationplayer) | **K** | [KinematicBody](class_kinematicbody) | **S** | [Sample](class_sample) |
|
||||
| | [AnimationTreePlayer](class_animationtreeplayer) | | [KinematicBody2D](class_kinematicbody2d) | | [SampleLibrary](class_samplelibrary) |
|
||||
| | [Area](class_area) | **L** | [Label](class_label) | | [SamplePlayer](class_sampleplayer) |
|
||||
| | [Area2D](class_area2d) | | [LargeTexture](class_largetexture) | | [SamplePlayer2D](class_sampleplayer2d) |
|
||||
| | [Array](class_array) | | [Light](class_light) | | [SceneMainLoop](class_scenemainloop) |
|
||||
| | [AtlasTexture](class_atlastexture) | | [LineEdit](class_lineedit) | | [Script](class_script) |
|
||||
| | [AudioServer](class_audioserver) | | [LineShape2D](class_lineshape2d) | | [ScrollBar](class_scrollbar) |
|
||||
| | [AudioServerSW](class_audioserversw) | **M** | [MainLoop](class_mainloop) | | [ScrollContainer](class_scrollcontainer) |
|
||||
| | [AudioStream](class_audiostream) | | [MarginContainer](class_margincontainer) | | [SegmentShape2D](class_segmentshape2d) |
|
||||
| | [AudioStreamGibberish](class_audiostreamgibberish) | | [Marshalls](class_marshalls) | | [Semaphore](class_semaphore) |
|
||||
| | [AudioStreamMPC](class_audiostreammpc) | | [Material](class_material) | | [Separator](class_separator) |
|
||||
| | [AudioStreamOGGVorbis](class_audiostreamoggvorbis) | | [Matrix3](class_matrix3) | | [Shader](class_shader) |
|
||||
| | [AudioStreamResampled](class_audiostreamresampled) | | [Matrix32](class_matrix32) | | [ShaderMaterial](class_shadermaterial) |
|
||||
| | [AudioStreamSpeex](class_audiostreamspeex) | | [MenuButton](class_menubutton) | | [Shape](class_shape) |
|
||||
| **B** | [BakedLight](class_bakedlight) | | [Mesh](class_mesh) | | [Shape2D](class_shape2d) |
|
||||
| | [BakedLightInstance](class_bakedlightinstance) | | [MeshDataTool](class_meshdatatool) | | [Skeleton](class_skeleton) |
|
||||
| | [BaseButton](class_basebutton) | | [MeshInstance](class_meshinstance) | | [Slider](class_slider) |
|
||||
| | [BitMap](class_bitmap) | | [MeshLibrary](class_meshlibrary) | | [SliderJoint](class_sliderjoint) |
|
||||
| | [BoneAttachment](class_boneattachment) | | [MultiMesh](class_multimesh) | | [SoundPlayer2D](class_soundplayer2d) |
|
||||
| | [BoxContainer](class_boxcontainer) | | [MultiMeshInstance](class_multimeshinstance) | | [SoundRoomParams](class_soundroomparams) |
|
||||
| | [BoxShape](class_boxshape) | | [Mutex](class_mutex) | | [Spatial](class_spatial) |
|
||||
| | [Button](class_button) | **N** | [Navigation](class_navigation) | | [SpatialPlayer](class_spatialplayer) |
|
||||
| | [ButtonArray](class_buttonarray) | | [NavigationMesh](class_navigationmesh) | | [SpatialSamplePlayer](class_spatialsampleplayer) |
|
||||
| | [ButtonGroup](class_buttongroup) | | [NavigationMeshInstance](class_navigationmeshinstance) | | [SpatialSound2DServer](class_spatialsound2dserver) |
|
||||
| **C** | [Camera](class_camera) | | [Nil](class_nil) | | [SpatialSound2DServerSW](class_spatialsound2dserversw) |
|
||||
| | [Camera2D](class_camera2d) | | [Node](class_node) | | [SpatialSoundServer](class_spatialsoundserver) |
|
||||
| | [CanvasItem](class_canvasitem) | | [Node2D](class_node2d) | | [SpatialSoundServerSW](class_spatialsoundserversw) |
|
||||
| | [CanvasLayer](class_canvaslayer) | | [NodePath](class_nodepath) | | [SpatialStreamPlayer](class_spatialstreamplayer) |
|
||||
| | [CapsuleShape](class_capsuleshape) | **O** | [OS](class_os) | | [SphereShape](class_sphereshape) |
|
||||
| | [CapsuleShape2D](class_capsuleshape2d) | | [Object](class_object) | | [SpinBox](class_spinbox) |
|
||||
| | [CarBody](class_carbody) | | [OmniLight](class_omnilight) | | [SplitContainer](class_splitcontainer) |
|
||||
| | [CarWheel](class_carwheel) | | [OptionButton](class_optionbutton) | | [SpotLight](class_spotlight) |
|
||||
| | [CenterContainer](class_centercontainer) | **P** | [PHashTranslation](class_phashtranslation) | | [Sprite](class_sprite) |
|
||||
| | [CheckButton](class_checkbutton) | | [PackedDataContainer](class_packeddatacontainer) | | [Sprite3D](class_sprite3d) |
|
||||
| | [CircleShape2D](class_circleshape2d) | | [PackedDataContainerRef](class_packeddatacontainerref) | | [SpriteBase3D](class_spritebase3d) |
|
||||
| | [CollisionObject](class_collisionobject) | | [PackedScene](class_packedscene) | | [SpriteFrames](class_spriteframes) |
|
||||
| | [CollisionObject2D](class_collisionobject2d) | | [PacketPeer](class_packetpeer) | | [StaticBody](class_staticbody) |
|
||||
| | [CollisionPolygon2D](class_collisionpolygon2d) | | [PacketPeerStream](class_packetpeerstream) | | [StaticBody2D](class_staticbody2d) |
|
||||
| | [CollisionShape](class_collisionshape) | | [Panel](class_panel) | | [StreamPeer](class_streampeer) |
|
||||
| | [CollisionShape2D](class_collisionshape2d) | | [PanelContainer](class_panelcontainer) | | [StreamPeerSSL](class_streampeerssl) |
|
||||
| | [Color](class_color) | | [ParallaxBackground](class_parallaxbackground) | | [StreamPeerTCP](class_streampeertcp) |
|
||||
| | [ColorArray](class_colorarray) | | [ParallaxLayer](class_parallaxlayer) | | [StreamPlayer](class_streamplayer) |
|
||||
| | [ColorPicker](class_colorpicker) | | [ParticleAttractor2D](class_particleattractor2d) | | [String](class_string) |
|
||||
| | [ColorPickerButton](class_colorpickerbutton) | | [ParticleSystemMaterial](class_particlesystemmaterial) | | [StringArray](class_stringarray) |
|
||||
| | [ConcavePolygonShape](class_concavepolygonshape) | | [Particles](class_particles) | | [StyleBox](class_stylebox) |
|
||||
| | [ConcavePolygonShape2D](class_concavepolygonshape2d) | | [Particles2D](class_particles2d) | | [StyleBoxEmpty](class_styleboxempty) |
|
||||
| | [ConfigFile](class_configfile) | | [Path](class_path) | | [StyleBoxFlat](class_styleboxflat) |
|
||||
| | [ConfirmationDialog](class_confirmationdialog) | | [Path2D](class_path2d) | | [StyleBoxImageMask](class_styleboximagemask) |
|
||||
| | [Container](class_container) | | [PathFollow](class_pathfollow) | | [StyleBoxTexture](class_styleboxtexture) |
|
||||
| | [Control](class_control) | | [PathRemap](class_pathremap) | | [SurfaceTool](class_surfacetool) |
|
||||
| | [ConvexPolygonShape](class_convexpolygonshape) | | [Performance](class_performance) | **T** | [TCP_Server](class_tcp_server) |
|
||||
| | [ConvexPolygonShape2D](class_convexpolygonshape2d) | | [Physics2DDirectBodyState](class_physics2ddirectbodystate) | | [TabContainer](class_tabcontainer) |
|
||||
| | [CubeMap](class_cubemap) | | [Physics2DDirectBodyStateSW](class_physics2ddirectbodystatesw) | | [Tabs](class_tabs) |
|
||||
| | [Curve2D](class_curve2d) | | [Physics2DDirectSpaceState](class_physics2ddirectspacestate) | | [TestCube](class_testcube) |
|
||||
| | [Curve3D](class_curve3d) | | [Physics2DServer](class_physics2dserver) | | [TextEdit](class_textedit) |
|
||||
| **D** | [DampedSpringJoint2D](class_dampedspringjoint2d) | | [Physics2DServerSW](class_physics2dserversw) | | [Texture](class_texture) |
|
||||
| | [Dictionary](class_dictionary) | | [Physics2DShapeQueryResult](class_physics2dshapequeryresult) | | [TextureButton](class_texturebutton) |
|
||||
| | [DirectionalLight](class_directionallight) | | [PhysicsBody](class_physicsbody) | | [TextureFrame](class_textureframe) |
|
||||
| | [Directory](class_directory) | | [PhysicsBody2D](class_physicsbody2d) | | [TextureProgress](class_textureprogress) |
|
||||
| **E** | [EditableShape](class_editableshape) | | [PhysicsDirectBodyState](class_physicsdirectbodystate) | | [Theme](class_theme) |
|
||||
| | [EditableSphere](class_editablesphere) | | [PhysicsDirectBodyStateSW](class_physicsdirectbodystatesw) | | [Thread](class_thread) |
|
||||
| | [EditorImportPlugin](class_editorimportplugin) | | [PhysicsDirectSpaceState](class_physicsdirectspacestate) | | [TileMap](class_tilemap) |
|
||||
| | [EditorPlugin](class_editorplugin) | | [PhysicsServer](class_physicsserver) | | [TileSet](class_tileset) |
|
||||
| | [EditorScenePostImport](class_editorscenepostimport) | | [PhysicsServerSW](class_physicsserversw) | | [Timer](class_timer) |
|
||||
| | [EditorScript](class_editorscript) | | [PhysicsShapeQueryResult](class_physicsshapequeryresult) | | [TouchScreenButton](class_touchscreenbutton) |
|
||||
| | [EmptyControl](class_emptycontrol) | | [PinJoint2D](class_pinjoint2d) | | [Transform](class_transform) |
|
||||
| | [Environment](class_environment) | | [Plane](class_plane) | | [Translation](class_translation) |
|
||||
| | [EventPlayer](class_eventplayer) | | [PlaneShape](class_planeshape) | | [TranslationServer](class_translationserver) |
|
||||
| | [EventStream](class_eventstream) | | [PolygonPathFinder](class_polygonpathfinder) | | [Tree](class_tree) |
|
||||
| | [EventStreamChibi](class_eventstreamchibi) | | [Popup](class_popup) | | [TreeItem](class_treeitem) |
|
||||
| **F** | [File](class_file) | | [PopupDialog](class_popupdialog) | **U** | [UnshadedMaterial](class_unshadedmaterial) |
|
||||
| | [FileDialog](class_filedialog) | | [PopupMenu](class_popupmenu) | **V** | [VBoxContainer](class_vboxcontainer) |
|
||||
| | [FixedMaterial](class_fixedmaterial) | | [PopupPanel](class_popuppanel) | | [VButtonArray](class_vbuttonarray) |
|
||||
| | [FollowCamera](class_followcamera) | | [Portal](class_portal) | | [VScrollBar](class_vscrollbar) |
|
||||
| | [Font](class_font) | | [Position2D](class_position2d) | | [VSeparator](class_vseparator) |
|
||||
| | [FuncRef](class_funcref) | | [Position3D](class_position3d) | | [VSlider](class_vslider) |
|
||||
| **G** | [GDNativeClass](class_gdnativeclass) | | [ProgressBar](class_progressbar) | | [VSplitContainer](class_vsplitcontainer) |
|
||||
| | [GDScript](class_gdscript) | | [ProximityGroup](class_proximitygroup) | | [Vector2](class_vector2) |
|
||||
| | [Geometry](class_geometry) | **Q** | [Quad](class_quad) | | [Vector2Array](class_vector2array) |
|
||||
| | [GeometryInstance](class_geometryinstance) | | [Quat](class_quat) | | [Vector3](class_vector3) |
|
||||
| | [Globals](class_globals) | **R** | [RID](class_rid) | | [Vector3Array](class_vector3array) |
|
||||
| | [GridContainer](class_gridcontainer) | | [Range](class_range) | | [VideoPlayer](class_videoplayer) |
|
||||
| | [GridMap](class_gridmap) | | [RawArray](class_rawarray) | | [VideoStream](class_videostream) |
|
||||
| | [GrooveJoint2D](class_groovejoint2d) | | [RayCast](class_raycast) | | [VideoStreamTheora](class_videostreamtheora) |
|
||||
| **H** | [HBoxContainer](class_hboxcontainer) | | [RayCast2D](class_raycast2d) | | [Viewport](class_viewport) |
|
||||
| | [HButtonArray](class_hbuttonarray) | | [RayShape](class_rayshape) | | [ViewportSprite](class_viewportsprite) |
|
||||
| | [HScrollBar](class_hscrollbar) | | [RayShape2D](class_rayshape2d) | | [VisibilityEnabler](class_visibilityenabler) |
|
||||
| | [HSeparator](class_hseparator) | | [RealArray](class_realarray) | | [VisibilityEnabler2D](class_visibilityenabler2d) |
|
||||
| | [HSlider](class_hslider) | | [Rect2](class_rect2) | | [VisibilityNotifier](class_visibilitynotifier) |
|
||||
| | [HSplitContainer](class_hsplitcontainer) | | [RectangleShape2D](class_rectangleshape2d) | | [VisibilityNotifier2D](class_visibilitynotifier2d) |
|
||||
| | [HTTPClient](class_httpclient) | | [Reference](class_reference) | | [VisualInstance](class_visualinstance) |
|
||||
| **I** | [IP](class_ip) | | [ReferenceFrame](class_referenceframe) | | [VisualServer](class_visualserver) |
|
||||
| | [IP_Unix](class_ip_unix) | | [RegEx](class_regex) | **W** | [WindowDialog](class_windowdialog) |
|
||||
| | [Image](class_image) | | [RemoteTransform2D](class_remotetransform2d) | | [World](class_world) |
|
||||
| | [ImagePathFinder](class_imagepathfinder) | | [RenderTargetTexture](class_rendertargettexture) | | [World2D](class_world2d) |
|
||||
| | [ImageTexture](class_imagetexture) | | [Resource](class_resource) | | [WorldEnvironment](class_worldenvironment) |
|
||||
| | [ImmediateGeometry](class_immediategeometry) | | [ResourceImportMetadata](class_resourceimportmetadata) | **X** | [XMLParser](class_xmlparser) |
|
||||
| | [Input](class_input) | | [ResourceInteractiveLoader](class_resourceinteractiveloader) | **b** | [bool](class_bool) |
|
||||
| | [InputDefault](class_inputdefault) | | [ResourceLoader](class_resourceloader) | **f** | [float](class_float) |
|
||||
| | [InputEvent](class_inputevent) | | [ResourcePreloader](class_resourcepreloader) | **i** | [int](class_int) |
|
||||
| | [InputEventAction](class_inputeventaction) | | [ResourceSaver](class_resourcesaver) |
|
||||
| | [CenterContainer](class_centercontainer) | | [OmniLight](class_omnilight) | | [SplitContainer](class_splitcontainer) |
|
||||
| | [CheckButton](class_checkbutton) | | [OptionButton](class_optionbutton) | | [SpotLight](class_spotlight) |
|
||||
| | [CircleShape2D](class_circleshape2d) | **P** | [PCKPacker](class_pckpacker) | | [Sprite](class_sprite) |
|
||||
| | [CollisionObject](class_collisionobject) | | [PHashTranslation](class_phashtranslation) | | [Sprite3D](class_sprite3d) |
|
||||
| | [CollisionObject2D](class_collisionobject2d) | | [PackedDataContainer](class_packeddatacontainer) | | [SpriteBase3D](class_spritebase3d) |
|
||||
| | [CollisionPolygon](class_collisionpolygon) | | [PackedDataContainerRef](class_packeddatacontainerref) | | [SpriteFrames](class_spriteframes) |
|
||||
| | [CollisionPolygon2D](class_collisionpolygon2d) | | [PackedScene](class_packedscene) | | [StaticBody](class_staticbody) |
|
||||
| | [CollisionShape](class_collisionshape) | | [PacketPeer](class_packetpeer) | | [StaticBody2D](class_staticbody2d) |
|
||||
| | [CollisionShape2D](class_collisionshape2d) | | [PacketPeerStream](class_packetpeerstream) | | [StreamPeer](class_streampeer) |
|
||||
| | [Color](class_color) | | [Panel](class_panel) | | [StreamPeerSSL](class_streampeerssl) |
|
||||
| | [ColorArray](class_colorarray) | | [PanelContainer](class_panelcontainer) | | [StreamPeerTCP](class_streampeertcp) |
|
||||
| | [ColorPicker](class_colorpicker) | | [ParallaxBackground](class_parallaxbackground) | | [StreamPlayer](class_streamplayer) |
|
||||
| | [ColorPickerButton](class_colorpickerbutton) | | [ParallaxLayer](class_parallaxlayer) | | [String](class_string) |
|
||||
| | [ConcavePolygonShape](class_concavepolygonshape) | | [ParticleAttractor2D](class_particleattractor2d) | | [StringArray](class_stringarray) |
|
||||
| | [ConcavePolygonShape2D](class_concavepolygonshape2d) | | [ParticleSystemMaterial](class_particlesystemmaterial) | | [StyleBox](class_stylebox) |
|
||||
| | [ConeTwistJoint](class_conetwistjoint) | | [Particles](class_particles) | | [StyleBoxEmpty](class_styleboxempty) |
|
||||
| | [ConfigFile](class_configfile) | | [Particles2D](class_particles2d) | | [StyleBoxFlat](class_styleboxflat) |
|
||||
| | [ConfirmationDialog](class_confirmationdialog) | | [Path](class_path) | | [StyleBoxImageMask](class_styleboximagemask) |
|
||||
| | [Container](class_container) | | [Path2D](class_path2d) | | [StyleBoxTexture](class_styleboxtexture) |
|
||||
| | [Control](class_control) | | [PathFollow](class_pathfollow) | | [SurfaceTool](class_surfacetool) |
|
||||
| | [ConvexPolygonShape](class_convexpolygonshape) | | [PathFollow2D](class_pathfollow2d) | **T** | [TCP_Server](class_tcp_server) |
|
||||
| | [ConvexPolygonShape2D](class_convexpolygonshape2d) | | [PathRemap](class_pathremap) | | [TabContainer](class_tabcontainer) |
|
||||
| | [CubeMap](class_cubemap) | | [Performance](class_performance) | | [Tabs](class_tabs) |
|
||||
| | [Curve2D](class_curve2d) | | [Physics2DDirectBodyState](class_physics2ddirectbodystate) | | [TestCube](class_testcube) |
|
||||
| | [Curve3D](class_curve3d) | | [Physics2DDirectBodyStateSW](class_physics2ddirectbodystatesw) | | [TextEdit](class_textedit) |
|
||||
| **D** | [DampedSpringJoint2D](class_dampedspringjoint2d) | | [Physics2DDirectSpaceState](class_physics2ddirectspacestate) | | [Texture](class_texture) |
|
||||
| | [Dictionary](class_dictionary) | | [Physics2DServer](class_physics2dserver) | | [TextureButton](class_texturebutton) |
|
||||
| | [DirectionalLight](class_directionallight) | | [Physics2DServerSW](class_physics2dserversw) | | [TextureFrame](class_textureframe) |
|
||||
| | [Directory](class_directory) | | [Physics2DShapeQueryParameters](class_physics2dshapequeryparameters) | | [TextureProgress](class_textureprogress) |
|
||||
| **E** | [EditorImportPlugin](class_editorimportplugin) | | [Physics2DShapeQueryResult](class_physics2dshapequeryresult) | | [Theme](class_theme) |
|
||||
| | [EditorPlugin](class_editorplugin) | | [PhysicsBody](class_physicsbody) | | [Thread](class_thread) |
|
||||
| | [EditorScenePostImport](class_editorscenepostimport) | | [PhysicsBody2D](class_physicsbody2d) | | [TileMap](class_tilemap) |
|
||||
| | [EditorScript](class_editorscript) | | [PhysicsDirectBodyState](class_physicsdirectbodystate) | | [TileSet](class_tileset) |
|
||||
| | [EmptyControl](class_emptycontrol) | | [PhysicsDirectBodyStateSW](class_physicsdirectbodystatesw) | | [Timer](class_timer) |
|
||||
| | [Environment](class_environment) | | [PhysicsDirectSpaceState](class_physicsdirectspacestate) | | [TouchScreenButton](class_touchscreenbutton) |
|
||||
| | [EventPlayer](class_eventplayer) | | [PhysicsServer](class_physicsserver) | | [Transform](class_transform) |
|
||||
| | [EventStream](class_eventstream) | | [PhysicsServerSW](class_physicsserversw) | | [Translation](class_translation) |
|
||||
| | [EventStreamChibi](class_eventstreamchibi) | | [PhysicsShapeQueryParameters](class_physicsshapequeryparameters) | | [TranslationServer](class_translationserver) |
|
||||
| **F** | [File](class_file) | | [PhysicsShapeQueryResult](class_physicsshapequeryresult) | | [Tree](class_tree) |
|
||||
| | [FileDialog](class_filedialog) | | [PinJoint](class_pinjoint) | | [TreeItem](class_treeitem) |
|
||||
| | [FixedMaterial](class_fixedmaterial) | | [PinJoint2D](class_pinjoint2d) | | [Tween](class_tween) |
|
||||
| | [Font](class_font) | | [Plane](class_plane) | **U** | [UnshadedMaterial](class_unshadedmaterial) |
|
||||
| | [FuncRef](class_funcref) | | [PlaneShape](class_planeshape) | **V** | [VBoxContainer](class_vboxcontainer) |
|
||||
| **G** | [GDFunctionState](class_gdfunctionstate) | | [Polygon2D](class_polygon2d) | | [VButtonArray](class_vbuttonarray) |
|
||||
| | [GDNativeClass](class_gdnativeclass) | | [PolygonPathFinder](class_polygonpathfinder) | | [VScrollBar](class_vscrollbar) |
|
||||
| | [GDScript](class_gdscript) | | [Popup](class_popup) | | [VSeparator](class_vseparator) |
|
||||
| | [Generic6DOFJoint](class_generic6dofjoint) | | [PopupDialog](class_popupdialog) | | [VSlider](class_vslider) |
|
||||
| | [Geometry](class_geometry) | | [PopupMenu](class_popupmenu) | | [VSplitContainer](class_vsplitcontainer) |
|
||||
| | [GeometryInstance](class_geometryinstance) | | [PopupPanel](class_popuppanel) | | [Vector2](class_vector2) |
|
||||
| | [Globals](class_globals) | | [Portal](class_portal) | | [Vector2Array](class_vector2array) |
|
||||
| | [GridContainer](class_gridcontainer) | | [Position2D](class_position2d) | | [Vector3](class_vector3) |
|
||||
| | [GridMap](class_gridmap) | | [Position3D](class_position3d) | | [Vector3Array](class_vector3array) |
|
||||
| | [GrooveJoint2D](class_groovejoint2d) | | [ProgressBar](class_progressbar) | | [VehicleBody](class_vehiclebody) |
|
||||
| **H** | [HBoxContainer](class_hboxcontainer) | | [ProximityGroup](class_proximitygroup) | | [VehicleWheel](class_vehiclewheel) |
|
||||
| | [HButtonArray](class_hbuttonarray) | **Q** | [Quad](class_quad) | | [VideoPlayer](class_videoplayer) |
|
||||
| | [HScrollBar](class_hscrollbar) | | [Quat](class_quat) | | [VideoStream](class_videostream) |
|
||||
| | [HSeparator](class_hseparator) | **R** | [RID](class_rid) | | [Viewport](class_viewport) |
|
||||
| | [HSlider](class_hslider) | | [Range](class_range) | | [ViewportSprite](class_viewportsprite) |
|
||||
| | [HSplitContainer](class_hsplitcontainer) | | [RawArray](class_rawarray) | | [VisibilityEnabler](class_visibilityenabler) |
|
||||
| | [HTTPClient](class_httpclient) | | [RayCast](class_raycast) | | [VisibilityEnabler2D](class_visibilityenabler2d) |
|
||||
| | [HingeJoint](class_hingejoint) | | [RayCast2D](class_raycast2d) | | [VisibilityNotifier](class_visibilitynotifier) |
|
||||
| **I** | [IP](class_ip) | | [RayShape](class_rayshape) | | [VisibilityNotifier2D](class_visibilitynotifier2d) |
|
||||
| | [IP_Unix](class_ip_unix) | | [RayShape2D](class_rayshape2d) | | [VisualInstance](class_visualinstance) |
|
||||
| | [Image](class_image) | | [RealArray](class_realarray) | | [VisualServer](class_visualserver) |
|
||||
| | [ImageTexture](class_imagetexture) | | [Rect2](class_rect2) | **W** | [WindowDialog](class_windowdialog) |
|
||||
| | [ImmediateGeometry](class_immediategeometry) | | [RectangleShape2D](class_rectangleshape2d) | | [World](class_world) |
|
||||
| | [Input](class_input) | | [Reference](class_reference) | | [World2D](class_world2d) |
|
||||
| | [InputDefault](class_inputdefault) | | [ReferenceFrame](class_referenceframe) | | [WorldEnvironment](class_worldenvironment) |
|
||||
| | [InputEvent](class_inputevent) | | [RegEx](class_regex) | **X** | [XMLParser](class_xmlparser) |
|
||||
| | [InputEventAction](class_inputeventaction) | | [RemoteTransform2D](class_remotetransform2d) | **Y** | [YSort](class_ysort) |
|
||||
| | [InputEventJoyButton](class_inputeventjoybutton) | | [RenderTargetTexture](class_rendertargettexture) | **b** | [bool](class_bool) |
|
||||
| | [InputEventJoyMotion](class_inputeventjoymotion) | | [Resource](class_resource) | **f** | [float](class_float) |
|
||||
| | [InputEventKey](class_inputeventkey) | | [ResourceImportMetadata](class_resourceimportmetadata) | **i** | [int](class_int) |
|
||||
| | [InputEventMouseButton](class_inputeventmousebutton) | | [ResourceInteractiveLoader](class_resourceinteractiveloader) |
|
||||
| | [InputEventMouseMotion](class_inputeventmousemotion) | | [ResourceLoader](class_resourceloader) |
|
||||
|
||||
@@ -8,14 +8,12 @@ Abstract base [Resource](class_resource) for coloring and shading geometry.
|
||||
### Member Functions
|
||||
* void **[set_flag](#set_flag)** **(** [int](class_int) flag, [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[get_flag](#get_flag)** **(** [int](class_int) flag **)** const
|
||||
* void **[set_hint](#set_hint)** **(** [int](class_int) hint, [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[get_hint](#get_hint)** **(** [int](class_int) hint **)** const
|
||||
* void **[set_blend_mode](#set_blend_mode)** **(** [int](class_int) mode **)**
|
||||
* [int](class_int) **[get_blend_mode](#get_blend_mode)** **(** **)** const
|
||||
* void **[set_shade_model](#set_shade_model)** **(** [int](class_int) model **)**
|
||||
* [int](class_int) **[get_shade_model](#get_shade_model)** **(** **)** const
|
||||
* void **[set_line_width](#set_line_width)** **(** [float](class_float) width **)**
|
||||
* [float](class_float) **[get_line_width](#get_line_width)** **(** **)** const
|
||||
* void **[set_depth_draw_mode](#set_depth_draw_mode)** **(** [int](class_int) mode **)**
|
||||
* [int](class_int) **[get_depth_draw_mode](#get_depth_draw_mode)** **(** **)** const
|
||||
|
||||
### Numeric Constants
|
||||
* **FLAG_VISIBLE** = **0** - Geometry is visible when this flag is enabled (default).
|
||||
@@ -23,23 +21,13 @@ Abstract base [Resource](class_resource) for coloring and shading geometry.
|
||||
* **FLAG_INVERT_FACES** = **2** - Front facing and back facing order is swapped when this flag is enabled.
|
||||
* **FLAG_UNSHADED** = **3** - Shading (lighting) is disabled when this flag is enabled.
|
||||
* **FLAG_ONTOP** = **4**
|
||||
* **FLAG_WIREFRAME** = **5** - Triangle geometry is drawn as lines if this flag is enabled.
|
||||
* **FLAG_BILLBOARD_TOGGLE** = **6** - Geometry world transform is computed as billboard if this flag is enabled, often used for impostors.
|
||||
* **FLAG_LIGHTMAP_ON_UV2** = **5**
|
||||
* **FLAG_COLOR_ARRAY_SRGB** = **6**
|
||||
* **FLAG_MAX** = **7** - Maximum amount of flags
|
||||
* **HINT_DECAL** = **0**
|
||||
* **HINT_OPAQUE_PRE_PASS** = **1**
|
||||
* **HINT_NO_SHADOW** = **2**
|
||||
* **HINT_NO_DEPTH_DRAW** = **3**
|
||||
* **HINT_NO_DEPTH_DRAW_FOR_ALPHA** = **4**
|
||||
* **HINT_MAX** = **5**
|
||||
* **SHADE_MODEL_LAMBERT** = **0**
|
||||
* **SHADE_MODEL_LAMBERT_WRAP** = **1**
|
||||
* **SHADE_MODEL_FRESNEL** = **2**
|
||||
* **SHADE_MODEL_TOON** = **3**
|
||||
* **SHADE_MODEL_CUSTOM_0** = **4**
|
||||
* **SHADE_MODEL_CUSTOM_1** = **5**
|
||||
* **SHADE_MODEL_CUSTOM_2** = **6**
|
||||
* **SHADE_MODEL_CUSTOM_3** = **7**
|
||||
* **DEPTH_DRAW_ALWAYS** = **0**
|
||||
* **DEPTH_DRAW_OPAQUE_ONLY** = **1**
|
||||
* **DEPTH_DRAW_OPAQUE_PRE_PASS_ALPHA** = **2**
|
||||
* **DEPTH_DRAW_NEVER** = **3**
|
||||
* **BLEND_MODE_MIX** = **0** - Use the regular alpha blending equation (source and dest colors are faded) (default).
|
||||
* **BLEND_MODE_ADD** = **1** - Use additive blending equation, often used for particle effects such as fire or light decals.
|
||||
* **BLEND_MODE_SUB** = **2** - Use substractive blending equation, often used for some smoke effects or types of glass.
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
|
||||
### Member Functions
|
||||
* [Matrix32](class_matrix32) **[affine_inverse](#affine_inverse)** **(** **)**
|
||||
* [Matrix32](class_matrix32) **[basis_xform](#basis_xform)** **(** var v **)**
|
||||
* [Matrix32](class_matrix32) **[basis_xform_inv](#basis_xform_inv)** **(** var v **)**
|
||||
* [Vector2](class_vector2) **[get_origin](#get_origin)** **(** **)**
|
||||
* [float](class_float) **[get_rotation](#get_rotation)** **(** **)**
|
||||
* [Vector2](class_vector2) **[get_scale](#get_scale)** **(** **)**
|
||||
|
||||
@@ -24,6 +24,7 @@ A [Resource](class_resource) that contains vertex-array based geometry.
|
||||
* void **[surface_set_name](#surface_set_name)** **(** [int](class_int) surf_idx, [String](class_string) name **)**
|
||||
* [String](class_string) **[surface_get_name](#surface_get_name)** **(** [int](class_int) surf_idx **)** const
|
||||
* void **[center_geometry](#center_geometry)** **(** **)**
|
||||
* void **[regen_normalmaps](#regen_normalmaps)** **(** **)**
|
||||
* void **[set_custom_aabb](#set_custom_aabb)** **(** [AABB](class_aabb) aabb **)**
|
||||
* [AABB](class_aabb) **[get_custom_aabb](#get_custom_aabb)** **(** **)** const
|
||||
|
||||
|
||||
19
class_navigation.md
Normal file
19
class_navigation.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Navigation
|
||||
####**Inherits:** [Spatial](class_spatial)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* [int](class_int) **[navmesh_create](#navmesh_create)** **(** [NavigationMesh](class_navigationmesh) mesh, [Transform](class_transform) xform, [Object](class_object) owner=NULL **)**
|
||||
* void **[navmesh_set_transform](#navmesh_set_transform)** **(** [int](class_int) id, [Transform](class_transform) xform **)**
|
||||
* void **[navmesh_remove](#navmesh_remove)** **(** [int](class_int) id **)**
|
||||
* [Vector3Array](class_vector3array) **[get_simple_path](#get_simple_path)** **(** [Vector3](class_vector3) start, [Vector3](class_vector3) end, [bool](class_bool) optimize=true **)**
|
||||
* [Vector3](class_vector3) **[get_closest_point_to_segment](#get_closest_point_to_segment)** **(** [Vector3](class_vector3) start, [Vector3](class_vector3) end **)**
|
||||
* [Vector3](class_vector3) **[get_closest_point](#get_closest_point)** **(** [Vector3](class_vector3) to_point **)**
|
||||
* [Vector3](class_vector3) **[get_closest_point_normal](#get_closest_point_normal)** **(** [Vector3](class_vector3) to_point **)**
|
||||
* void **[set_up_vector](#set_up_vector)** **(** [Vector3](class_vector3) up **)**
|
||||
* [Vector3](class_vector3) **[get_up_vector](#get_up_vector)** **(** **)** const
|
||||
|
||||
### Member Function Description
|
||||
16
class_navigationmesh.md
Normal file
16
class_navigationmesh.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# NavigationMesh
|
||||
####**Inherits:** [Resource](class_resource)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_vertices](#set_vertices)** **(** [Vector3Array](class_vector3array) vertices **)**
|
||||
* [Vector3Array](class_vector3array) **[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)** **(** **)**
|
||||
|
||||
### Member Function Description
|
||||
14
class_navigationmeshinstance.md
Normal file
14
class_navigationmeshinstance.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# NavigationMeshInstance
|
||||
####**Inherits:** [Spatial](class_spatial)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_navigation_mesh](#set_navigation_mesh)** **(** [Object](class_object) navmesh **)**
|
||||
* [Object](class_object) **[get_navigation_mesh](#get_navigation_mesh)** **(** **)** const
|
||||
* void **[set_enabled](#set_enabled)** **(** [bool](class_bool) enabled **)**
|
||||
* [bool](class_bool) **[is_enabled](#is_enabled)** **(** **)** const
|
||||
|
||||
### Member Function Description
|
||||
@@ -175,9 +175,37 @@ Return a children node by it"apos;s index (see [get_child_count](#get_ch
|
||||
#### <a name="get_node">get_node</a>
|
||||
* [Node](class_node) **get_node** **(** [NodePath](class_nodepath) path **)** const
|
||||
|
||||
Fetch a node. "path" must be valid (or else error will occur) and can be either the name of a child node, a relative path (from the current node to another node), or an absolute path to a node.
|
||||
Examples ofa paths are: get_node("Sword") , get_node("../Swamp/Alligator") , get_node("/MyGame").
|
||||
Note: fetching absolute paths only works when the node is inside the scene tree (see [is_inside_scene](#is_inside_scene)).
|
||||
Fetch a node. NodePath must be valid (or else error will occur) and can be either the path to child node, a relative path (from the current node to another node), or an absolute path to a node.
|
||||
Note: fetching absolute paths only works when the node is inside the scene tree (see [is_inside_scene](#is_inside_scene)). Examples. Assume your current node is Character and following tree:
|
||||
|
||||
root/
|
||||
|
||||
root/Character
|
||||
|
||||
root/Character/Sword
|
||||
|
||||
root/Character/Backpack/Dagger
|
||||
|
||||
root/MyGame
|
||||
|
||||
root/Swamp/Alligator
|
||||
|
||||
root/Swamp/Mosquito
|
||||
|
||||
root/Swamp/Goblin
|
||||
|
||||
|
||||
|
||||
Possible paths are:
|
||||
|
||||
- get_node("Sword")
|
||||
|
||||
- get_node("Backpack/Dagger")
|
||||
|
||||
- get_node("../Swamp/Alligator")
|
||||
|
||||
- get_node("/root/MyGame")
|
||||
|
||||
|
||||
#### <a name="get_parent">get_parent</a>
|
||||
* Parent **get_parent** **(** **)** const
|
||||
|
||||
@@ -16,6 +16,7 @@ Base node for 2D system.
|
||||
* 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 **)**
|
||||
* [Vector2](class_vector2) **[get_global_pos](#get_global_pos)** **(** **)** const
|
||||
* void **[set_global_pos](#set_global_pos)** **(** [Vector2](class_vector2) arg0 **)**
|
||||
* void **[set_transform](#set_transform)** **(** [Matrix32](class_matrix32) xform **)**
|
||||
* void **[set_global_transform](#set_global_transform)** **(** [Matrix32](class_matrix32) xform **)**
|
||||
* void **[edit_set_pivot](#edit_set_pivot)** **(** [Vector2](class_vector2) arg0 **)**
|
||||
|
||||
@@ -7,6 +7,7 @@ Base class for all non built-in types.
|
||||
### Member Functions
|
||||
* void **[_get](#_get)** **(** [String](class_string) property **)** virtual
|
||||
* [Array](class_array) **[_get_property_list](#_get_property_list)** **(** **)** virtual
|
||||
* void **[_init](#_init)** **(** **)** virtual
|
||||
* void **[_notification](#_notification)** **(** [int](class_int) what **)** virtual
|
||||
* void **[_set](#_set)** **(** [String](class_string) property, var value **)** virtual
|
||||
* [String](class_string) **[get_type](#get_type)** **(** **)** const
|
||||
@@ -29,7 +30,7 @@ Base class for all non built-in types.
|
||||
* void **[callv](#callv)** **(** [String](class_string) method, [Array](class_array) arg_array **)**
|
||||
* [bool](class_bool) **[has_method](#has_method)** **(** [String](class_string) arg0 **)** const
|
||||
* [Array](class_array) **[get_signal_list](#get_signal_list)** **(** **)** const
|
||||
* void **[connect](#connect)** **(** [String](class_string) signal, [Object](class_object) target, [String](class_string) method, [Array](class_array) binds=Array(), [int](class_int) flags=0 **)**
|
||||
* [int](class_int) **[connect](#connect)** **(** [String](class_string) signal, [Object](class_object) target, [String](class_string) method, [Array](class_array) binds=Array(), [int](class_int) flags=0 **)**
|
||||
* void **[disconnect](#disconnect)** **(** [String](class_string) signal, [Object](class_object) target, [String](class_string) method **)**
|
||||
* [bool](class_bool) **[is_connected](#is_connected)** **(** [String](class_string) signal, [Object](class_object) target, [String](class_string) method **)** const
|
||||
* void **[set_block_signals](#set_block_signals)** **(** [bool](class_bool) enable **)**
|
||||
@@ -170,7 +171,7 @@ Create and store a function in the object. The call will take place on idle time
|
||||
Return the list of signals as an array of dictionaries.
|
||||
|
||||
#### <a name="connect">connect</a>
|
||||
* void **connect** **(** [String](class_string) signal, [Object](class_object) target, [String](class_string) method, [Array](class_array) binds=Array(), [int](class_int) flags=0 **)**
|
||||
* [int](class_int) **connect** **(** [String](class_string) signal, [Object](class_object) target, [String](class_string) method, [Array](class_array) binds=Array(), [int](class_int) flags=0 **)**
|
||||
|
||||
Connect a signal to a method at a target (member function). Binds are optional and are passed as extra arguments to the call. Flags specify optional deferred or one shot connections, see enum CONNECT_*.
|
||||
A signal can only be connected once to a method, and it will throw an error if already connected. If you want to avoid this, use [is_connected](#is_connected) to check.
|
||||
|
||||
@@ -17,12 +17,14 @@ Operating System functions.
|
||||
* [int](class_int) **[get_iterations_per_second](#get_iterations_per_second)** **(** **)** const
|
||||
* void **[set_target_fps](#set_target_fps)** **(** [int](class_int) target_fps **)**
|
||||
* [float](class_float) **[get_target_fps](#get_target_fps)** **(** **)** const
|
||||
* void **[set_time_scale](#set_time_scale)** **(** [float](class_float) time_scale **)**
|
||||
* [float](class_float) **[get_time_scale](#get_time_scale)** **(** **)**
|
||||
* [bool](class_bool) **[has_touchscreen_ui_hint](#has_touchscreen_ui_hint)** **(** **)** const
|
||||
* void **[set_low_processor_usage_mode](#set_low_processor_usage_mode)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[is_in_low_processor_usage_mode](#is_in_low_processor_usage_mode)** **(** **)** const
|
||||
* [int](class_int) **[get_processor_count](#get_processor_count)** **(** **)** const
|
||||
* [String](class_string) **[get_executable_path](#get_executable_path)** **(** **)** const
|
||||
* [int](class_int) **[execute](#execute)** **(** [String](class_string) path, [StringArray](class_stringarray) arguments, [bool](class_bool) blocking **)**
|
||||
* [int](class_int) **[execute](#execute)** **(** [String](class_string) path, [StringArray](class_stringarray) arguments, [bool](class_bool) blocking, [Array](class_array) output=Array() **)**
|
||||
* [int](class_int) **[kill](#kill)** **(** [int](class_int) pid **)**
|
||||
* [int](class_int) **[shell_open](#shell_open)** **(** [String](class_string) uri **)**
|
||||
* [int](class_int) **[get_process_ID](#get_process_ID)** **(** **)** const
|
||||
@@ -61,6 +63,7 @@ Operating System functions.
|
||||
* [bool](class_bool) **[native_video_is_playing](#native_video_is_playing)** **(** **)**
|
||||
* void **[native_video_stop](#native_video_stop)** **(** **)**
|
||||
* void **[native_video_pause](#native_video_pause)** **(** **)**
|
||||
* void **[set_use_file_access_save_and_swap](#set_use_file_access_save_and_swap)** **(** [bool](class_bool) enabled **)**
|
||||
|
||||
### Numeric Constants
|
||||
* **DAY_SUNDAY** = **0**
|
||||
@@ -159,7 +162,7 @@ Return true if low cpu usage mode is enabled.
|
||||
Return the path tot he current engine executable.
|
||||
|
||||
#### <a name="execute">execute</a>
|
||||
* [int](class_int) **execute** **(** [String](class_string) path, [StringArray](class_stringarray) arguments, [bool](class_bool) blocking **)**
|
||||
* [int](class_int) **execute** **(** [String](class_string) path, [StringArray](class_stringarray) arguments, [bool](class_bool) blocking, [Array](class_array) output=Array() **)**
|
||||
|
||||
Execute the binary file in given path, optionally blocking until it returns. A process ID is returned.
|
||||
|
||||
|
||||
@@ -57,10 +57,10 @@
|
||||
* **PARAM_GRAVITY_STRENGTH** = **6**
|
||||
* **PARAM_RADIAL_ACCEL** = **7**
|
||||
* **PARAM_TANGENTIAL_ACCEL** = **8**
|
||||
* **PARAM_INITIAL_SIZE** = **10**
|
||||
* **PARAM_FINAL_SIZE** = **11**
|
||||
* **PARAM_HUE_VARIATION** = **12**
|
||||
* **PARAM_MAX** = **13**
|
||||
* **PARAM_INITIAL_SIZE** = **11**
|
||||
* **PARAM_FINAL_SIZE** = **12**
|
||||
* **PARAM_HUE_VARIATION** = **13**
|
||||
* **PARAM_MAX** = **14**
|
||||
* **MAX_COLOR_PHASES** = **4**
|
||||
|
||||
### Member Function Description
|
||||
|
||||
24
class_pathfollow2d.md
Normal file
24
class_pathfollow2d.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# PathFollow2D
|
||||
####**Inherits:** [Node2D](class_node2d)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_offset](#set_offset)** **(** [float](class_float) offset **)**
|
||||
* [float](class_float) **[get_offset](#get_offset)** **(** **)** const
|
||||
* void **[set_h_offset](#set_h_offset)** **(** [float](class_float) h_offset **)**
|
||||
* [float](class_float) **[get_h_offset](#get_h_offset)** **(** **)** const
|
||||
* void **[set_v_offset](#set_v_offset)** **(** [float](class_float) v_offset **)**
|
||||
* [float](class_float) **[get_v_offset](#get_v_offset)** **(** **)** const
|
||||
* void **[set_unit_offset](#set_unit_offset)** **(** [float](class_float) unit_offset **)**
|
||||
* [float](class_float) **[get_unit_offset](#get_unit_offset)** **(** **)** const
|
||||
* void **[set_rotate](#set_rotate)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[is_rotating](#is_rotating)** **(** **)** const
|
||||
* void **[set_cubic_interpolation](#set_cubic_interpolation)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[get_cubic_interpolation](#get_cubic_interpolation)** **(** **)** const
|
||||
* void **[set_loop](#set_loop)** **(** [bool](class_bool) loop **)**
|
||||
* [bool](class_bool) **[has_loop](#has_loop)** **(** **)** const
|
||||
|
||||
### Member Function Description
|
||||
13
class_pckpacker.md
Normal file
13
class_pckpacker.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# PCKPacker
|
||||
####**Inherits:** [Object](class_object)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* [int](class_int) **[pck_start](#pck_start)** **(** [String](class_string) pck_name, [int](class_int) alignment **)**
|
||||
* [int](class_int) **[add_file](#add_file)** **(** [String](class_string) pck_path, [String](class_string) source_path **)**
|
||||
* [int](class_int) **[flush](#flush)** **(** [bool](class_bool) arg0 **)**
|
||||
|
||||
### Member Function Description
|
||||
@@ -30,6 +30,12 @@
|
||||
* **RENDER_VIDEO_MEM_USED** = **17**
|
||||
* **RENDER_TEXTURE_MEM_USED** = **18**
|
||||
* **RENDER_VERTEX_MEM_USED** = **19**
|
||||
* **MONITOR_MAX** = **21**
|
||||
* **PHYSICS_2D_ACTIVE_OBJECTS** = **21**
|
||||
* **PHYSICS_2D_COLLISION_PAIRS** = **22**
|
||||
* **PHYSICS_2D_ISLAND_COUNT** = **23**
|
||||
* **PHYSICS_3D_ACTIVE_OBJECTS** = **24**
|
||||
* **PHYSICS_3D_COLLISION_PAIRS** = **25**
|
||||
* **PHYSICS_3D_ISLAND_COUNT** = **26**
|
||||
* **MONITOR_MAX** = **27**
|
||||
|
||||
### Member Function Description
|
||||
|
||||
@@ -6,9 +6,19 @@
|
||||
Direct access object to a space in the [Physics2DServer](class_physics2dserver).
|
||||
|
||||
### Member Functions
|
||||
* void **[intersect_ray](#intersect_ray)** **(** [Vector2](class_vector2) from, [Vector2](class_vector2) to, [Array](class_array) exclude=Array(), [int](class_int) umask=0 **)**
|
||||
* void **[intersect_shape](#intersect_shape)** **(** [RID](class_rid) shape, [Matrix32](class_matrix32) xform, [int](class_int) result_max, [Array](class_array) exclude=Array(), [int](class_int) umask=0 **)**
|
||||
* void **[cast_motion](#cast_motion)** **(** [RID](class_rid) shape, [Matrix32](class_matrix32) xform, [int](class_int) motion, [Array](class_array) exclude=Array(), [int](class_int) umask=0 **)**
|
||||
* [Dictionary](class_dictionary) **[intersect_ray](#intersect_ray)** **(** [Vector2](class_vector2) from, [Vector2](class_vector2) to, [Array](class_array) exclude=Array(), [int](class_int) layer_mask=2147483647, [int](class_int) type_mask=15 **)**
|
||||
* [Array](class_array) **[intersect_shape](#intersect_shape)** **(** [Physics2DShapeQueryParameters](class_physics2dshapequeryparameters) shape, [int](class_int) max_results=32 **)**
|
||||
* [Array](class_array) **[cast_motion](#cast_motion)** **(** [Physics2DShapeQueryParameters](class_physics2dshapequeryparameters) shape **)**
|
||||
* [Array](class_array) **[collide_shape](#collide_shape)** **(** [Physics2DShapeQueryParameters](class_physics2dshapequeryparameters) shape, [int](class_int) max_results=32 **)**
|
||||
* [Dictionary](class_dictionary) **[get_rest_info](#get_rest_info)** **(** [Physics2DShapeQueryParameters](class_physics2dshapequeryparameters) shape **)**
|
||||
|
||||
### Numeric Constants
|
||||
* **TYPE_MASK_STATIC_BODY** = **1**
|
||||
* **TYPE_MASK_KINEMATIC_BODY** = **2**
|
||||
* **TYPE_MASK_RIGID_BODY** = **4**
|
||||
* **TYPE_MASK_CHARACTER_BODY** = **8**
|
||||
* **TYPE_MASK_AREA** = **16**
|
||||
* **TYPE_MASK_COLLISION** = **15**
|
||||
|
||||
### Description
|
||||
Direct access object to a space in the [Physics2DServer](class_physics2dserver). It's used mainly to do queries against objects and areas residing in a given space.
|
||||
@@ -16,7 +26,7 @@ Direct access object to a space in the [Physics2DServer](class_physics2dserver).
|
||||
### Member Function Description
|
||||
|
||||
#### <a name="intersect_ray">intersect_ray</a>
|
||||
* void **intersect_ray** **(** [Vector2](class_vector2) from, [Vector2](class_vector2) to, [Array](class_array) exclude=Array(), [int](class_int) umask=0 **)**
|
||||
* [Dictionary](class_dictionary) **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 **)**
|
||||
|
||||
Intersect a ray in a given space, the returned object is a dictionary with the following fields:
|
||||
|
||||
@@ -37,6 +47,6 @@ Intersect a ray in a given space, the returned object is a dictionary with the f
|
||||
If the ray did not intersect anything, then null is returned instead of a [Dictionary](class_dictionary).
|
||||
|
||||
#### <a name="intersect_shape">intersect_shape</a>
|
||||
* void **intersect_shape** **(** [RID](class_rid) shape, [Matrix32](class_matrix32) xform, [int](class_int) result_max, [Array](class_array) exclude=Array(), [int](class_int) umask=0 **)**
|
||||
* [Array](class_array) **intersect_shape** **(** [Physics2DShapeQueryParameters](class_physics2dshapequeryparameters) shape, [int](class_int) max_results=32 **)**
|
||||
|
||||
Intersect a given shape (RID or [Shape2D](class_shape2d)) against the space, the intersected shapes are returned in a special result object.
|
||||
|
||||
@@ -82,6 +82,7 @@ Physics 2D Server.
|
||||
* [int](class_int) **[joint_get_type](#joint_get_type)** **(** [RID](class_rid) joint **)** const
|
||||
* void **[free](#free)** **(** [RID](class_rid) rid **)**
|
||||
* void **[set_active](#set_active)** **(** [bool](class_bool) active **)**
|
||||
* [int](class_int) **[get_process_info](#get_process_info)** **(** [int](class_int) arg0 **)**
|
||||
|
||||
### Numeric Constants
|
||||
* **SHAPE_LINE** = **0**
|
||||
@@ -125,6 +126,9 @@ Physics 2D Server.
|
||||
* **CCD_MODE_CAST_SHAPE** = **2**
|
||||
* **AREA_BODY_ADDED** = **0**
|
||||
* **AREA_BODY_REMOVED** = **1**
|
||||
* **INFO_ACTIVE_OBJECTS** = **0**
|
||||
* **INFO_COLLISION_PAIRS** = **1**
|
||||
* **INFO_ISLAND_COUNT** = **2**
|
||||
|
||||
### Description
|
||||
Physics 2D Server is the server responsible for all 2D physics.
|
||||
|
||||
25
class_physics2dshapequeryparameters.md
Normal file
25
class_physics2dshapequeryparameters.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# Physics2DShapeQueryParameters
|
||||
####**Inherits:** [Reference](class_reference)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_shape](#set_shape)** **(** [Shape2D](class_shape2d) shape **)**
|
||||
* void **[set_shape_rid](#set_shape_rid)** **(** [RID](class_rid) shape **)**
|
||||
* [RID](class_rid) **[get_shape_rid](#get_shape_rid)** **(** **)** const
|
||||
* void **[set_transform](#set_transform)** **(** [Matrix32](class_matrix32) transform **)**
|
||||
* [Matrix32](class_matrix32) **[get_transform](#get_transform)** **(** **)** const
|
||||
* void **[set_motion](#set_motion)** **(** [Vector2](class_vector2) motion **)**
|
||||
* [Vector2](class_vector2) **[get_motion](#get_motion)** **(** **)** const
|
||||
* void **[set_margin](#set_margin)** **(** [float](class_float) margin **)**
|
||||
* [float](class_float) **[get_margin](#get_margin)** **(** **)** const
|
||||
* void **[set_layer_mask](#set_layer_mask)** **(** [int](class_int) layer_mask **)**
|
||||
* [int](class_int) **[get_layer_mask](#get_layer_mask)** **(** **)** const
|
||||
* void **[set_object_type_mask](#set_object_type_mask)** **(** [int](class_int) object_type_mask **)**
|
||||
* [int](class_int) **[get_object_type_mask](#get_object_type_mask)** **(** **)** const
|
||||
* void **[set_exclude](#set_exclude)** **(** [Array](class_array) exclude **)**
|
||||
* [Array](class_array) **[get_exclude](#get_exclude)** **(** **)** const
|
||||
|
||||
### Member Function Description
|
||||
@@ -5,5 +5,13 @@
|
||||
### Brief Description
|
||||
Base class for differnt types of Physics bodies.
|
||||
|
||||
### Member Functions
|
||||
* void **[set_layer_mask](#set_layer_mask)** **(** [int](class_int) mask **)**
|
||||
* [int](class_int) **[get_layer_mask](#get_layer_mask)** **(** **)** const
|
||||
* void **[add_collision_exception_with](#add_collision_exception_with)** **(** [PhysicsBody](class_physicsbody) body **)**
|
||||
* void **[remove_collision_exception_with](#remove_collision_exception_with)** **(** [PhysicsBody](class_physicsbody) body **)**
|
||||
|
||||
### Description
|
||||
PhysicsBody is an abstract base class for implementing a physics body. All PhysicsBody types inherit from it.
|
||||
|
||||
### Member Function Description
|
||||
|
||||
@@ -8,5 +8,7 @@
|
||||
### Member Functions
|
||||
* void **[set_layer_mask](#set_layer_mask)** **(** [int](class_int) mask **)**
|
||||
* [int](class_int) **[get_layer_mask](#get_layer_mask)** **(** **)** const
|
||||
* void **[add_collision_exception_with](#add_collision_exception_with)** **(** [PhysicsBody2D](class_physicsbody2d) body **)**
|
||||
* void **[remove_collision_exception_with](#remove_collision_exception_with)** **(** [PhysicsBody2D](class_physicsbody2d) body **)**
|
||||
|
||||
### Member Function Description
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
* void **[set_transform](#set_transform)** **(** [Transform](class_transform) transform **)**
|
||||
* [Transform](class_transform) **[get_transform](#get_transform)** **(** **)** const
|
||||
* void **[add_force](#add_force)** **(** [Vector3](class_vector3) force, [Vector3](class_vector3) pos **)**
|
||||
* void **[apply_impulse](#apply_impulse)** **(** [Vector3](class_vector3) pos, [Vector3](class_vector3) j **)**
|
||||
* void **[set_sleep_state](#set_sleep_state)** **(** [bool](class_bool) enabled **)**
|
||||
* [bool](class_bool) **[is_sleeping](#is_sleeping)** **(** **)** const
|
||||
* [int](class_int) **[get_contact_count](#get_contact_count)** **(** **)** const
|
||||
|
||||
@@ -6,7 +6,18 @@
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[intersect_ray](#intersect_ray)** **(** [Vector3](class_vector3) from, [Vector3](class_vector3) to, [Array](class_array) exclude=Array(), [int](class_int) umask=0 **)**
|
||||
* void **[intersect_shape](#intersect_shape)** **(** [RID](class_rid) shape, [Transform](class_transform) xform, [int](class_int) result_max, [Array](class_array) exclude=Array(), [int](class_int) umask=0 **)**
|
||||
* [Dictionary](class_dictionary) **[intersect_ray](#intersect_ray)** **(** [Vector3](class_vector3) from, [Vector3](class_vector3) 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)** **(** [PhysicsShapeQueryParameters](class_physicsshapequeryparameters) shape, [int](class_int) max_results=32 **)**
|
||||
* [Array](class_array) **[cast_motion](#cast_motion)** **(** [PhysicsShapeQueryParameters](class_physicsshapequeryparameters) shape, [Vector3](class_vector3) motion **)**
|
||||
* [Array](class_array) **[collide_shape](#collide_shape)** **(** [PhysicsShapeQueryParameters](class_physicsshapequeryparameters) shape, [int](class_int) max_results=32 **)**
|
||||
* [Dictionary](class_dictionary) **[get_rest_info](#get_rest_info)** **(** [PhysicsShapeQueryParameters](class_physicsshapequeryparameters) shape **)**
|
||||
|
||||
### Numeric Constants
|
||||
* **TYPE_MASK_STATIC_BODY** = **1**
|
||||
* **TYPE_MASK_KINEMATIC_BODY** = **2**
|
||||
* **TYPE_MASK_RIGID_BODY** = **4**
|
||||
* **TYPE_MASK_CHARACTER_BODY** = **8**
|
||||
* **TYPE_MASK_AREA** = **16**
|
||||
* **TYPE_MASK_COLLISION** = **15**
|
||||
|
||||
### Member Function Description
|
||||
|
||||
@@ -36,6 +36,8 @@
|
||||
* void **[area_attach_object_instance_ID](#area_attach_object_instance_ID)** **(** [RID](class_rid) area, [int](class_int) id **)**
|
||||
* [int](class_int) **[area_get_object_instance_ID](#area_get_object_instance_ID)** **(** [RID](class_rid) area **)** const
|
||||
* void **[area_set_monitor_callback](#area_set_monitor_callback)** **(** [RID](class_rid) receiver, [Object](class_object) method, [String](class_string) arg2 **)**
|
||||
* void **[area_set_ray_pickable](#area_set_ray_pickable)** **(** [RID](class_rid) area, [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[area_is_ray_pickable](#area_is_ray_pickable)** **(** [RID](class_rid) area **)** const
|
||||
* [RID](class_rid) **[body_create](#body_create)** **(** [int](class_int) mode=2, [bool](class_bool) init_sleeping=false **)**
|
||||
* void **[body_set_space](#body_set_space)** **(** [RID](class_rid) body, [RID](class_rid) space **)**
|
||||
* [RID](class_rid) **[body_get_space](#body_get_space)** **(** [RID](class_rid) body **)** const
|
||||
@@ -55,7 +57,6 @@
|
||||
* [bool](class_bool) **[body_is_continuous_collision_detection_enabled](#body_is_continuous_collision_detection_enabled)** **(** [RID](class_rid) body **)** const
|
||||
* void **[body_set_param](#body_set_param)** **(** [RID](class_rid) body, [int](class_int) param, [float](class_float) value **)**
|
||||
* [float](class_float) **[body_get_param](#body_get_param)** **(** [RID](class_rid) body, [int](class_int) param **)** const
|
||||
* void **[body_static_simulate_motion](#body_static_simulate_motion)** **(** [RID](class_rid) body, [Transform](class_transform) new_xform **)**
|
||||
* void **[body_set_state](#body_set_state)** **(** [RID](class_rid) body, [int](class_int) state, var value **)**
|
||||
* void **[body_get_state](#body_get_state)** **(** [RID](class_rid) body, [int](class_int) state **)** const
|
||||
* void **[body_apply_impulse](#body_apply_impulse)** **(** [RID](class_rid) body, [Vector3](class_vector3) pos, [Vector3](class_vector3) impulse **)**
|
||||
@@ -69,10 +70,102 @@
|
||||
* void **[body_set_omit_force_integration](#body_set_omit_force_integration)** **(** [RID](class_rid) body, [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[body_is_omitting_force_integration](#body_is_omitting_force_integration)** **(** [RID](class_rid) body **)** const
|
||||
* void **[body_set_force_integration_callback](#body_set_force_integration_callback)** **(** [RID](class_rid) body, [Object](class_object) receiver, [String](class_string) method, var userdata=NULL **)**
|
||||
* void **[body_set_ray_pickable](#body_set_ray_pickable)** **(** [RID](class_rid) body, [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[body_is_ray_pickable](#body_is_ray_pickable)** **(** [RID](class_rid) body **)** const
|
||||
* [RID](class_rid) **[joint_create_pin](#joint_create_pin)** **(** [RID](class_rid) body_A, [Vector3](class_vector3) local_A, [RID](class_rid) body_B, [Vector3](class_vector3) local_B **)**
|
||||
* void **[pin_joint_set_param](#pin_joint_set_param)** **(** [RID](class_rid) joint, [int](class_int) param, [float](class_float) value **)**
|
||||
* [float](class_float) **[pin_joint_get_param](#pin_joint_get_param)** **(** [RID](class_rid) joint, [int](class_int) param **)** const
|
||||
* void **[pin_joint_set_local_A](#pin_joint_set_local_A)** **(** [RID](class_rid) joint, [Vector3](class_vector3) local_A **)**
|
||||
* [Vector3](class_vector3) **[pin_joint_get_local_A](#pin_joint_get_local_A)** **(** [RID](class_rid) joint **)** const
|
||||
* void **[pin_joint_set_local_B](#pin_joint_set_local_B)** **(** [RID](class_rid) joint, [Vector3](class_vector3) local_B **)**
|
||||
* [Vector3](class_vector3) **[pin_joint_get_local_B](#pin_joint_get_local_B)** **(** [RID](class_rid) joint **)** const
|
||||
* [RID](class_rid) **[joint_create_hinge](#joint_create_hinge)** **(** [RID](class_rid) body_A, [Transform](class_transform) hinge_A, [RID](class_rid) body_B, [Transform](class_transform) hinge_B **)**
|
||||
* void **[hinge_joint_set_param](#hinge_joint_set_param)** **(** [RID](class_rid) joint, [int](class_int) param, [float](class_float) value **)**
|
||||
* [float](class_float) **[hinge_joint_get_param](#hinge_joint_get_param)** **(** [RID](class_rid) joint, [int](class_int) param **)** const
|
||||
* void **[hinge_joint_set_flag](#hinge_joint_set_flag)** **(** [RID](class_rid) joint, [int](class_int) flag, [bool](class_bool) enabled **)**
|
||||
* [bool](class_bool) **[hinge_joint_get_flag](#hinge_joint_get_flag)** **(** [RID](class_rid) joint, [int](class_int) flag **)** const
|
||||
* [RID](class_rid) **[joint_create_slider](#joint_create_slider)** **(** [RID](class_rid) body_A, [Transform](class_transform) local_ref_A, [RID](class_rid) body_B, [Transform](class_transform) local_ref_B **)**
|
||||
* void **[slider_joint_set_param](#slider_joint_set_param)** **(** [RID](class_rid) joint, [int](class_int) param, [float](class_float) value **)**
|
||||
* [float](class_float) **[slider_joint_get_param](#slider_joint_get_param)** **(** [RID](class_rid) joint, [int](class_int) param **)** const
|
||||
* [RID](class_rid) **[joint_create_cone_twist](#joint_create_cone_twist)** **(** [RID](class_rid) body_A, [Transform](class_transform) local_ref_A, [RID](class_rid) body_B, [Transform](class_transform) local_ref_B **)**
|
||||
* void **[cone_twist_joint_set_param](#cone_twist_joint_set_param)** **(** [RID](class_rid) joint, [int](class_int) param, [float](class_float) value **)**
|
||||
* [float](class_float) **[cone_twist_joint_get_param](#cone_twist_joint_get_param)** **(** [RID](class_rid) joint, [int](class_int) param **)** const
|
||||
* [int](class_int) **[joint_get_type](#joint_get_type)** **(** [RID](class_rid) joint **)** const
|
||||
* void **[joint_set_solver_priority](#joint_set_solver_priority)** **(** [RID](class_rid) joint, [int](class_int) priority **)**
|
||||
* [int](class_int) **[joint_get_solver_priority](#joint_get_solver_priority)** **(** [RID](class_rid) joint **)** const
|
||||
* [RID](class_rid) **[joint_create_generic_6dof](#joint_create_generic_6dof)** **(** [RID](class_rid) body_A, [Transform](class_transform) local_ref_A, [RID](class_rid) body_B, [Transform](class_transform) local_ref_B **)**
|
||||
* void **[generic_6dof_joint_set_param](#generic_6dof_joint_set_param)** **(** [RID](class_rid) joint, [int](class_int) axis, [int](class_int) param, [float](class_float) value **)**
|
||||
* [float](class_float) **[generic_6dof_joint_get_param](#generic_6dof_joint_get_param)** **(** [RID](class_rid) joint, [int](class_int) axis, [int](class_int) param **)**
|
||||
* void **[generic_6dof_joint_set_flag](#generic_6dof_joint_set_flag)** **(** [RID](class_rid) joint, [int](class_int) axis, [int](class_int) flag, [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[generic_6dof_joint_get_flag](#generic_6dof_joint_get_flag)** **(** [RID](class_rid) joint, [int](class_int) axis, [int](class_int) flag **)**
|
||||
* void **[free](#free)** **(** [RID](class_rid) rid **)**
|
||||
* void **[set_active](#set_active)** **(** [bool](class_bool) active **)**
|
||||
* [int](class_int) **[get_process_info](#get_process_info)** **(** [int](class_int) arg0 **)**
|
||||
|
||||
### Numeric Constants
|
||||
* **JOINT_PIN** = **0**
|
||||
* **JOINT_HINGE** = **1**
|
||||
* **JOINT_SLIDER** = **2**
|
||||
* **JOINT_CONE_TWIST** = **3**
|
||||
* **JOINT_6DOF** = **4**
|
||||
* **PIN_JOINT_BIAS** = **0**
|
||||
* **PIN_JOINT_DAMPING** = **1**
|
||||
* **PIN_JOINT_IMPULSE_CLAMP** = **2**
|
||||
* **HINGE_JOINT_BIAS** = **0**
|
||||
* **HINGE_JOINT_LIMIT_UPPER** = **1**
|
||||
* **HINGE_JOINT_LIMIT_LOWER** = **2**
|
||||
* **HINGE_JOINT_LIMIT_BIAS** = **3**
|
||||
* **HINGE_JOINT_LIMIT_SOFTNESS** = **4**
|
||||
* **HINGE_JOINT_LIMIT_RELAXATION** = **5**
|
||||
* **HINGE_JOINT_MOTOR_TARGET_VELOCITY** = **6**
|
||||
* **HINGE_JOINT_MOTOR_MAX_IMPULSE** = **7**
|
||||
* **HINGE_JOINT_FLAG_USE_LIMIT** = **0**
|
||||
* **HINGE_JOINT_FLAG_ENABLE_MOTOR** = **1**
|
||||
* **SLIDER_JOINT_LINEAR_LIMIT_UPPER** = **0**
|
||||
* **SLIDER_JOINT_LINEAR_LIMIT_LOWER** = **1**
|
||||
* **SLIDER_JOINT_LINEAR_LIMIT_SOFTNESS** = **2**
|
||||
* **SLIDER_JOINT_LINEAR_LIMIT_RESTITUTION** = **3**
|
||||
* **SLIDER_JOINT_LINEAR_LIMIT_DAMPING** = **4**
|
||||
* **SLIDER_JOINT_LINEAR_MOTION_SOFTNESS** = **5**
|
||||
* **SLIDER_JOINT_LINEAR_MOTION_RESTITUTION** = **6**
|
||||
* **SLIDER_JOINT_LINEAR_MOTION_DAMPING** = **7**
|
||||
* **SLIDER_JOINT_LINEAR_ORTHOGONAL_SOFTNESS** = **8**
|
||||
* **SLIDER_JOINT_LINEAR_ORTHOGONAL_RESTITUTION** = **9**
|
||||
* **SLIDER_JOINT_LINEAR_ORTHOGONAL_DAMPING** = **10**
|
||||
* **SLIDER_JOINT_ANGULAR_LIMIT_UPPER** = **11**
|
||||
* **SLIDER_JOINT_ANGULAR_LIMIT_LOWER** = **12**
|
||||
* **SLIDER_JOINT_ANGULAR_LIMIT_SOFTNESS** = **13**
|
||||
* **SLIDER_JOINT_ANGULAR_LIMIT_RESTITUTION** = **14**
|
||||
* **SLIDER_JOINT_ANGULAR_LIMIT_DAMPING** = **15**
|
||||
* **SLIDER_JOINT_ANGULAR_MOTION_SOFTNESS** = **16**
|
||||
* **SLIDER_JOINT_ANGULAR_MOTION_RESTITUTION** = **17**
|
||||
* **SLIDER_JOINT_ANGULAR_MOTION_DAMPING** = **18**
|
||||
* **SLIDER_JOINT_ANGULAR_ORTHOGONAL_SOFTNESS** = **19**
|
||||
* **SLIDER_JOINT_ANGULAR_ORTHOGONAL_RESTITUTION** = **20**
|
||||
* **SLIDER_JOINT_ANGULAR_ORTHOGONAL_DAMPING** = **21**
|
||||
* **SLIDER_JOINT_MAX** = **22**
|
||||
* **CONE_TWIST_JOINT_SWING_SPAN** = **0**
|
||||
* **CONE_TWIST_JOINT_TWIST_SPAN** = **1**
|
||||
* **CONE_TWIST_JOINT_BIAS** = **2**
|
||||
* **CONE_TWIST_JOINT_SOFTNESS** = **3**
|
||||
* **CONE_TWIST_JOINT_RELAXATION** = **4**
|
||||
* **G6DOF_JOINT_LINEAR_LOWER_LIMIT** = **0**
|
||||
* **G6DOF_JOINT_LINEAR_UPPER_LIMIT** = **1**
|
||||
* **G6DOF_JOINT_LINEAR_LIMIT_SOFTNESS** = **2**
|
||||
* **G6DOF_JOINT_LINEAR_RESTITUTION** = **3**
|
||||
* **G6DOF_JOINT_LINEAR_DAMPING** = **4**
|
||||
* **G6DOF_JOINT_ANGULAR_LOWER_LIMIT** = **5**
|
||||
* **G6DOF_JOINT_ANGULAR_UPPER_LIMIT** = **6**
|
||||
* **G6DOF_JOINT_ANGULAR_LIMIT_SOFTNESS** = **7**
|
||||
* **G6DOF_JOINT_ANGULAR_DAMPING** = **8**
|
||||
* **G6DOF_JOINT_ANGULAR_RESTITUTION** = **9**
|
||||
* **G6DOF_JOINT_ANGULAR_FORCE_LIMIT** = **10**
|
||||
* **G6DOF_JOINT_ANGULAR_ERP** = **11**
|
||||
* **G6DOF_JOINT_ANGULAR_MOTOR_TARGET_VELOCITY** = **12**
|
||||
* **G6DOF_JOINT_ANGULAR_MOTOR_FORCE_LIMIT** = **13**
|
||||
* **G6DOF_JOINT_FLAG_ENABLE_LINEAR_LIMIT** = **0**
|
||||
* **G6DOF_JOINT_FLAG_ENABLE_ANGULAR_LIMIT** = **1**
|
||||
* **G6DOF_JOINT_FLAG_ENABLE_MOTOR** = **2**
|
||||
* **SHAPE_PLANE** = **0**
|
||||
* **SHAPE_RAY** = **1**
|
||||
* **SHAPE_SPHERE** = **2**
|
||||
@@ -106,5 +199,8 @@
|
||||
* **BODY_STATE_CAN_SLEEP** = **4**
|
||||
* **AREA_BODY_ADDED** = **0**
|
||||
* **AREA_BODY_REMOVED** = **1**
|
||||
* **INFO_ACTIVE_OBJECTS** = **0**
|
||||
* **INFO_COLLISION_PAIRS** = **1**
|
||||
* **INFO_ISLAND_COUNT** = **2**
|
||||
|
||||
### Member Function Description
|
||||
|
||||
23
class_physicsshapequeryparameters.md
Normal file
23
class_physicsshapequeryparameters.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# PhysicsShapeQueryParameters
|
||||
####**Inherits:** [Reference](class_reference)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_shape](#set_shape)** **(** [Shape](class_shape) shape **)**
|
||||
* void **[set_shape_rid](#set_shape_rid)** **(** [RID](class_rid) shape **)**
|
||||
* [RID](class_rid) **[get_shape_rid](#get_shape_rid)** **(** **)** const
|
||||
* void **[set_transform](#set_transform)** **(** [Transform](class_transform) transform **)**
|
||||
* [Transform](class_transform) **[get_transform](#get_transform)** **(** **)** const
|
||||
* void **[set_margin](#set_margin)** **(** [float](class_float) margin **)**
|
||||
* [float](class_float) **[get_margin](#get_margin)** **(** **)** const
|
||||
* void **[set_layer_mask](#set_layer_mask)** **(** [int](class_int) layer_mask **)**
|
||||
* [int](class_int) **[get_layer_mask](#get_layer_mask)** **(** **)** const
|
||||
* void **[set_object_type_mask](#set_object_type_mask)** **(** [int](class_int) object_type_mask **)**
|
||||
* [int](class_int) **[get_object_type_mask](#get_object_type_mask)** **(** **)** const
|
||||
* void **[set_exclude](#set_exclude)** **(** [Array](class_array) exclude **)**
|
||||
* [Array](class_array) **[get_exclude](#get_exclude)** **(** **)** const
|
||||
|
||||
### Member Function Description
|
||||
17
class_pinjoint.md
Normal file
17
class_pinjoint.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# PinJoint
|
||||
####**Inherits:** [Joint](class_joint)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_param](#set_param)** **(** [int](class_int) param, [float](class_float) value **)**
|
||||
* [float](class_float) **[get_param](#get_param)** **(** [int](class_int) param **)** const
|
||||
|
||||
### Numeric Constants
|
||||
* **PARAM_BIAS** = **0**
|
||||
* **PARAM_DAMPING** = **1**
|
||||
* **PARAM_IMPULSE_CLAMP** = **2**
|
||||
|
||||
### Member Function Description
|
||||
32
class_polygon2d.md
Normal file
32
class_polygon2d.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# Polygon2D
|
||||
####**Inherits:** [Node2D](class_node2d)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_polygon](#set_polygon)** **(** [Vector2Array](class_vector2array) polygon **)**
|
||||
* [Vector2Array](class_vector2array) **[get_polygon](#get_polygon)** **(** **)** const
|
||||
* void **[set_uv](#set_uv)** **(** [Vector2Array](class_vector2array) uv **)**
|
||||
* [Vector2Array](class_vector2array) **[get_uv](#get_uv)** **(** **)** const
|
||||
* void **[set_color](#set_color)** **(** [Color](class_color) color **)**
|
||||
* [Color](class_color) **[get_color](#get_color)** **(** **)** 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_texture_rotation](#set_texture_rotation)** **(** [float](class_float) texture_rotation **)**
|
||||
* [float](class_float) **[get_texture_rotation](#get_texture_rotation)** **(** **)** const
|
||||
* void **[set_texture_scale](#set_texture_scale)** **(** [Vector2](class_vector2) texture_scale **)**
|
||||
* [Vector2](class_vector2) **[get_texture_scale](#get_texture_scale)** **(** **)** const
|
||||
* void **[set_texture_repeat](#set_texture_repeat)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[get_texture_repeat](#get_texture_repeat)** **(** **)** const
|
||||
* void **[set_invert](#set_invert)** **(** [bool](class_bool) invert **)**
|
||||
* [bool](class_bool) **[get_invert](#get_invert)** **(** **)** const
|
||||
* void **[set_invert_border](#set_invert_border)** **(** [float](class_float) invert_border **)**
|
||||
* [float](class_float) **[get_invert_border](#get_invert_border)** **(** **)** const
|
||||
* void **[set_offset](#set_offset)** **(** [Vector2](class_vector2) offset **)**
|
||||
* [Vector2](class_vector2) **[get_offset](#get_offset)** **(** **)** const
|
||||
|
||||
### Member Function Description
|
||||
@@ -11,6 +11,8 @@
|
||||
* [Vector2Array](class_vector2array) **[get_intersections](#get_intersections)** **(** [Vector2](class_vector2) from, [Vector2](class_vector2) to **)** const
|
||||
* [Vector2](class_vector2) **[get_closest_point](#get_closest_point)** **(** [Vector2](class_vector2) point **)** const
|
||||
* [bool](class_bool) **[is_point_inside](#is_point_inside)** **(** [Vector2](class_vector2) point **)** const
|
||||
* void **[set_point_penalty](#set_point_penalty)** **(** [int](class_int) idx, [float](class_float) penalty **)**
|
||||
* [float](class_float) **[get_point_penalty](#get_point_penalty)** **(** [int](class_int) idx **)** const
|
||||
* [Rect2](class_rect2) **[get_bounds](#get_bounds)** **(** **)** const
|
||||
|
||||
### Member Function Description
|
||||
|
||||
@@ -7,6 +7,7 @@ Base class for all resources.
|
||||
|
||||
### Member Functions
|
||||
* void **[set_path](#set_path)** **(** [String](class_string) path **)**
|
||||
* void **[take_over_path](#take_over_path)** **(** [String](class_string) path **)**
|
||||
* [String](class_string) **[get_path](#get_path)** **(** **)** const
|
||||
* void **[set_name](#set_name)** **(** [String](class_string) name **)**
|
||||
* [String](class_string) **[get_name](#get_name)** **(** **)** const
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
* [bool](class_bool) **[is_using_continuous_collision_detection](#is_using_continuous_collision_detection)** **(** **)** const
|
||||
* void **[set_axis_velocity](#set_axis_velocity)** **(** [Vector3](class_vector3) axis_velocity **)**
|
||||
* void **[apply_impulse](#apply_impulse)** **(** [Vector3](class_vector3) pos, [Vector3](class_vector3) impulse **)**
|
||||
* void **[set_active](#set_active)** **(** [bool](class_bool) active **)**
|
||||
* [bool](class_bool) **[is_active](#is_active)** **(** **)** const
|
||||
* void **[set_sleeping](#set_sleeping)** **(** [bool](class_bool) sleeping **)**
|
||||
* [bool](class_bool) **[is_sleeping](#is_sleeping)** **(** **)** const
|
||||
* void **[set_can_sleep](#set_can_sleep)** **(** [bool](class_bool) able_to_sleep **)**
|
||||
* [bool](class_bool) **[is_able_to_sleep](#is_able_to_sleep)** **(** **)** const
|
||||
* void **[set_axis_lock](#set_axis_lock)** **(** [int](class_int) axis_lock **)**
|
||||
|
||||
@@ -33,8 +33,8 @@ Rigid body 2D node.
|
||||
* void **[apply_impulse](#apply_impulse)** **(** [Vector2](class_vector2) pos, [Vector2](class_vector2) impulse **)**
|
||||
* void **[set_applied_force](#set_applied_force)** **(** [Vector2](class_vector2) force **)**
|
||||
* [Vector2](class_vector2) **[get_applied_force](#get_applied_force)** **(** **)** const
|
||||
* void **[set_active](#set_active)** **(** [bool](class_bool) active **)**
|
||||
* [bool](class_bool) **[is_active](#is_active)** **(** **)** const
|
||||
* void **[set_sleeping](#set_sleeping)** **(** [bool](class_bool) sleeping **)**
|
||||
* [bool](class_bool) **[is_sleeping](#is_sleeping)** **(** **)** const
|
||||
* void **[set_can_sleep](#set_can_sleep)** **(** [bool](class_bool) able_to_sleep **)**
|
||||
* [bool](class_bool) **[is_able_to_sleep](#is_able_to_sleep)** **(** **)** const
|
||||
|
||||
@@ -176,16 +176,6 @@ Set an axis velocity. The velocity in the given vector axis will be set as the g
|
||||
|
||||
Apply a positioned impulse (which will be affected by the body mass and shape).
|
||||
|
||||
#### <a name="set_active">set_active</a>
|
||||
* void **set_active** **(** [bool](class_bool) active **)**
|
||||
|
||||
Change the body state between sleeping/active states. As a note, static bodies can never be active.
|
||||
|
||||
#### <a name="is_active">is_active</a>
|
||||
* [bool](class_bool) **is_active** **(** **)** const
|
||||
|
||||
Return the body state. As a note, static bodies are never active.
|
||||
|
||||
#### <a name="set_can_sleep">set_can_sleep</a>
|
||||
* void **set_can_sleep** **(** [bool](class_bool) able_to_sleep **)**
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ Scene-Based implementation of the MainLoop.
|
||||
* void **[set_auto_accept_quit](#set_auto_accept_quit)** **(** [bool](class_bool) enabled **)**
|
||||
* void **[set_editor_hint](#set_editor_hint)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[is_editor_hint](#is_editor_hint)** **(** **)** const
|
||||
* void **[set_edited_scene_root](#set_edited_scene_root)** **(** [Object](class_object) scene **)**
|
||||
* [Object](class_object) **[get_edited_scene_root](#get_edited_scene_root)** **(** **)** const
|
||||
* void **[set_pause](#set_pause)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[is_paused](#is_paused)** **(** **)** const
|
||||
* void **[set_input_as_handled](#set_input_as_handled)** **(** **)**
|
||||
|
||||
@@ -8,9 +8,10 @@ To be changed, ignore.
|
||||
### Member Functions
|
||||
* void **[set_mode](#set_mode)** **(** [int](class_int) mode **)**
|
||||
* [int](class_int) **[get_mode](#get_mode)** **(** **)** const
|
||||
* void **[set_code](#set_code)** **(** [String](class_string) vcode, [String](class_string) fcode, [int](class_int) vofs=0, [int](class_int) fofs=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_fragment_code](#get_fragment_code)** **(** **)** const
|
||||
* [String](class_string) **[get_light_code](#get_light_code)** **(** **)** const
|
||||
* [bool](class_bool) **[has_param](#has_param)** **(** [String](class_string) name **)** const
|
||||
|
||||
### Numeric Constants
|
||||
|
||||
@@ -20,6 +20,7 @@ Skeleton for characters and animated objects.
|
||||
* void **[clear_bones](#clear_bones)** **(** **)**
|
||||
* [Transform](class_transform) **[get_bone_pose](#get_bone_pose)** **(** [int](class_int) bone_idx **)** const
|
||||
* void **[set_bone_pose](#set_bone_pose)** **(** [int](class_int) bone_idx, [Transform](class_transform) pose **)**
|
||||
* [Transform](class_transform) **[get_bone_global_pose](#get_bone_global_pose)** **(** [int](class_int) bone_idx **)** const
|
||||
* [Transform](class_transform) **[get_bone_custom_pose](#get_bone_custom_pose)** **(** [int](class_int) bone_idx **)** const
|
||||
* void **[set_bone_custom_pose](#set_bone_custom_pose)** **(** [int](class_int) bone_idx, [Transform](class_transform) custom_pose **)**
|
||||
* [Transform](class_transform) **[get_bone_transform](#get_bone_transform)** **(** [int](class_int) bone_idx **)** const
|
||||
|
||||
37
class_sliderjoint.md
Normal file
37
class_sliderjoint.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# SliderJoint
|
||||
####**Inherits:** [Joint](class_joint)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_param](#set_param)** **(** [int](class_int) param, [float](class_float) value **)**
|
||||
* [float](class_float) **[get_param](#get_param)** **(** [int](class_int) param **)** const
|
||||
|
||||
### Numeric Constants
|
||||
* **PARAM_LINEAR_LIMIT_UPPER** = **0**
|
||||
* **PARAM_LINEAR_LIMIT_LOWER** = **1**
|
||||
* **PARAM_LINEAR_LIMIT_SOFTNESS** = **2**
|
||||
* **PARAM_LINEAR_LIMIT_RESTITUTION** = **3**
|
||||
* **PARAM_LINEAR_LIMIT_DAMPING** = **4**
|
||||
* **PARAM_LINEAR_MOTION_SOFTNESS** = **5**
|
||||
* **PARAM_LINEAR_MOTION_RESTITUTION** = **6**
|
||||
* **PARAM_LINEAR_MOTION_DAMPING** = **7**
|
||||
* **PARAM_LINEAR_ORTHOGONAL_SOFTNESS** = **8**
|
||||
* **PARAM_LINEAR_ORTHOGONAL_RESTITUTION** = **9**
|
||||
* **PARAM_LINEAR_ORTHOGONAL_DAMPING** = **10**
|
||||
* **PARAM_ANGULAR_LIMIT_UPPER** = **11**
|
||||
* **PARAM_ANGULAR_LIMIT_LOWER** = **12**
|
||||
* **PARAM_ANGULAR_LIMIT_SOFTNESS** = **13**
|
||||
* **PARAM_ANGULAR_LIMIT_RESTITUTION** = **14**
|
||||
* **PARAM_ANGULAR_LIMIT_DAMPING** = **15**
|
||||
* **PARAM_ANGULAR_MOTION_SOFTNESS** = **16**
|
||||
* **PARAM_ANGULAR_MOTION_RESTITUTION** = **17**
|
||||
* **PARAM_ANGULAR_MOTION_DAMPING** = **18**
|
||||
* **PARAM_ANGULAR_ORTHOGONAL_SOFTNESS** = **19**
|
||||
* **PARAM_ANGULAR_ORTHOGONAL_RESTITUTION** = **20**
|
||||
* **PARAM_ANGULAR_ORTHOGONAL_DAMPING** = **21**
|
||||
* **PARAM_MAX** = **22**
|
||||
|
||||
### Member Function Description
|
||||
@@ -24,11 +24,19 @@ Base class for all 3D nodes.
|
||||
* void **[update_gizmo](#update_gizmo)** **(** **)**
|
||||
* void **[set_gizmo](#set_gizmo)** **(** SpatialGizmo gizmo **)**
|
||||
* SpatialGizmo **[get_gizmo](#get_gizmo)** **(** **)** const
|
||||
* void **[show](#show)** **(** **)**
|
||||
* void **[hide](#hide)** **(** **)**
|
||||
* [bool](class_bool) **[is_visible](#is_visible)** **(** **)** const
|
||||
* [bool](class_bool) **[is_hidden](#is_hidden)** **(** **)** const
|
||||
|
||||
### Signals
|
||||
* **visibility_changed** **(** **)**
|
||||
|
||||
### Numeric Constants
|
||||
* **NOTIFICATION_TRANSFORM_CHANGED** = **29** - Spatial nodes receive this notifacation with their global transform changes. This means that either the current or a parent node changed it's transform.
|
||||
* **NOTIFICATION_ENTER_WORLD** = **41**
|
||||
* **NOTIFICATION_EXIT_WORLD** = **42**
|
||||
* **NOTIFICATION_VISIBILITY_CHANGED** = **43**
|
||||
|
||||
### Description
|
||||
Spatial is the base for every type of 3D [Node](class_node). It contains a 3D [Transform](class_transform) which can be set or get as local or global. If a Spatial [Node](class_node) has Spatial children, their transforms will be relative to the parent.
|
||||
|
||||
@@ -6,12 +6,14 @@
|
||||
PhysicsBody for static collision objects.
|
||||
|
||||
### Member Functions
|
||||
* void **[set_simulate_motion](#set_simulate_motion)** **(** [bool](class_bool) enabled **)**
|
||||
* [bool](class_bool) **[is_simulating_motion](#is_simulating_motion)** **(** **)** const
|
||||
* void **[set_constant_linear_velocity](#set_constant_linear_velocity)** **(** [Vector3](class_vector3) vel **)**
|
||||
* void **[set_constant_angular_velocity](#set_constant_angular_velocity)** **(** [Vector3](class_vector3) vel **)**
|
||||
* [Vector3](class_vector3) **[get_constant_linear_velocity](#get_constant_linear_velocity)** **(** **)** const
|
||||
* [Vector3](class_vector3) **[get_constant_angular_velocity](#get_constant_angular_velocity)** **(** **)** const
|
||||
* void **[set_friction](#set_friction)** **(** [float](class_float) friction **)**
|
||||
* [float](class_float) **[get_friction](#get_friction)** **(** **)** const
|
||||
* void **[set_bounce](#set_bounce)** **(** [float](class_float) bounce **)**
|
||||
* [float](class_float) **[get_bounce](#get_bounce)** **(** **)** const
|
||||
|
||||
### Description
|
||||
StaticBody implements a static collision [Node](class_node), by utilizing a rigid body in the [PhysicsServer](class_physicsserver). Static bodies are used for static collision. For more information on physics body nodes, see [PhysicsBody](class_physicsbody).
|
||||
|
||||
@@ -30,6 +30,8 @@ Built-In string class.
|
||||
* [int](class_int) **[length](#length)** **(** **)**
|
||||
* [bool](class_bool) **[match](#match)** **(** [String](class_string) expr **)**
|
||||
* [bool](class_bool) **[matchn](#matchn)** **(** [String](class_string) expr **)**
|
||||
* [RawArray](class_rawarray) **[md5_buffer](#md5_buffer)** **(** **)**
|
||||
* [String](class_string) **[md5_text](#md5_text)** **(** **)**
|
||||
* [int](class_int) **[nocasecmp_to](#nocasecmp_to)** **(** [String](class_string) to **)**
|
||||
* [String](class_string) **[ord_at](#ord_at)** **(** [int](class_int) at **)**
|
||||
* [String](class_string) **[pad_decimals](#pad_decimals)** **(** [int](class_int) digits **)**
|
||||
|
||||
@@ -14,6 +14,7 @@ Tabs Control.
|
||||
* void **[set_tab_icon](#set_tab_icon)** **(** [int](class_int) tab_idx, [Texture](class_texture) icon **)**
|
||||
* [Texture](class_texture) **[get_tab_icon](#get_tab_icon)** **(** [int](class_int) tab_idx **)** const
|
||||
* void **[remove_tab](#remove_tab)** **(** [int](class_int) tab_idx **)**
|
||||
* void **[add_tab](#add_tab)** **(** [String](class_string) title, [Texture](class_texture) icon **)**
|
||||
|
||||
### Signals
|
||||
* **tab_changed** **(** [int](class_int) tab **)**
|
||||
|
||||
@@ -21,8 +21,10 @@ Texture for 2D and 3D.
|
||||
* **FLAG_MIPMAPS** = **1** - Generate mipmaps.
|
||||
* **FLAG_REPEAT** = **2** - Repeat (instead of clamp to edge).
|
||||
* **FLAG_FILTER** = **4** - Turn on magnifying filter.
|
||||
* **FLAG_VIDEO_SURFACE** = **16** - Texture is a video surface
|
||||
* **FLAG_VIDEO_SURFACE** = **4096** - Texture is a video surface
|
||||
* **FLAGS_DEFAULT** = **7** - Default flags
|
||||
* **FLAG_ANISOTROPIC_FILTER** = **8**
|
||||
* **FLAG_CONVERT_TO_LINEAR** = **16**
|
||||
|
||||
### Description
|
||||
A texture works by registering an image in the video hardware, which then can be used in 3D models or 2D [Sprite](class_sprite) or GUI [Control](class_control)s.
|
||||
|
||||
@@ -8,8 +8,14 @@ Node for 2D Tile-Based games.
|
||||
### Member Functions
|
||||
* void **[set_tileset](#set_tileset)** **(** [TileSet](class_tileset) tileset **)**
|
||||
* [TileSet](class_tileset) **[get_tileset](#get_tileset)** **(** **)** const
|
||||
* void **[set_cell_size](#set_cell_size)** **(** [int](class_int) size **)**
|
||||
* [int](class_int) **[get_cell_size](#get_cell_size)** **(** **)** const
|
||||
* void **[set_mode](#set_mode)** **(** [int](class_int) mode **)**
|
||||
* [int](class_int) **[get_mode](#get_mode)** **(** **)** const
|
||||
* void **[set_half_offset](#set_half_offset)** **(** [int](class_int) half_offset **)**
|
||||
* [int](class_int) **[get_half_offset](#get_half_offset)** **(** **)** const
|
||||
* void **[set_custom_transform](#set_custom_transform)** **(** [Matrix32](class_matrix32) custom_transform **)**
|
||||
* [Matrix32](class_matrix32) **[get_custom_transform](#get_custom_transform)** **(** **)** const
|
||||
* void **[set_cell_size](#set_cell_size)** **(** [Vector2](class_vector2) size **)**
|
||||
* [Vector2](class_vector2) **[get_cell_size](#get_cell_size)** **(** **)** const
|
||||
* void **[set_quadrant_size](#set_quadrant_size)** **(** [int](class_int) size **)**
|
||||
* [int](class_int) **[get_quadrant_size](#get_quadrant_size)** **(** **)** const
|
||||
* void **[set_center_x](#set_center_x)** **(** [bool](class_bool) enable **)**
|
||||
@@ -18,17 +24,29 @@ Node for 2D Tile-Based games.
|
||||
* [bool](class_bool) **[get_center_y](#get_center_y)** **(** **)** const
|
||||
* void **[set_collision_layer_mask](#set_collision_layer_mask)** **(** [int](class_int) mask **)**
|
||||
* [int](class_int) **[get_collision_layer_mask](#get_collision_layer_mask)** **(** **)** const
|
||||
* void **[set_collision_friction](#set_collision_friction)** **(** [float](class_float) value **)**
|
||||
* [float](class_float) **[get_collision_friction](#get_collision_friction)** **(** **)** const
|
||||
* void **[set_collision_bounce](#set_collision_bounce)** **(** [float](class_float) value **)**
|
||||
* [float](class_float) **[get_collision_bounce](#get_collision_bounce)** **(** **)** const
|
||||
* void **[set_cell](#set_cell)** **(** [int](class_int) x, [int](class_int) y, [int](class_int) tile, [bool](class_bool) flip_x=false, [bool](class_bool) flip_y=false **)**
|
||||
* [int](class_int) **[get_cell](#get_cell)** **(** [int](class_int) x, [int](class_int) y **)** const
|
||||
* [bool](class_bool) **[is_cell_x_flipped](#is_cell_x_flipped)** **(** [int](class_int) x, [int](class_int) y **)** const
|
||||
* [bool](class_bool) **[is_cell_y_flipped](#is_cell_y_flipped)** **(** [int](class_int) x, [int](class_int) y **)** const
|
||||
* void **[clear](#clear)** **(** **)**
|
||||
* [Vector2](class_vector2) **[map_to_world](#map_to_world)** **(** [Vector2](class_vector2) mappos, [bool](class_bool) ignore_half_ofs=false **)** const
|
||||
* [Vector2](class_vector2) **[world_to_map](#world_to_map)** **(** [Vector2](class_vector2) worldpos **)** const
|
||||
|
||||
### Signals
|
||||
* **settings_changed** **(** **)**
|
||||
|
||||
### Numeric Constants
|
||||
* **INVALID_CELL** = **-1** - Returned when a cell doesn't exist.
|
||||
* **MODE_SQUARE** = **0**
|
||||
* **MODE_ISOMETRIC** = **1**
|
||||
* **MODE_CUSTOM** = **2**
|
||||
* **HALF_OFFSET_X** = **0**
|
||||
* **HALF_OFFSET_Y** = **1**
|
||||
* **HALF_OFFSET_DISABLED** = **2**
|
||||
|
||||
### 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.
|
||||
@@ -47,12 +65,12 @@ Set the current tileset.
|
||||
Return the current tileset.
|
||||
|
||||
#### <a name="set_cell_size">set_cell_size</a>
|
||||
* void **set_cell_size** **(** [int](class_int) size **)**
|
||||
* void **set_cell_size** **(** [Vector2](class_vector2) size **)**
|
||||
|
||||
Set the cell size.
|
||||
|
||||
#### <a name="get_cell_size">get_cell_size</a>
|
||||
* [int](class_int) **get_cell_size** **(** **)** const
|
||||
* [Vector2](class_vector2) **get_cell_size** **(** **)** const
|
||||
|
||||
Return the cell size.
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ Language Translation.
|
||||
* [String](class_string) **[get_message](#get_message)** **(** [String](class_string) src_message **)** const
|
||||
* void **[erase_message](#erase_message)** **(** [String](class_string) src_message **)**
|
||||
* [StringArray](class_stringarray) **[get_message_list](#get_message_list)** **(** **)** const
|
||||
* [int](class_int) **[get_message_count](#get_message_count)** **(** **)** const
|
||||
|
||||
### Description
|
||||
Translations are resources that can be loaded/unloaded on demand. They map a string to another string.
|
||||
|
||||
@@ -11,5 +11,6 @@ Server that manages all translations. Translations can be set to it and removed
|
||||
* [String](class_string) **[translate](#translate)** **(** [String](class_string) arg0 **)** const
|
||||
* void **[add_translation](#add_translation)** **(** [Object](class_object) arg0 **)**
|
||||
* void **[remove_translation](#remove_translation)** **(** [Object](class_object) arg0 **)**
|
||||
* void **[clear](#clear)** **(** **)**
|
||||
|
||||
### Member Function Description
|
||||
|
||||
59
class_tween.md
Normal file
59
class_tween.md
Normal file
@@ -0,0 +1,59 @@
|
||||
# Tween
|
||||
####**Inherits:** [Node](class_node)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* [bool](class_bool) **[is_active](#is_active)** **(** **)** const
|
||||
* void **[set_active](#set_active)** **(** [bool](class_bool) active **)**
|
||||
* [bool](class_bool) **[is_repeat](#is_repeat)** **(** **)** const
|
||||
* void **[set_repeat](#set_repeat)** **(** [bool](class_bool) repeat **)**
|
||||
* void **[set_speed](#set_speed)** **(** [float](class_float) speed **)**
|
||||
* [float](class_float) **[get_speed](#get_speed)** **(** **)** const
|
||||
* void **[set_tween_process_mode](#set_tween_process_mode)** **(** [int](class_int) mode **)**
|
||||
* [int](class_int) **[get_tween_process_mode](#get_tween_process_mode)** **(** **)** const
|
||||
* [bool](class_bool) **[start](#start)** **(** **)**
|
||||
* [bool](class_bool) **[reset](#reset)** **(** [Object](class_object) node, [String](class_string) key **)**
|
||||
* [bool](class_bool) **[reset_all](#reset_all)** **(** **)**
|
||||
* [bool](class_bool) **[stop](#stop)** **(** [Object](class_object) node, [String](class_string) key **)**
|
||||
* [bool](class_bool) **[stop_all](#stop_all)** **(** **)**
|
||||
* [bool](class_bool) **[resume](#resume)** **(** [Object](class_object) node, [String](class_string) key **)**
|
||||
* [bool](class_bool) **[resume_all](#resume_all)** **(** **)**
|
||||
* [bool](class_bool) **[remove](#remove)** **(** [Object](class_object) node, [String](class_string) key **)**
|
||||
* [bool](class_bool) **[remove_all](#remove_all)** **(** **)**
|
||||
* [bool](class_bool) **[seek](#seek)** **(** [float](class_float) time **)**
|
||||
* [float](class_float) **[tell](#tell)** **(** **)** const
|
||||
* [float](class_float) **[get_runtime](#get_runtime)** **(** **)** const
|
||||
* [bool](class_bool) **[interpolate_property](#interpolate_property)** **(** [Object](class_object) node, [String](class_string) property, var initial_val, var final_val, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)**
|
||||
* [bool](class_bool) **[interpolate_method](#interpolate_method)** **(** [Object](class_object) node, [String](class_string) method, var initial_val, var final_val, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)**
|
||||
* [bool](class_bool) **[interpolate_callback](#interpolate_callback)** **(** [Object](class_object) node, [String](class_string) callback, [float](class_float) times_in_sec, var args=NULL **)**
|
||||
* [bool](class_bool) **[follow_property](#follow_property)** **(** [Object](class_object) node, [String](class_string) property, var initial_val, [Object](class_object) target, [String](class_string) target_property, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)**
|
||||
* [bool](class_bool) **[follow_method](#follow_method)** **(** [Object](class_object) node, [String](class_string) method, var initial_val, [Object](class_object) target, [String](class_string) target_method, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)**
|
||||
* [bool](class_bool) **[targeting_property](#targeting_property)** **(** [Object](class_object) node, [String](class_string) property, [Object](class_object) initial, [String](class_string) initial_val, var final_val, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)**
|
||||
* [bool](class_bool) **[targeting_method](#targeting_method)** **(** [Object](class_object) node, [String](class_string) method, [Object](class_object) initial, [String](class_string) initial_method, var final_val, [float](class_float) times_in_sec, [int](class_int) trans_type, [int](class_int) ease_type, [float](class_float) delay=0 **)**
|
||||
|
||||
### Signals
|
||||
* **tween_complete** **(** [Object](class_object) node, [String](class_string) key **)**
|
||||
* **tween_step** **(** [Object](class_object) node, [String](class_string) key, [float](class_float) elapsed, [Object](class_object) value **)**
|
||||
* **tween_start** **(** [Object](class_object) node, [String](class_string) key **)**
|
||||
|
||||
### Numeric Constants
|
||||
* **TRANS_LINEAR** = **0**
|
||||
* **TRANS_SINE** = **1**
|
||||
* **TRANS_QUINT** = **2**
|
||||
* **TRANS_QUART** = **3**
|
||||
* **TRANS_QUAD** = **4**
|
||||
* **TRANS_EXPO** = **5**
|
||||
* **TRANS_ELASTIC** = **6**
|
||||
* **TRANS_CUBIC** = **7**
|
||||
* **TRANS_CIRC** = **8**
|
||||
* **TRANS_BOUNCE** = **9**
|
||||
* **TRANS_BACK** = **10**
|
||||
* **EASE_IN** = **0**
|
||||
* **EASE_OUT** = **1**
|
||||
* **EASE_IN_OUT** = **2**
|
||||
* **EASE_OUT_IN** = **3**
|
||||
|
||||
### Member Function Description
|
||||
@@ -6,6 +6,8 @@ Vector used for 2D Math.
|
||||
|
||||
### Member Functions
|
||||
* [float](class_float) **[angle_to](#angle_to)** **(** [Vector2](class_vector2) to **)**
|
||||
* [float](class_float) **[angle_to_point](#angle_to_point)** **(** [Vector2](class_vector2) to **)**
|
||||
* [float](class_float) **[atan2](#atan2)** **(** **)**
|
||||
* [Vector2](class_vector2) **[cubic_interpolate](#cubic_interpolate)** **(** [Vector2](class_vector2) b, [Vector2](class_vector2) pre_a, [Vector2](class_vector2) post_b, [float](class_float) t **)**
|
||||
* [float](class_float) **[distance_squared_to](#distance_squared_to)** **(** [Vector2](class_vector2) to **)**
|
||||
* [float](class_float) **[distance_to](#distance_to)** **(** [Vector2](class_vector2) to **)**
|
||||
|
||||
@@ -18,7 +18,9 @@ Vector class, which performs basic 3D vector math operations.
|
||||
* [int](class_int) **[max_axis](#max_axis)** **(** **)**
|
||||
* [int](class_int) **[min_axis](#min_axis)** **(** **)**
|
||||
* [Vector3](class_vector3) **[normalized](#normalized)** **(** **)**
|
||||
* [Vector3](class_vector3) **[reflect](#reflect)** **(** [Vector3](class_vector3) by **)**
|
||||
* [Vector3](class_vector3) **[rotated](#rotated)** **(** [Vector3](class_vector3) axis, [float](class_float) phi **)**
|
||||
* [Vector3](class_vector3) **[slide](#slide)** **(** [Vector3](class_vector3) by **)**
|
||||
* [Vector3](class_vector3) **[snapped](#snapped)** **(** [float](class_float) by **)**
|
||||
* void **[Vector3](#Vector3)** **(** [float](class_float) x, [float](class_float) y, [float](class_float) z **)**
|
||||
|
||||
|
||||
20
class_vehiclebody.md
Normal file
20
class_vehiclebody.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# VehicleBody
|
||||
####**Inherits:** [PhysicsBody](class_physicsbody)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_mass](#set_mass)** **(** [float](class_float) mass **)**
|
||||
* [float](class_float) **[get_mass](#get_mass)** **(** **)** const
|
||||
* void **[set_friction](#set_friction)** **(** [float](class_float) friction **)**
|
||||
* [float](class_float) **[get_friction](#get_friction)** **(** **)** const
|
||||
* void **[set_engine_force](#set_engine_force)** **(** [float](class_float) engine_force **)**
|
||||
* [float](class_float) **[get_engine_force](#get_engine_force)** **(** **)** const
|
||||
* void **[set_brake](#set_brake)** **(** [float](class_float) brake **)**
|
||||
* [float](class_float) **[get_brake](#get_brake)** **(** **)** const
|
||||
* void **[set_steering](#set_steering)** **(** [float](class_float) steering **)**
|
||||
* [float](class_float) **[get_steering](#get_steering)** **(** **)** const
|
||||
|
||||
### Member Function Description
|
||||
30
class_vehiclewheel.md
Normal file
30
class_vehiclewheel.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# VehicleWheel
|
||||
####**Inherits:** [Spatial](class_spatial)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_radius](#set_radius)** **(** [float](class_float) length **)**
|
||||
* [float](class_float) **[get_radius](#get_radius)** **(** **)** const
|
||||
* void **[set_suspension_rest_length](#set_suspension_rest_length)** **(** [float](class_float) length **)**
|
||||
* [float](class_float) **[get_suspension_rest_length](#get_suspension_rest_length)** **(** **)** const
|
||||
* void **[set_suspension_travel](#set_suspension_travel)** **(** [float](class_float) length **)**
|
||||
* [float](class_float) **[get_suspension_travel](#get_suspension_travel)** **(** **)** const
|
||||
* void **[set_suspension_stiffness](#set_suspension_stiffness)** **(** [float](class_float) length **)**
|
||||
* [float](class_float) **[get_suspension_stiffness](#get_suspension_stiffness)** **(** **)** const
|
||||
* void **[set_suspension_max_force](#set_suspension_max_force)** **(** [float](class_float) length **)**
|
||||
* [float](class_float) **[get_suspension_max_force](#get_suspension_max_force)** **(** **)** const
|
||||
* void **[set_damping_compression](#set_damping_compression)** **(** [float](class_float) length **)**
|
||||
* [float](class_float) **[get_damping_compression](#get_damping_compression)** **(** **)** const
|
||||
* void **[set_damping_relaxation](#set_damping_relaxation)** **(** [float](class_float) length **)**
|
||||
* [float](class_float) **[get_damping_relaxation](#get_damping_relaxation)** **(** **)** const
|
||||
* void **[set_use_as_traction](#set_use_as_traction)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[is_used_as_traction](#is_used_as_traction)** **(** **)** const
|
||||
* void **[set_use_as_steering](#set_use_as_steering)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[is_used_as_steering](#is_used_as_steering)** **(** **)** const
|
||||
* void **[set_friction_slip](#set_friction_slip)** **(** [float](class_float) length **)**
|
||||
* [float](class_float) **[get_friction_slip](#get_friction_slip)** **(** **)** const
|
||||
|
||||
### Member Function Description
|
||||
@@ -1,5 +1,5 @@
|
||||
# VideoStream
|
||||
####**Inherits:** [AudioStreamResampled](class_audiostreamresampled)
|
||||
####**Inherits:** [Resource](class_resource)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
@@ -33,15 +33,20 @@ Creates a sub-view into the screen.
|
||||
* [bool](class_bool) **[get_render_target_vflip](#get_render_target_vflip)** **(** **)** const
|
||||
* void **[set_render_target_filter](#set_render_target_filter)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[get_render_target_filter](#get_render_target_filter)** **(** **)** const
|
||||
* void **[set_render_target_gen_mipmaps](#set_render_target_gen_mipmaps)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[get_render_target_gen_mipmaps](#get_render_target_gen_mipmaps)** **(** **)** const
|
||||
* void **[set_render_target_update_mode](#set_render_target_update_mode)** **(** [int](class_int) mode **)**
|
||||
* [int](class_int) **[get_render_target_update_mode](#get_render_target_update_mode)** **(** **)** const
|
||||
* [RenderTargetTexture](class_rendertargettexture) **[get_render_target_texture](#get_render_target_texture)** **(** **)** const
|
||||
* void **[set_physics_object_picking](#set_physics_object_picking)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[get_physics_object_picking](#get_physics_object_picking)** **(** **)**
|
||||
* [RID](class_rid) **[get_viewport](#get_viewport)** **(** **)** const
|
||||
* void **[input](#input)** **(** [InputEvent](class_inputevent) local_event **)**
|
||||
* void **[unhandled_input](#unhandled_input)** **(** [InputEvent](class_inputevent) local_event **)**
|
||||
* void **[update_worlds](#update_worlds)** **(** **)**
|
||||
* void **[set_use_own_world](#set_use_own_world)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[is_using_own_world](#is_using_own_world)** **(** **)** const
|
||||
* [Camera](class_camera) **[get_camera](#get_camera)** **(** **)** const
|
||||
* void **[set_as_audio_listener](#set_as_audio_listener)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[is_audio_listener](#is_audio_listener)** **(** **)** const
|
||||
* void **[set_as_audio_listener_2d](#set_as_audio_listener_2d)** **(** [bool](class_bool) enable **)**
|
||||
|
||||
@@ -162,6 +162,7 @@ Server for anything visible.
|
||||
* [RID](class_rid) **[make_sphere_mesh](#make_sphere_mesh)** **(** [int](class_int) arg0, [int](class_int) arg1, [float](class_float) arg2 **)**
|
||||
* void **[mesh_add_surface_from_planes](#mesh_add_surface_from_planes)** **(** [RID](class_rid) arg0, [Array](class_array) arg1 **)**
|
||||
* void **[draw](#draw)** **(** **)**
|
||||
* void **[flush](#flush)** **(** **)**
|
||||
* void **[free](#free)** **(** [RID](class_rid) arg0 **)**
|
||||
* void **[set_default_clear_color](#set_default_clear_color)** **(** [Color](class_color) arg0 **)**
|
||||
* [int](class_int) **[get_render_info](#get_render_info)** **(** [int](class_int) arg0 **)**
|
||||
@@ -176,7 +177,7 @@ Server for anything visible.
|
||||
* **TEXTURE_FLAG_MIPMAPS** = **1**
|
||||
* **TEXTURE_FLAG_REPEAT** = **2**
|
||||
* **TEXTURE_FLAG_FILTER** = **4**
|
||||
* **TEXTURE_FLAG_CUBEMAP** = **8**
|
||||
* **TEXTURE_FLAG_CUBEMAP** = **2048**
|
||||
* **TEXTURE_FLAGS_DEFAULT** = **7**
|
||||
* **CUBEMAP_LEFT** = **0**
|
||||
* **CUBEMAP_RIGHT** = **1**
|
||||
@@ -191,8 +192,6 @@ Server for anything visible.
|
||||
* **MATERIAL_FLAG_INVERT_FACES** = **2**
|
||||
* **MATERIAL_FLAG_UNSHADED** = **3**
|
||||
* **MATERIAL_FLAG_ONTOP** = **4**
|
||||
* **MATERIAL_FLAG_WIREFRAME** = **5**
|
||||
* **MATERIAL_FLAG_BILLBOARD** = **6**
|
||||
* **MATERIAL_FLAG_MAX** = **7**
|
||||
* **MATERIAL_BLEND_MODE_MIX** = **0**
|
||||
* **MATERIAL_BLEND_MODE_ADD** = **1**
|
||||
@@ -253,9 +252,8 @@ Server for anything visible.
|
||||
* **LIGHT_DIRECTIONAL** = **0**
|
||||
* **LIGHT_OMNI** = **1**
|
||||
* **LIGHT_SPOT** = **2**
|
||||
* **LIGHT_COLOR_AMBIENT** = **0**
|
||||
* **LIGHT_COLOR_DIFFUSE** = **1**
|
||||
* **LIGHT_COLOR_SPECULAR** = **2**
|
||||
* **LIGHT_COLOR_DIFFUSE** = **0**
|
||||
* **LIGHT_COLOR_SPECULAR** = **1**
|
||||
* **LIGHT_PARAM_SPOT_ATTENUATION** = **0**
|
||||
* **LIGHT_PARAM_SPOT_ANGLE** = **1**
|
||||
* **LIGHT_PARAM_RADIUS** = **2**
|
||||
|
||||
12
class_ysort.md
Normal file
12
class_ysort.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# YSort
|
||||
####**Inherits:** [Node2D](class_node2d)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[set_sort_enabled](#set_sort_enabled)** **(** [bool](class_bool) enabled **)**
|
||||
* [bool](class_bool) **[is_sort_enabled](#is_sort_enabled)** **(** **)** const
|
||||
|
||||
### Member Function Description
|
||||
Reference in New Issue
Block a user