summaryrefslogtreecommitdiff
path: root/doc/classes
AgeCommit message (Collapse)Author
2019-05-22Expose 2D polygon boolean operations in Geometry singletonAndrii Doroshenko (Xrayez)
Clipper 6.4.2 is used internally to perform polypaths clipping, as well as inflating/deflating polypaths. The following methods were added: ``` Geometry.merge_polygons_2d(poly_a, poly_b) # union Geometry.clip_polygons_2d(poly_a, poly_b) # difference Geometry.intersect_polygons_2d(poly_a, poly_b) # intersection Geometry.exclude_polygons_2d(poly_a, poly_b) # xor Geometry.clip_polyline_with_polygon_2d(poly_a, poly_b) Geometry.intersect_polyline_with_polygon_2d(poly_a, poly_b) Geometry.offset_polygon_2d(polygon, delta) # inflate/deflate Geometry.offset_polyline_2d(polyline, delta) # returns polygons // This one helps to implement CSG-like behaviour: Geometry.transform_points_2d(points, transform) ``` All the methods return an array of polygons/polylines. The resulting polygons could possibly be holes which could be checked with `Geometry.is_polygon_clockwise()` which was exposed to scripting as well.
2019-05-22Merge pull request #29022 from mrcdk/preview_generator_fixesRémi Verschelde
Add some extra functions to EditorResourcePreviewGenerator
2019-05-21doc: Sync classref with current sourceRémi Verschelde
2019-05-20Merge pull request #27886 from LeonardMeagher2/obj_to_stringRémi Verschelde
Allow overriding how scripted objects are converted to strings
2019-05-20Merge pull request #28985 from rcorre/advance_condition_docsRémi Verschelde
Clarify auto_advance.
2019-05-20doc: Document default value for PhysicsBody collision layersRémi Verschelde
Supersedes #28971. Co-authored-by: Mitch Curtis <mitch.curtis@qt.io>
2019-05-20Renamed EditorResourcePreviewGenerator.should_generate_small_preview() to ↵MrCdK
generate_small_preview_automatically() Added can_generate_small_preview() so the generator uses generate() or generate_from_path() if it returns true Added can_generate_small_preview() and generate_small_preview_automatically() to the scripting languages
2019-05-19Clarify auto_advance.Ryan Roden-Corrent
Make the docs more clear about how you can use auto_advance. Calling it a "variable" is vague, so I updated the docs to clearly state that it becomes a boolean parameter on the AnimationTree. Fixes godotengine/godot-docs#2439.
2019-05-19Fix typos with codespellRémi Verschelde
Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-05-17Merge pull request #28366 from iwek7/feature/issue28355/showSpacesInEditorMax Hilbrunner
Add feature to show spaces in code editor
2019-05-17Merge pull request #28959 from volzhs/doc-editor-plugin-update_overlaysMax Hilbrunner
Add description for EditorPlugin.update_overlays
2019-05-17Add description for EditorPlugin.update_overlaysvolzhs
2019-05-17Merge pull request #28950 from YeldhamDev/doc_string_format_linkJulian Murgia
Add "String Formatting" tutorial link to the 'String' doc
2019-05-16Add "String Formatting" tutorial link to the 'String' docMichael Alexsander Silva Dias
2019-05-16Merge pull request #28587 from Daw11/lanczosMax Hilbrunner
Implement Lanczos image filter
2019-05-15doc: Fix issues found by the parserRémi Verschelde
2019-05-15doc: Sync classref with current sourceRémi Verschelde
2019-05-14Improve the CanvasItem documentationHugo Locurcio
This makes it clear that line width and antialiasing in `draw_multiline()` aren't implemented yet (see #16448).
2019-05-13Merge pull request #28326 from BastiaanOlij/center_heightmapRémi Verschelde
Center shape according to logic Bullet applies
2019-05-11updated description of Array.shuffle to properly describe that it uses the ↵hbina085
same common seed at every runtime, thus being reproducible in general
2019-05-08Docs: Add tutorials for KinematicBody2DGuilherme Felipe
2019-05-07Improved the AnimatedSprite docs; added description to speed_scale.Ken Paulson
2019-05-07Add transform support to deal with Bullets centering of shapesBastiaan Olij
2019-05-07Center shape according to logic Bullet appliesBastiaan Olij
2019-05-06Merge pull request #28330 from BastiaanOlij/improve_multimeshRémi Verschelde
Added set_as_bulk_array, fixed transform2D saving and documentation
2019-05-05Implement Lanczos image filterDaw11
2019-05-05Merge pull request #28643 from t-karcher/patch-1Max Hilbrunner
Update of RigidBody2D class description
2019-05-04Document dictionary erase return valuelopho
2019-05-03Allow overriding how scripted objects are converted to stringsLeonard Meagher
solves #26796 - ADD `String to_string()` method to Object which can be overriden by `String _to_string()` in scripts - ADD `String to_string(r_valid)` method to ScriptInstance to allow langauges to control how scripted objects are converted to strings - IMPLEMENT to_string for GDScriptInstance, VisualScriptInstance, and NativeScriptInstance - ADD Documentation about `Object.to_string` and `Object._to_string` - Changed `Variant::operator String` to use `obj->to_string()`
2019-05-03Update of RigidBody2D class descriptionThomas Karcher
Added a hint in the RigidBody2D class description regarding the transformation issue mentioned in https://github.com/godotengine/godot/issues/5734
2019-05-03Merge pull request #28636 from bojidar-bg/d2426-panel-stylesRémi Verschelde
Remove unused panelf and panelnc styles
2019-05-03Remove unused `panelf` and `panelnc` stylesBojidar Marinov
Fixes godotengine/godot-docs#2426
2019-05-02Document CollisionObject2D pickable requires collision_layerlopho
Documents CollisionObject2D mouse_entered, mouse_exited and input_event requiring at least one collision_layer to be set.
2019-05-01Merge pull request #28542 from Anchakor/masterMax Hilbrunner
Small documentation improvements
2019-05-01Expose TextEdit's drawSpaces feature to GDScriptmiwanczuk
2019-05-01Small documentation improvementsJiří Procházka
2019-05-01Merge pull request #25453 from nekomatata/button-keep-pressed-optionRémi Verschelde
Add option to keep button pressed when moving cursor outside while pressing
2019-04-30Make "decimal" functions more consistentAaron Franke
In GDScript, rename "decimals" to "step_decimals". In C#, add "StepDecimals", but keep the old functionality in a method called "DecimalCount".
2019-04-30Merge pull request #25670 from aqnuep/bake_mode_affect_gi_proveRémi Verschelde
Disable GI probe capturing lights with bake mode disabled
2019-04-30doc: Sync classref with current sourceRémi Verschelde
2019-04-30Merge pull request #27656 from Calinou/doc-lineedit-keybindingsRémi Verschelde
Document built-in LineEdit keybindings
2019-04-30Merge pull request #27805 from Kanabenki/line2d-add-point-idxRémi Verschelde
Add optional position argument for add_point in Line2D
2019-04-30Merge pull request #27870 from mawenzy/pr_gotolineRémi Verschelde
Bind goto_line function for Script Editor
2019-04-29Merge pull request #28399 from YeldhamDev/textedit_expose_tab_foldRémi Verschelde
Expose 'TextEdit's tab drawing and folding to GDScript
2019-04-29Merge pull request #18992 from aaronfranke/mono-equal-approxRémi Verschelde
[Core] [Mono] Improve and use approximate equality methods
2019-04-27changed references to array types in arraymesh docclayjohn
2019-04-27Added docs to AudioStreamPlayer for get_mix_timeJuan Linietsky
2019-04-26Added set_as_bulk_array, fixed transform2D saving and documentation to MultiMeshBastiaan Olij
2019-04-25[Core] Expose approximate equality methods to GDScriptAaron Franke
2019-04-25Merge pull request #28359 from Calinou/doc-improve-projectsettingsMax Hilbrunner
Improve the ProjectSettings documentation