mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 13:12:42 +00:00
Autogen Class List
parent
4c8547197c
commit
5635fedcac
@ -55,10 +55,14 @@ Built-in GDScript functions.
|
||||
* [Nil](class_nil) **[printerr](#printerr)** **(** var what, var ... **)**
|
||||
* [Nil](class_nil) **[printraw](#printraw)** **(** var what, var ... **)**
|
||||
* [Array](class_array) **[range](#range)** **(** var ... **)**
|
||||
* [Object](class_object) **[load](#load)** **(** [String](class_string) path **)**
|
||||
* [Dictionary](class_dictionary) **[inst2dict](#inst2dict)** **(** [Object](class_object) inst **)**
|
||||
* [Object](class_object) **[dict2inst](#dict2inst)** **(** [Dictionary](class_dictionary) dict **)**
|
||||
* [Nil](class_nil) **[print_stack](#print_stack)** **(** **)**
|
||||
|
||||
### Numeric Constants
|
||||
* **PI** = **3.141593**
|
||||
|
||||
### Description
|
||||
This contains the list of built-in gdscript functions. Mostly math functions and other utilities. Everything else is expanded by objects.
|
||||
|
||||
|
@ -30,7 +30,6 @@ Global scope constants and variables.
|
||||
* [SpatialSound2DServer](class_spatialsound2dserver) **SS**
|
||||
* [SpatialSound2DServer](class_spatialsound2dserver) **SpatialSound2DServer**
|
||||
* [SpatialSound2DServer](class_spatialsound2dserver) **SS2D**
|
||||
* [Flurry](class_flurry) **Flurry**
|
||||
|
||||
### Numeric Constants
|
||||
* **MARGIN_LEFT** = **0** - Left margin, used usually for [Control] or [StyleBox] derived classes.
|
||||
|
@ -10,6 +10,8 @@ Camera node for 2D scenes.
|
||||
* [Vector2](class_vector2) **[get_offset](#get_offset)** **(** **)** const
|
||||
* void **[set_centered](#set_centered)** **(** [bool](class_bool) centered **)**
|
||||
* [bool](class_bool) **[is_centered](#is_centered)** **(** **)** const
|
||||
* void **[set_rotating](#set_rotating)** **(** [bool](class_bool) rotating **)**
|
||||
* [bool](class_bool) **[is_rotating](#is_rotating)** **(** **)** const
|
||||
* void **[make_current](#make_current)** **(** **)**
|
||||
* [bool](class_bool) **[is_current](#is_current)** **(** **)** const
|
||||
* void **[set_limit](#set_limit)** **(** [int](class_int) margin, [int](class_int) limit **)**
|
||||
|
13
class_editorscript.md
Normal file
13
class_editorscript.md
Normal file
@ -0,0 +1,13 @@
|
||||
# EditorScript
|
||||
####**Inherits:** [Reference](class_reference)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* void **[_run](#_run)** **(** **)** virtual
|
||||
* void **[add_root_node](#add_root_node)** **(** [Object](class_object) node **)**
|
||||
* [Object](class_object) **[get_scene](#get_scene)** **(** **)**
|
||||
|
||||
### Member Function Description
|
@ -13,6 +13,16 @@
|
||||
* [int](class_int) **type**
|
||||
* [int](class_int) **device**
|
||||
* [int](class_int) **ID**
|
||||
* [int](class_int) **index**
|
||||
* [real](class_real) **x**
|
||||
* [real](class_real) **y**
|
||||
* [Vector2](class_vector2) **pos**
|
||||
* [real](class_real) **relative_x**
|
||||
* [real](class_real) **relative_y**
|
||||
* [Vector2](class_vector2) **relative_pos**
|
||||
* [real](class_real) **speed_x**
|
||||
* [real](class_real) **speed_y**
|
||||
* [Vector2](class_vector2) **speed**
|
||||
|
||||
### Numeric Constants
|
||||
* **NONE** = **0**
|
||||
|
@ -13,6 +13,11 @@
|
||||
* [int](class_int) **type**
|
||||
* [int](class_int) **device**
|
||||
* [int](class_int) **ID**
|
||||
* [int](class_int) **index**
|
||||
* [real](class_real) **x**
|
||||
* [real](class_real) **y**
|
||||
* [Vector2](class_vector2) **pos**
|
||||
* [bool](class_bool) **pressed**
|
||||
|
||||
### Numeric Constants
|
||||
* **NONE** = **0**
|
||||
|
28
class_kinematicbody2d.md
Normal file
28
class_kinematicbody2d.md
Normal file
@ -0,0 +1,28 @@
|
||||
# KinematicBody2D
|
||||
####**Inherits:** [PhysicsBody2D](class_physicsbody2d)
|
||||
####**Category:** Core
|
||||
|
||||
### Brief Description
|
||||
|
||||
|
||||
### Member Functions
|
||||
* [Vector2](class_vector2) **[move](#move)** **(** [Vector2](class_vector2) rel_vec **)**
|
||||
* [Vector2](class_vector2) **[move_to](#move_to)** **(** [Vector2](class_vector2) position **)**
|
||||
* [bool](class_bool) **[can_move_to](#can_move_to)** **(** [Vector2](class_vector2) position, [bool](class_bool) arg1 **)**
|
||||
* [bool](class_bool) **[is_colliding](#is_colliding)** **(** **)** const
|
||||
* [Vector2](class_vector2) **[get_collision_pos](#get_collision_pos)** **(** **)** const
|
||||
* [Vector2](class_vector2) **[get_collision_normal](#get_collision_normal)** **(** **)** const
|
||||
* [Vector2](class_vector2) **[get_collider_velocity](#get_collider_velocity)** **(** **)** const
|
||||
* [int](class_int) **[get_collider](#get_collider)** **(** **)** 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)** **(** [real](class_real) pixels **)**
|
||||
* [real](class_real) **[get_collision_margin](#get_collision_margin)** **(** **)** const
|
||||
|
||||
### Member Function Description
|
209
class_list.md
209
class_list.md
@ -1,108 +1,109 @@
|
||||
|
||||
| | | | | | |
|
||||
| --- | ------- | --- | ------- | --- | ------- |
|
||||
| **@** | [@GDScript](class_@gdscript) | | [InputEventJoyMotion](class_inputeventjoymotion) | | [ResourceSaver](class_resourcesaver) |
|
||||
| | [@Global Scope](class_@global scope) | | [InputEventKey](class_inputeventkey) | | [RichTextLabel](class_richtextlabel) |
|
||||
| | [@MultiScript](class_@multiscript) | | [InputEventMouseButton](class_inputeventmousebutton) | | [RigidBody](class_rigidbody) |
|
||||
| **A** | [AABB](class_aabb) | | [InputEventMouseMotion](class_inputeventmousemotion) | | [RigidBody2D](class_rigidbody2d) |
|
||||
| | [AcceptDialog](class_acceptdialog) | | [InputEventScreenDrag](class_inputeventscreendrag) | | [Room](class_room) |
|
||||
| | [AnimatedSprite](class_animatedsprite) | | [InputEventScreenTouch](class_inputeventscreentouch) | | [RoomBounds](class_roombounds) |
|
||||
| | [Animation](class_animation) | | [InputMap](class_inputmap) | **S** | [Sample](class_sample) |
|
||||
| | [AnimationPlayer](class_animationplayer) | | [IntArray](class_intarray) | | [SampleLibrary](class_samplelibrary) |
|
||||
| | [AnimationTreePlayer](class_animationtreeplayer) | | [InterpolatedCamera](class_interpolatedcamera) | | [SamplePlayer](class_sampleplayer) |
|
||||
| | [Area](class_area) | **J** | [Joint2D](class_joint2d) | | [SamplePlayer2D](class_sampleplayer2d) |
|
||||
| | [Area2D](class_area2d) | **L** | [Label](class_label) | | [SceneIO](class_sceneio) |
|
||||
| | [Array](class_array) | | [LargeTexture](class_largetexture) | | [SceneInteractiveLoader](class_sceneinteractiveloader) |
|
||||
| | [AtlasTexture](class_atlastexture) | | [Light](class_light) | | [SceneMainLoop](class_scenemainloop) |
|
||||
| | [AudioServer](class_audioserver) | | [LineEdit](class_lineedit) | | [ScenePreloader](class_scenepreloader) |
|
||||
| | [AudioServerSW](class_audioserversw) | | [LineShape2D](class_lineshape2d) | | [Script](class_script) |
|
||||
| | [AudioStream](class_audiostream) | **M** | [MainLoop](class_mainloop) | | [ScrollBar](class_scrollbar) |
|
||||
| | [AudioStreamGibberish](class_audiostreamgibberish) | | [MarginContainer](class_margincontainer) | | [ScrollContainer](class_scrollcontainer) |
|
||||
| | [AudioStreamMPC](class_audiostreammpc) | | [Marshalls](class_marshalls) | | [SegmentShape2D](class_segmentshape2d) |
|
||||
| | [AudioStreamOGGVorbis](class_audiostreamoggvorbis) | | [Material](class_material) | | [Semaphore](class_semaphore) |
|
||||
| | [AudioStreamResampled](class_audiostreamresampled) | | [Matrix3](class_matrix3) | | [Separator](class_separator) |
|
||||
| | [AudioStreamSpeex](class_audiostreamspeex) | | [Matrix32](class_matrix32) | | [Shader](class_shader) |
|
||||
| **B** | [BaseButton](class_basebutton) | | [MenuButton](class_menubutton) | | [ShaderMaterial](class_shadermaterial) |
|
||||
| | [BitMap](class_bitmap) | | [Mesh](class_mesh) | | [Shape](class_shape) |
|
||||
| | [BoneAttachment](class_boneattachment) | | [MeshDataTool](class_meshdatatool) | | [Shape2D](class_shape2d) |
|
||||
| | [BoxContainer](class_boxcontainer) | | [MeshInstance](class_meshinstance) | | [Skeleton](class_skeleton) |
|
||||
| | [BoxShape](class_boxshape) | | [MeshLibrary](class_meshlibrary) | | [Slider](class_slider) |
|
||||
| | [Button](class_button) | | [MultiMesh](class_multimesh) | | [SoundPlayer2D](class_soundplayer2d) |
|
||||
| | [ButtonArray](class_buttonarray) | | [MultiMeshInstance](class_multimeshinstance) | | [SoundRoomParams](class_soundroomparams) |
|
||||
| | [ButtonGroup](class_buttongroup) | | [MultiScript](class_multiscript) | | [Spatial](class_spatial) |
|
||||
| **C** | [Camera](class_camera) | | [Mutex](class_mutex) | | [SpatialPlayer](class_spatialplayer) |
|
||||
| | [Camera2D](class_camera2d) | **N** | [Nil](class_nil) | | [SpatialSamplePlayer](class_spatialsampleplayer) |
|
||||
| | [CanvasItem](class_canvasitem) | | [Node](class_node) | | [SpatialSound2DServer](class_spatialsound2dserver) |
|
||||
| | [CanvasLayer](class_canvaslayer) | | [Node2D](class_node2d) | | [SpatialSound2DServerSW](class_spatialsound2dserversw) |
|
||||
| | [CapsuleShape](class_capsuleshape) | | [NodePath](class_nodepath) | | [SpatialSoundServer](class_spatialsoundserver) |
|
||||
| | [CapsuleShape2D](class_capsuleshape2d) | **O** | [OS](class_os) | | [SpatialSoundServerSW](class_spatialsoundserversw) |
|
||||
| | [CarBody](class_carbody) | | [Object](class_object) | | [SpatialStreamPlayer](class_spatialstreamplayer) |
|
||||
| | [CarWheel](class_carwheel) | | [OmniLight](class_omnilight) | | [SphereShape](class_sphereshape) |
|
||||
| | [CenterContainer](class_centercontainer) | | [OptionButton](class_optionbutton) | | [SpinBox](class_spinbox) |
|
||||
| | [CheckButton](class_checkbutton) | **P** | [PHashTranslation](class_phashtranslation) | | [SplitContainer](class_splitcontainer) |
|
||||
| | [CircleShape2D](class_circleshape2d) | | [PackedDataContainer](class_packeddatacontainer) | | [SpotLight](class_spotlight) |
|
||||
| | [CollisionObject](class_collisionobject) | | [PackedDataContainerRef](class_packeddatacontainerref) | | [Sprite](class_sprite) |
|
||||
| | [CollisionObject2D](class_collisionobject2d) | | [PackedScene](class_packedscene) | | [SpriteFrames](class_spriteframes) |
|
||||
| | [CollisionPolygon2D](class_collisionpolygon2d) | | [PacketPeer](class_packetpeer) | | [StaticBody](class_staticbody) |
|
||||
| | [CollisionShape](class_collisionshape) | | [PacketPeerStream](class_packetpeerstream) | | [StaticBody2D](class_staticbody2d) |
|
||||
| | [CollisionShape2D](class_collisionshape2d) | | [Panel](class_panel) | | [StreamPeer](class_streampeer) |
|
||||
| | [Color](class_color) | | [PanelContainer](class_panelcontainer) | | [StreamPeerTCP](class_streampeertcp) |
|
||||
| | [ColorArray](class_colorarray) | | [ParallaxBackground](class_parallaxbackground) | | [StreamPlayer](class_streamplayer) |
|
||||
| | [ColorPicker](class_colorpicker) | | [ParallaxLayer](class_parallaxlayer) | | [String](class_string) |
|
||||
| | [ColorPickerButton](class_colorpickerbutton) | | [ParticleAttractor2D](class_particleattractor2d) | | [StringArray](class_stringarray) |
|
||||
| | [ConcavePolygonShape](class_concavepolygonshape) | | [ParticleSystemMaterial](class_particlesystemmaterial) | | [StyleBox](class_stylebox) |
|
||||
| | [ConcavePolygonShape2D](class_concavepolygonshape2d) | | [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) | | [PathRemap](class_pathremap) | **T** | [TCP_Server](class_tcp_server) |
|
||||
| | [ConvexPolygonShape2D](class_convexpolygonshape2d) | | [Performance](class_performance) | | [TabContainer](class_tabcontainer) |
|
||||
| | [CubeMap](class_cubemap) | | [Physics2DDirectBodyState](class_physics2ddirectbodystate) | | [Tabs](class_tabs) |
|
||||
| | [Curve2D](class_curve2d) | | [Physics2DDirectBodyStateSW](class_physics2ddirectbodystatesw) | | [TestCube](class_testcube) |
|
||||
| | [Curve3D](class_curve3d) | | [Physics2DDirectSpaceState](class_physics2ddirectspacestate) | | [TextEdit](class_textedit) |
|
||||
| **D** | [DampedSpringJoint2D](class_dampedspringjoint2d) | | [Physics2DServer](class_physics2dserver) | | [Texture](class_texture) |
|
||||
| | [Dictionary](class_dictionary) | | [Physics2DServerSW](class_physics2dserversw) | | [TextureButton](class_texturebutton) |
|
||||
| | [DirectionalLight](class_directionallight) | | [Physics2DShapeQueryResult](class_physics2dshapequeryresult) | | [TextureFrame](class_textureframe) |
|
||||
| | [Directory](class_directory) | | [PhysicsBody](class_physicsbody) | | [TextureProgress](class_textureprogress) |
|
||||
| **E** | [EditableShape](class_editableshape) | | [PhysicsBody2D](class_physicsbody2d) | | [Theme](class_theme) |
|
||||
| | [EditableSphere](class_editablesphere) | | [PhysicsDirectBodyState](class_physicsdirectbodystate) | | [Thread](class_thread) |
|
||||
| | [EditorImportPlugin](class_editorimportplugin) | | [PhysicsDirectBodyStateSW](class_physicsdirectbodystatesw) | | [TileMap](class_tilemap) |
|
||||
| | [EditorPlugin](class_editorplugin) | | [PhysicsDirectSpaceState](class_physicsdirectspacestate) | | [TileSet](class_tileset) |
|
||||
| | [EditorScenePostImport](class_editorscenepostimport) | | [PhysicsServer](class_physicsserver) | | [Timer](class_timer) |
|
||||
| | [EmptyControl](class_emptycontrol) | | [PhysicsServerSW](class_physicsserversw) | | [TouchScreenButton](class_touchscreenbutton) |
|
||||
| | [Environment](class_environment) | | [PhysicsShapeQueryResult](class_physicsshapequeryresult) | | [Transform](class_transform) |
|
||||
| | [EventPlayer](class_eventplayer) | | [PinJoint2D](class_pinjoint2d) | | [Translation](class_translation) |
|
||||
| | [EventStream](class_eventstream) | | [Plane](class_plane) | | [TranslationServer](class_translationserver) |
|
||||
| | [EventStreamChibi](class_eventstreamchibi) | | [PlaneShape](class_planeshape) | | [Tree](class_tree) |
|
||||
| **F** | [File](class_file) | | [Popup](class_popup) | | [TreeItem](class_treeitem) |
|
||||
| | [FileDialog](class_filedialog) | | [PopupDialog](class_popupdialog) | **U** | [UnshadedMaterial](class_unshadedmaterial) |
|
||||
| | [FixedMaterial](class_fixedmaterial) | | [PopupMenu](class_popupmenu) | **V** | [VBoxContainer](class_vboxcontainer) |
|
||||
| | [Flurry](class_flurry) | | [PopupPanel](class_popuppanel) | | [VButtonArray](class_vbuttonarray) |
|
||||
| | [FollowCamera](class_followcamera) | | [Portal](class_portal) | | [VScrollBar](class_vscrollbar) |
|
||||
| | [Font](class_font) | | [Position2D](class_position2d) | | [VSeparator](class_vseparator) |
|
||||
| **G** | [GDNativeClass](class_gdnativeclass) | | [Position3D](class_position3d) | | [VSlider](class_vslider) |
|
||||
| | [GDScript](class_gdscript) | | [ProgressBar](class_progressbar) | | [VSplitContainer](class_vsplitcontainer) |
|
||||
| | [Geometry](class_geometry) | | [ProximityGroup](class_proximitygroup) | | [Vector2](class_vector2) |
|
||||
| | [GeometryInstance](class_geometryinstance) | **Q** | [Quad](class_quad) | | [Vector2Array](class_vector2array) |
|
||||
| | [Globals](class_globals) | | [Quat](class_quat) | | [Vector3](class_vector3) |
|
||||
| | [GridContainer](class_gridcontainer) | **R** | [RID](class_rid) | | [Vector3Array](class_vector3array) |
|
||||
| | [GridMap](class_gridmap) | | [Range](class_range) | | [VideoPlayer](class_videoplayer) |
|
||||
| | [GrooveJoint2D](class_groovejoint2d) | | [RawArray](class_rawarray) | | [VideoStream](class_videostream) |
|
||||
| **H** | [HBoxContainer](class_hboxcontainer) | | [RayCast](class_raycast) | | [VideoStreamTheora](class_videostreamtheora) |
|
||||
| | [HButtonArray](class_hbuttonarray) | | [RayCast2D](class_raycast2d) | | [Viewport](class_viewport) |
|
||||
| | [HScrollBar](class_hscrollbar) | | [RayShape](class_rayshape) | | [VisibilityEnabler](class_visibilityenabler) |
|
||||
| | [HSeparator](class_hseparator) | | [RayShape2D](class_rayshape2d) | | [VisibilityEnabler2D](class_visibilityenabler2d) |
|
||||
| | [HSlider](class_hslider) | | [RealArray](class_realarray) | | [VisibilityNotifier](class_visibilitynotifier) |
|
||||
| | [HSplitContainer](class_hsplitcontainer) | | [Rect2](class_rect2) | | [VisibilityNotifier2D](class_visibilitynotifier2d) |
|
||||
| | [HTTPClient](class_httpclient) | | [RectangleShape2D](class_rectangleshape2d) | | [VisualInstance](class_visualinstance) |
|
||||
| **I** | [IP](class_ip) | | [Reference](class_reference) | | [VisualServer](class_visualserver) |
|
||||
| | [IP_Unix](class_ip_unix) | | [ReferenceFrame](class_referenceframe) | **W** | [WindowDialog](class_windowdialog) |
|
||||
| | [Image](class_image) | | [RegEx](class_regex) | | [World](class_world) |
|
||||
| | [ImagePathFinder](class_imagepathfinder) | | [RemoteTransform2D](class_remotetransform2d) | | [World2D](class_world2d) |
|
||||
| | [ImageTexture](class_imagetexture) | | [RenderTargetTexture](class_rendertargettexture) | | [WorldEnvironment](class_worldenvironment) |
|
||||
| | [Input](class_input) | | [Resource](class_resource) | **X** | [XMLParser](class_xmlparser) |
|
||||
| | [InputDefault](class_inputdefault) | | [ResourceImportMetadata](class_resourceimportmetadata) | **b** | [bool](class_bool) |
|
||||
| | [InputEvent](class_inputevent) | | [ResourceInteractiveLoader](class_resourceinteractiveloader) | **i** | [int](class_int) |
|
||||
| | [InputEventAction](class_inputeventaction) | | [ResourceLoader](class_resourceloader) | **r** | [real](class_real) |
|
||||
| **@** | [@GDScript](class_@gdscript) | | [InputEventKey](class_inputeventkey) | | [RichTextLabel](class_richtextlabel) |
|
||||
| | [@Global Scope](class_@global scope) | | [InputEventMouseButton](class_inputeventmousebutton) | | [RigidBody](class_rigidbody) |
|
||||
| | [@MultiScript](class_@multiscript) | | [InputEventMouseMotion](class_inputeventmousemotion) | | [RigidBody2D](class_rigidbody2d) |
|
||||
| **A** | [AABB](class_aabb) | | [InputEventScreenDrag](class_inputeventscreendrag) | | [Room](class_room) |
|
||||
| | [AcceptDialog](class_acceptdialog) | | [InputEventScreenTouch](class_inputeventscreentouch) | | [RoomBounds](class_roombounds) |
|
||||
| | [AnimatedSprite](class_animatedsprite) | | [InputMap](class_inputmap) | **S** | [Sample](class_sample) |
|
||||
| | [Animation](class_animation) | | [IntArray](class_intarray) | | [SampleLibrary](class_samplelibrary) |
|
||||
| | [AnimationPlayer](class_animationplayer) | | [InterpolatedCamera](class_interpolatedcamera) | | [SamplePlayer](class_sampleplayer) |
|
||||
| | [AnimationTreePlayer](class_animationtreeplayer) | **J** | [Joint2D](class_joint2d) | | [SamplePlayer2D](class_sampleplayer2d) |
|
||||
| | [Area](class_area) | **K** | [KinematicBody2D](class_kinematicbody2d) | | [SceneIO](class_sceneio) |
|
||||
| | [Area2D](class_area2d) | **L** | [Label](class_label) | | [SceneInteractiveLoader](class_sceneinteractiveloader) |
|
||||
| | [Array](class_array) | | [LargeTexture](class_largetexture) | | [SceneMainLoop](class_scenemainloop) |
|
||||
| | [AtlasTexture](class_atlastexture) | | [Light](class_light) | | [ScenePreloader](class_scenepreloader) |
|
||||
| | [AudioServer](class_audioserver) | | [LineEdit](class_lineedit) | | [Script](class_script) |
|
||||
| | [AudioServerSW](class_audioserversw) | | [LineShape2D](class_lineshape2d) | | [ScrollBar](class_scrollbar) |
|
||||
| | [AudioStream](class_audiostream) | **M** | [MainLoop](class_mainloop) | | [ScrollContainer](class_scrollcontainer) |
|
||||
| | [AudioStreamGibberish](class_audiostreamgibberish) | | [MarginContainer](class_margincontainer) | | [SegmentShape2D](class_segmentshape2d) |
|
||||
| | [AudioStreamMPC](class_audiostreammpc) | | [Marshalls](class_marshalls) | | [Semaphore](class_semaphore) |
|
||||
| | [AudioStreamOGGVorbis](class_audiostreamoggvorbis) | | [Material](class_material) | | [Separator](class_separator) |
|
||||
| | [AudioStreamResampled](class_audiostreamresampled) | | [Matrix3](class_matrix3) | | [Shader](class_shader) |
|
||||
| | [AudioStreamSpeex](class_audiostreamspeex) | | [Matrix32](class_matrix32) | | [ShaderMaterial](class_shadermaterial) |
|
||||
| **B** | [BaseButton](class_basebutton) | | [MenuButton](class_menubutton) | | [Shape](class_shape) |
|
||||
| | [BitMap](class_bitmap) | | [Mesh](class_mesh) | | [Shape2D](class_shape2d) |
|
||||
| | [BoneAttachment](class_boneattachment) | | [MeshDataTool](class_meshdatatool) | | [Skeleton](class_skeleton) |
|
||||
| | [BoxContainer](class_boxcontainer) | | [MeshInstance](class_meshinstance) | | [Slider](class_slider) |
|
||||
| | [BoxShape](class_boxshape) | | [MeshLibrary](class_meshlibrary) | | [SoundPlayer2D](class_soundplayer2d) |
|
||||
| | [Button](class_button) | | [MultiMesh](class_multimesh) | | [SoundRoomParams](class_soundroomparams) |
|
||||
| | [ButtonArray](class_buttonarray) | | [MultiMeshInstance](class_multimeshinstance) | | [Spatial](class_spatial) |
|
||||
| | [ButtonGroup](class_buttongroup) | | [MultiScript](class_multiscript) | | [SpatialPlayer](class_spatialplayer) |
|
||||
| **C** | [Camera](class_camera) | | [Mutex](class_mutex) | | [SpatialSamplePlayer](class_spatialsampleplayer) |
|
||||
| | [Camera2D](class_camera2d) | **N** | [Nil](class_nil) | | [SpatialSound2DServer](class_spatialsound2dserver) |
|
||||
| | [CanvasItem](class_canvasitem) | | [Node](class_node) | | [SpatialSound2DServerSW](class_spatialsound2dserversw) |
|
||||
| | [CanvasLayer](class_canvaslayer) | | [Node2D](class_node2d) | | [SpatialSoundServer](class_spatialsoundserver) |
|
||||
| | [CapsuleShape](class_capsuleshape) | | [NodePath](class_nodepath) | | [SpatialSoundServerSW](class_spatialsoundserversw) |
|
||||
| | [CapsuleShape2D](class_capsuleshape2d) | **O** | [OS](class_os) | | [SpatialStreamPlayer](class_spatialstreamplayer) |
|
||||
| | [CarBody](class_carbody) | | [Object](class_object) | | [SphereShape](class_sphereshape) |
|
||||
| | [CarWheel](class_carwheel) | | [OmniLight](class_omnilight) | | [SpinBox](class_spinbox) |
|
||||
| | [CenterContainer](class_centercontainer) | | [OptionButton](class_optionbutton) | | [SplitContainer](class_splitcontainer) |
|
||||
| | [CheckButton](class_checkbutton) | **P** | [PHashTranslation](class_phashtranslation) | | [SpotLight](class_spotlight) |
|
||||
| | [CircleShape2D](class_circleshape2d) | | [PackedDataContainer](class_packeddatacontainer) | | [Sprite](class_sprite) |
|
||||
| | [CollisionObject](class_collisionobject) | | [PackedDataContainerRef](class_packeddatacontainerref) | | [SpriteFrames](class_spriteframes) |
|
||||
| | [CollisionObject2D](class_collisionobject2d) | | [PackedScene](class_packedscene) | | [StaticBody](class_staticbody) |
|
||||
| | [CollisionPolygon2D](class_collisionpolygon2d) | | [PacketPeer](class_packetpeer) | | [StaticBody2D](class_staticbody2d) |
|
||||
| | [CollisionShape](class_collisionshape) | | [PacketPeerStream](class_packetpeerstream) | | [StreamPeer](class_streampeer) |
|
||||
| | [CollisionShape2D](class_collisionshape2d) | | [Panel](class_panel) | | [StreamPeerTCP](class_streampeertcp) |
|
||||
| | [Color](class_color) | | [PanelContainer](class_panelcontainer) | | [StreamPlayer](class_streamplayer) |
|
||||
| | [ColorArray](class_colorarray) | | [ParallaxBackground](class_parallaxbackground) | | [String](class_string) |
|
||||
| | [ColorPicker](class_colorpicker) | | [ParallaxLayer](class_parallaxlayer) | | [StringArray](class_stringarray) |
|
||||
| | [ColorPickerButton](class_colorpickerbutton) | | [ParticleAttractor2D](class_particleattractor2d) | | [StyleBox](class_stylebox) |
|
||||
| | [ConcavePolygonShape](class_concavepolygonshape) | | [ParticleSystemMaterial](class_particlesystemmaterial) | | [StyleBoxEmpty](class_styleboxempty) |
|
||||
| | [ConcavePolygonShape2D](class_concavepolygonshape2d) | | [Particles](class_particles) | | [StyleBoxFlat](class_styleboxflat) |
|
||||
| | [ConfigFile](class_configfile) | | [Particles2D](class_particles2d) | | [StyleBoxImageMask](class_styleboximagemask) |
|
||||
| | [ConfirmationDialog](class_confirmationdialog) | | [Path](class_path) | | [StyleBoxTexture](class_styleboxtexture) |
|
||||
| | [Container](class_container) | | [Path2D](class_path2d) | | [SurfaceTool](class_surfacetool) |
|
||||
| | [Control](class_control) | | [PathFollow](class_pathfollow) | **T** | [TCP_Server](class_tcp_server) |
|
||||
| | [ConvexPolygonShape](class_convexpolygonshape) | | [PathRemap](class_pathremap) | | [TabContainer](class_tabcontainer) |
|
||||
| | [ConvexPolygonShape2D](class_convexpolygonshape2d) | | [Performance](class_performance) | | [Tabs](class_tabs) |
|
||||
| | [CubeMap](class_cubemap) | | [Physics2DDirectBodyState](class_physics2ddirectbodystate) | | [TestCube](class_testcube) |
|
||||
| | [Curve2D](class_curve2d) | | [Physics2DDirectBodyStateSW](class_physics2ddirectbodystatesw) | | [TextEdit](class_textedit) |
|
||||
| | [Curve3D](class_curve3d) | | [Physics2DDirectSpaceState](class_physics2ddirectspacestate) | | [Texture](class_texture) |
|
||||
| **D** | [DampedSpringJoint2D](class_dampedspringjoint2d) | | [Physics2DServer](class_physics2dserver) | | [TextureButton](class_texturebutton) |
|
||||
| | [Dictionary](class_dictionary) | | [Physics2DServerSW](class_physics2dserversw) | | [TextureFrame](class_textureframe) |
|
||||
| | [DirectionalLight](class_directionallight) | | [Physics2DShapeQueryResult](class_physics2dshapequeryresult) | | [TextureProgress](class_textureprogress) |
|
||||
| | [Directory](class_directory) | | [PhysicsBody](class_physicsbody) | | [Theme](class_theme) |
|
||||
| **E** | [EditableShape](class_editableshape) | | [PhysicsBody2D](class_physicsbody2d) | | [Thread](class_thread) |
|
||||
| | [EditableSphere](class_editablesphere) | | [PhysicsDirectBodyState](class_physicsdirectbodystate) | | [TileMap](class_tilemap) |
|
||||
| | [EditorImportPlugin](class_editorimportplugin) | | [PhysicsDirectBodyStateSW](class_physicsdirectbodystatesw) | | [TileSet](class_tileset) |
|
||||
| | [EditorPlugin](class_editorplugin) | | [PhysicsDirectSpaceState](class_physicsdirectspacestate) | | [Timer](class_timer) |
|
||||
| | [EditorScenePostImport](class_editorscenepostimport) | | [PhysicsServer](class_physicsserver) | | [TouchScreenButton](class_touchscreenbutton) |
|
||||
| | [EditorScript](class_editorscript) | | [PhysicsServerSW](class_physicsserversw) | | [Transform](class_transform) |
|
||||
| | [EmptyControl](class_emptycontrol) | | [PhysicsShapeQueryResult](class_physicsshapequeryresult) | | [Translation](class_translation) |
|
||||
| | [Environment](class_environment) | | [PinJoint2D](class_pinjoint2d) | | [TranslationServer](class_translationserver) |
|
||||
| | [EventPlayer](class_eventplayer) | | [Plane](class_plane) | | [Tree](class_tree) |
|
||||
| | [EventStream](class_eventstream) | | [PlaneShape](class_planeshape) | | [TreeItem](class_treeitem) |
|
||||
| | [EventStreamChibi](class_eventstreamchibi) | | [Popup](class_popup) | **U** | [UnshadedMaterial](class_unshadedmaterial) |
|
||||
| **F** | [File](class_file) | | [PopupDialog](class_popupdialog) | **V** | [VBoxContainer](class_vboxcontainer) |
|
||||
| | [FileDialog](class_filedialog) | | [PopupMenu](class_popupmenu) | | [VButtonArray](class_vbuttonarray) |
|
||||
| | [FixedMaterial](class_fixedmaterial) | | [PopupPanel](class_popuppanel) | | [VScrollBar](class_vscrollbar) |
|
||||
| | [FollowCamera](class_followcamera) | | [Portal](class_portal) | | [VSeparator](class_vseparator) |
|
||||
| | [Font](class_font) | | [Position2D](class_position2d) | | [VSlider](class_vslider) |
|
||||
| **G** | [GDNativeClass](class_gdnativeclass) | | [Position3D](class_position3d) | | [VSplitContainer](class_vsplitcontainer) |
|
||||
| | [GDScript](class_gdscript) | | [ProgressBar](class_progressbar) | | [Vector2](class_vector2) |
|
||||
| | [Geometry](class_geometry) | | [ProximityGroup](class_proximitygroup) | | [Vector2Array](class_vector2array) |
|
||||
| | [GeometryInstance](class_geometryinstance) | **Q** | [Quad](class_quad) | | [Vector3](class_vector3) |
|
||||
| | [Globals](class_globals) | | [Quat](class_quat) | | [Vector3Array](class_vector3array) |
|
||||
| | [GridContainer](class_gridcontainer) | **R** | [RID](class_rid) | | [VideoPlayer](class_videoplayer) |
|
||||
| | [GridMap](class_gridmap) | | [Range](class_range) | | [VideoStream](class_videostream) |
|
||||
| | [GrooveJoint2D](class_groovejoint2d) | | [RawArray](class_rawarray) | | [VideoStreamTheora](class_videostreamtheora) |
|
||||
| **H** | [HBoxContainer](class_hboxcontainer) | | [RayCast](class_raycast) | | [Viewport](class_viewport) |
|
||||
| | [HButtonArray](class_hbuttonarray) | | [RayCast2D](class_raycast2d) | | [VisibilityEnabler](class_visibilityenabler) |
|
||||
| | [HScrollBar](class_hscrollbar) | | [RayShape](class_rayshape) | | [VisibilityEnabler2D](class_visibilityenabler2d) |
|
||||
| | [HSeparator](class_hseparator) | | [RayShape2D](class_rayshape2d) | | [VisibilityNotifier](class_visibilitynotifier) |
|
||||
| | [HSlider](class_hslider) | | [RealArray](class_realarray) | | [VisibilityNotifier2D](class_visibilitynotifier2d) |
|
||||
| | [HSplitContainer](class_hsplitcontainer) | | [Rect2](class_rect2) | | [VisualInstance](class_visualinstance) |
|
||||
| | [HTTPClient](class_httpclient) | | [RectangleShape2D](class_rectangleshape2d) | | [VisualServer](class_visualserver) |
|
||||
| **I** | [IP](class_ip) | | [Reference](class_reference) | **W** | [WindowDialog](class_windowdialog) |
|
||||
| | [IP_Unix](class_ip_unix) | | [ReferenceFrame](class_referenceframe) | | [World](class_world) |
|
||||
| | [Image](class_image) | | [RegEx](class_regex) | | [World2D](class_world2d) |
|
||||
| | [ImagePathFinder](class_imagepathfinder) | | [RemoteTransform2D](class_remotetransform2d) | | [WorldEnvironment](class_worldenvironment) |
|
||||
| | [ImageTexture](class_imagetexture) | | [RenderTargetTexture](class_rendertargettexture) | **X** | [XMLParser](class_xmlparser) |
|
||||
| | [Input](class_input) | | [Resource](class_resource) | **b** | [bool](class_bool) |
|
||||
| | [InputDefault](class_inputdefault) | | [ResourceImportMetadata](class_resourceimportmetadata) | **i** | [int](class_int) |
|
||||
| | [InputEvent](class_inputevent) | | [ResourceInteractiveLoader](class_resourceinteractiveloader) | **r** | [real](class_real) |
|
||||
| | [InputEventAction](class_inputeventaction) | | [ResourceLoader](class_resourceloader) |
|
||||
| | [InputEventJoyButton](class_inputeventjoybutton) | | [ResourcePreloader](class_resourcepreloader) |
|
||||
| | [InputEventJoyMotion](class_inputeventjoymotion) | | [ResourceSaver](class_resourcesaver) |
|
||||
|
@ -8,6 +8,7 @@ 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 **)**
|
||||
|
||||
### 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.
|
||||
|
@ -29,8 +29,8 @@ Physics 2D Server.
|
||||
* [Matrix32](class_matrix32) **[area_get_shape_transform](#area_get_shape_transform)** **(** [RID](class_rid) area, [int](class_int) shape_idx **)** const
|
||||
* void **[area_remove_shape](#area_remove_shape)** **(** [RID](class_rid) area, [int](class_int) shape_idx **)**
|
||||
* void **[area_clear_shapes](#area_clear_shapes)** **(** [RID](class_rid) area **)**
|
||||
* void **[area_set_param](#area_set_param)** **(** [RID](class_rid) area, [int](class_int) param **)** const
|
||||
* [Matrix32](class_matrix32) **[area_set_transform](#area_set_transform)** **(** [RID](class_rid) area **)** const
|
||||
* void **[area_set_param](#area_set_param)** **(** [RID](class_rid) area, [int](class_int) param, var value **)**
|
||||
* void **[area_set_transform](#area_set_transform)** **(** [RID](class_rid) area, [Matrix32](class_matrix32) transform **)**
|
||||
* void **[area_get_param](#area_get_param)** **(** [RID](class_rid) area, [int](class_int) param **)** const
|
||||
* [Matrix32](class_matrix32) **[area_get_transform](#area_get_transform)** **(** [RID](class_rid) area **)** const
|
||||
* void **[area_attach_object_instance_ID](#area_attach_object_instance_ID)** **(** [RID](class_rid) area, [int](class_int) id **)**
|
||||
@ -40,7 +40,7 @@ Physics 2D Server.
|
||||
* 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
|
||||
* void **[body_set_mode](#body_set_mode)** **(** [RID](class_rid) body, [int](class_int) mode **)**
|
||||
* [int](class_int) **[body_get_mode](#body_get_mode)** **(** [RID](class_rid) body, [int](class_int) arg1 **)** const
|
||||
* [int](class_int) **[body_get_mode](#body_get_mode)** **(** [RID](class_rid) body **)** const
|
||||
* void **[body_add_shape](#body_add_shape)** **(** [RID](class_rid) body, [RID](class_rid) shape, [Matrix32](class_matrix32) transform=1,0, 0,1, 0,0 **)**
|
||||
* void **[body_set_shape](#body_set_shape)** **(** [RID](class_rid) body, [int](class_int) shape_idx, [RID](class_rid) shape **)**
|
||||
* void **[body_set_shape_transform](#body_set_shape_transform)** **(** [RID](class_rid) body, [int](class_int) shape_idx, [Matrix32](class_matrix32) transform **)**
|
||||
@ -53,11 +53,10 @@ Physics 2D Server.
|
||||
* [bool](class_bool) **[body_is_shape_set_as_trigger](#body_is_shape_set_as_trigger)** **(** [RID](class_rid) body, [int](class_int) shape_idx **)** const
|
||||
* void **[body_attach_object_instance_ID](#body_attach_object_instance_ID)** **(** [RID](class_rid) body, [int](class_int) id **)**
|
||||
* [int](class_int) **[body_get_object_instance_ID](#body_get_object_instance_ID)** **(** [RID](class_rid) body **)** const
|
||||
* void **[body_set_enable_continuous_collision_detection](#body_set_enable_continuous_collision_detection)** **(** [RID](class_rid) body, [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[body_is_continuous_collision_detection_enabled](#body_is_continuous_collision_detection_enabled)** **(** [RID](class_rid) body **)** const
|
||||
* void **[body_set_continuous_collision_detection_mode](#body_set_continuous_collision_detection_mode)** **(** [RID](class_rid) body, [int](class_int) mode **)**
|
||||
* [int](class_int) **[body_get_continuous_collision_detection_mode](#body_get_continuous_collision_detection_mode)** **(** [RID](class_rid) body **)** const
|
||||
* void **[body_set_param](#body_set_param)** **(** [RID](class_rid) body, [int](class_int) param, [real](class_real) value **)**
|
||||
* [real](class_real) **[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, [Matrix32](class_matrix32) 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, [Vector2](class_vector2) pos, [Vector2](class_vector2) impulse **)**
|
||||
@ -117,6 +116,9 @@ Physics 2D Server.
|
||||
* **DAMPED_STRING_REST_LENGTH** = **0**
|
||||
* **DAMPED_STRING_STIFFNESS** = **1**
|
||||
* **DAMPED_STRING_DAMPING** = **2**
|
||||
* **CCD_MODE_DISABLED** = **0**
|
||||
* **CCD_MODE_CAST_RAY** = **1**
|
||||
* **CCD_MODE_CAST_SHAPE** = **2**
|
||||
* **AREA_BODY_ADDED** = **0**
|
||||
* **AREA_BODY_REMOVED** = **1**
|
||||
|
||||
|
@ -27,8 +27,8 @@ Rigid body 2D node.
|
||||
* [bool](class_bool) **[is_using_custom_integrator](#is_using_custom_integrator)** **(** **)**
|
||||
* void **[set_contact_monitor](#set_contact_monitor)** **(** [bool](class_bool) enabled **)**
|
||||
* [bool](class_bool) **[is_contact_monitor_enabled](#is_contact_monitor_enabled)** **(** **)** const
|
||||
* void **[set_use_continuous_collision_detection](#set_use_continuous_collision_detection)** **(** [bool](class_bool) enable **)**
|
||||
* [bool](class_bool) **[is_using_continuous_collision_detection](#is_using_continuous_collision_detection)** **(** **)** const
|
||||
* void **[set_continuous_collision_detection_mode](#set_continuous_collision_detection_mode)** **(** [int](class_int) mode **)**
|
||||
* [int](class_int) **[get_continuous_collision_detection_mode](#get_continuous_collision_detection_mode)** **(** **)** const
|
||||
* void **[set_axis_velocity](#set_axis_velocity)** **(** [Vector2](class_vector2) axis_velocity **)**
|
||||
* void **[apply_impulse](#apply_impulse)** **(** [Vector2](class_vector2) pos, [Vector2](class_vector2) impulse **)**
|
||||
* void **[set_applied_force](#set_applied_force)** **(** [Vector2](class_vector2) force **)**
|
||||
@ -49,6 +49,9 @@ Rigid body 2D node.
|
||||
* **MODE_KINEMATIC** = **3**
|
||||
* **MODE_RIGID** = **0** - Rigid body, can move and rotate.
|
||||
* **MODE_CHARACTER** = **2** - Character body, can move but not rotate.
|
||||
* **CCD_MODE_DISABLED** = **0**
|
||||
* **CCD_MODE_CAST_RAY** = **1**
|
||||
* **CCD_MODE_CAST_SHAPE** = **2**
|
||||
|
||||
### Description
|
||||
Rigid body 2D node. This node is used for placing rigid bodies in the scene. It can contain a number of shapes, and also shift state between regular Rigid Body to Character or even Static.
|
||||
@ -163,16 +166,6 @@ Enable contact monitoring. (the signals to notify when a body entered/exited col
|
||||
|
||||
Return wether contact monitoring is enabled.
|
||||
|
||||
#### <a name="set_use_continuous_collision_detection">set_use_continuous_collision_detection</a>
|
||||
* void **set_use_continuous_collision_detection** **(** [bool](class_bool) enable **)**
|
||||
|
||||
Enable continuos collision detection. This prevents very fast-moving bodies (such as bullets) to not go through objects.
|
||||
|
||||
#### <a name="is_using_continuous_collision_detection">is_using_continuous_collision_detection</a>
|
||||
* [bool](class_bool) **is_using_continuous_collision_detection** **(** **)** const
|
||||
|
||||
Return true if continuous collision detection is in use.
|
||||
|
||||
#### <a name="set_axis_velocity">set_axis_velocity</a>
|
||||
* void **set_axis_velocity** **(** [Vector2](class_vector2) axis_velocity **)**
|
||||
|
||||
|
@ -8,6 +8,10 @@ Base class for all 2D Shapes.
|
||||
### Member Functions
|
||||
* void **[set_custom_solver_bias](#set_custom_solver_bias)** **(** [real](class_real) bias **)**
|
||||
* [real](class_real) **[get_custom_solver_bias](#get_custom_solver_bias)** **(** **)** const
|
||||
* [bool](class_bool) **[collide](#collide)** **(** [Matrix32](class_matrix32) local_xform, [Shape2D](class_shape2d) with_shape, [Matrix32](class_matrix32) shape_xform **)**
|
||||
* [bool](class_bool) **[collide_with_motion](#collide_with_motion)** **(** [Matrix32](class_matrix32) local_xform, [Vector2](class_vector2) local_motion, [Shape2D](class_shape2d) with_shape, [Matrix32](class_matrix32) shape_xform, [Vector2](class_vector2) shape_motion **)**
|
||||
* void **[collide_and_get_contacts](#collide_and_get_contacts)** **(** [Matrix32](class_matrix32) local_xform, [Shape2D](class_shape2d) with_shape, [Matrix32](class_matrix32) shape_xform **)**
|
||||
* void **[collide_with_motion_and_get_contacts](#collide_with_motion_and_get_contacts)** **(** [Matrix32](class_matrix32) local_xform, [Object](class_object) local_motion, [Shape2D](class_shape2d) with_shape **)**
|
||||
|
||||
### Description
|
||||
Base class for all 2D Shapes. All 2D shape types inherit from this.
|
||||
|
@ -6,8 +6,6 @@
|
||||
Static body for 2D Physics.
|
||||
|
||||
### 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)** **(** [Vector2](class_vector2) vel **)**
|
||||
* void **[set_constant_angular_velocity](#set_constant_angular_velocity)** **(** [real](class_real) vel **)**
|
||||
* [Vector2](class_vector2) **[get_constant_linear_velocity](#get_constant_linear_velocity)** **(** **)** const
|
||||
@ -25,16 +23,6 @@ Static body for 2D Physics. A static body is a simple body that is not intended
|
||||
|
||||
### Member Function Description
|
||||
|
||||
#### <a name="set_simulate_motion">set_simulate_motion</a>
|
||||
* void **set_simulate_motion** **(** [bool](class_bool) enabled **)**
|
||||
|
||||
Enable or disable simulated motion mode.
|
||||
|
||||
#### <a name="is_simulating_motion">is_simulating_motion</a>
|
||||
* [bool](class_bool) **is_simulating_motion** **(** **)** const
|
||||
|
||||
Return true if simulated motion mode is enabled.
|
||||
|
||||
#### <a name="set_constant_linear_velocity">set_constant_linear_velocity</a>
|
||||
* void **set_constant_linear_velocity** **(** [Vector2](class_vector2) vel **)**
|
||||
|
||||
|
@ -31,6 +31,8 @@ Theme for controls.
|
||||
* [bool](class_bool) **[has_constant](#has_constant)** **(** [String](class_string) name, [String](class_string) type **)** const
|
||||
* void **[clear_constant](#clear_constant)** **(** [String](class_string) name, [String](class_string) type **)**
|
||||
* [StringArray](class_stringarray) **[get_constant_list](#get_constant_list)** **(** [String](class_string) arg0 **)** const
|
||||
* void **[set_default_font](#set_default_font)** **(** [Object](class_object) font **)**
|
||||
* [Object](class_object) **[get_default_font](#get_default_font)** **(** **)** const
|
||||
* [StringArray](class_stringarray) **[get_type_list](#get_type_list)** **(** [String](class_string) arg0 **)** const
|
||||
* void **[copy_default_theme](#copy_default_theme)** **(** **)**
|
||||
|
||||
|
@ -11,8 +11,10 @@ Tile library for tilemaps.
|
||||
* [String](class_string) **[tile_get_name](#tile_get_name)** **(** [int](class_int) id **)** const
|
||||
* void **[tile_set_texture](#tile_set_texture)** **(** [int](class_int) id, [Texture](class_texture) texture **)**
|
||||
* [Texture](class_texture) **[tile_get_texture](#tile_get_texture)** **(** [int](class_int) id **)** const
|
||||
* void **[tile_set_offset](#tile_set_offset)** **(** [int](class_int) id, [Vector2](class_vector2) offset **)**
|
||||
* [Vector2](class_vector2) **[tile_get_offset](#tile_get_offset)** **(** [int](class_int) id **)** const
|
||||
* void **[tile_set_texture_offset](#tile_set_texture_offset)** **(** [int](class_int) id, [Vector2](class_vector2) texture_offset **)**
|
||||
* [Vector2](class_vector2) **[tile_get_texture_offset](#tile_get_texture_offset)** **(** [int](class_int) id **)** const
|
||||
* void **[tile_set_shape_offset](#tile_set_shape_offset)** **(** [int](class_int) id, [Vector2](class_vector2) shape_offset **)**
|
||||
* [Vector2](class_vector2) **[tile_get_shape_offset](#tile_get_shape_offset)** **(** [int](class_int) id **)** const
|
||||
* void **[tile_set_region](#tile_set_region)** **(** [int](class_int) id, [Rect2](class_rect2) region **)**
|
||||
* [Rect2](class_rect2) **[tile_get_region](#tile_get_region)** **(** [int](class_int) id **)** const
|
||||
* void **[tile_set_shape](#tile_set_shape)** **(** [int](class_int) id, [Shape2D](class_shape2d) shape **)**
|
||||
@ -23,6 +25,7 @@ Tile library for tilemaps.
|
||||
* void **[clear](#clear)** **(** **)**
|
||||
* [int](class_int) **[get_last_unused_tile_id](#get_last_unused_tile_id)** **(** **)** const
|
||||
* [int](class_int) **[find_tile_by_name](#find_tile_by_name)** **(** [String](class_string) name **)** const
|
||||
* [Array](class_array) **[get_tiles_ids](#get_tiles_ids)** **(** **)** const
|
||||
|
||||
### Description
|
||||
A TileSet is a library of tiles for a [TileMap](class_tilemap). It contains a list of tiles, each consisting of a sprite and optional collision shapes.
|
||||
@ -54,16 +57,6 @@ Set the texture of the tile.
|
||||
|
||||
Return the texture of the tile.
|
||||
|
||||
#### <a name="tile_set_offset">tile_set_offset</a>
|
||||
* void **tile_set_offset** **(** [int](class_int) id, [Vector2](class_vector2) offset **)**
|
||||
|
||||
Set the offset to draw the tile.
|
||||
|
||||
#### <a name="tile_get_offset">tile_get_offset</a>
|
||||
* [Vector2](class_vector2) **tile_get_offset** **(** [int](class_int) id **)** const
|
||||
|
||||
Return the offset to draw the tile.
|
||||
|
||||
#### <a name="tile_set_region">tile_set_region</a>
|
||||
* void **tile_set_region** **(** [int](class_int) id, [Rect2](class_rect2) region **)**
|
||||
|
||||
|
@ -17,7 +17,9 @@ Vector used for 2D Math.
|
||||
* [real](class_real) **[length_squared](#length_squared)** **(** **)**
|
||||
* [Vector2](class_vector2) **[linear_interpolate](#linear_interpolate)** **(** [Vector2](class_vector2) b, [real](class_real) t **)**
|
||||
* [Vector2](class_vector2) **[normalized](#normalized)** **(** **)**
|
||||
* [real](class_real) **[reflect](#reflect)** **(** [Vector2](class_vector2) vec **)**
|
||||
* [Vector2](class_vector2) **[rotated](#rotated)** **(** [real](class_real) phi **)**
|
||||
* [real](class_real) **[slide](#slide)** **(** [Vector2](class_vector2) vec **)**
|
||||
* [Vector2](class_vector2) **[snapped](#snapped)** **(** [Vector2](class_vector2) by **)**
|
||||
* [Vector2](class_vector2) **[tangent](#tangent)** **(** **)**
|
||||
* void **[Vector2](#Vector2)** **(** [real](class_real) x, [real](class_real) y **)**
|
||||
|
@ -21,7 +21,8 @@
|
||||
* [int](class_int) **[get_current_line](#get_current_line)** **(** **)** const
|
||||
* void **[skip_section](#skip_section)** **(** **)**
|
||||
* [int](class_int) **[seek](#seek)** **(** [int](class_int) arg0 **)**
|
||||
* [int](class_int) **[open](#open)** **(** [String](class_string) arg0 **)**
|
||||
* [int](class_int) **[open](#open)** **(** [String](class_string) file **)**
|
||||
* [int](class_int) **[open_buffer](#open_buffer)** **(** [RawArray](class_rawarray) buffer **)**
|
||||
|
||||
### Numeric Constants
|
||||
* **NODE_NONE** = **0**
|
||||
|
Loading…
Reference in New Issue
Block a user