summaryrefslogtreecommitdiffstats
path: root/doc/classes/Viewport.xml
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #49063 from Calinou/remove-16x-msaaRémi Verschelde2021-09-131-4/+1
|\ | | | | Remove 16× MSAA support due to driver bugs and low performance
| * Remove 16× MSAA support due to driver bugs and low performanceHugo Locurcio2021-08-251-4/+1
| | | | | | | | | | | | | | | | | | | | In the `master` branch, 16× MSAA caused the entire system to freeze on NVIDIA GPUs. This is likely caused by graphics drivers not actually implementing 16× MSAA, but combining 8× MSAA with 2× SSAA instead. On top of that, modern shader complexity makes 16× MSAA very difficult to use while keeping a good framerate. 8× MSAA is hard enough to use as it is.
* | Merge pull request #50336 from SirQuartz/patch-20Max Hilbrunner2021-09-091-0/+1
|\ \ | | | | | | Add description to `Viewport`
| * | Add method description to `is_embedding_subwindows` in `Viewport`Nick Huelin2021-07-101-0/+1
| | | | | | | | | This pull request adds a missing method description to `Viewport` in the class docs.
* | | Optionally scale 3D render contentBastiaan Olij2021-08-261-0/+13
| |/ |/|
* | Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz2021-08-231-16/+16
| | | | | | | | | | | | | | | | * `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions. * Everything else converted to GDVIRTUAL * BIND_VMETHOD is gone, always use the new syntax from now on. Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
* | Use the Unicode multiplication symbol where relevantHugo Locurcio2021-08-121-5/+5
| |
* | Organize methods in Viewport and explicitly name 3D methods with 3DAaron Franke2021-08-101-1/+1
| |
* | doc: Use self-closing tags for `return` and `argument`Rémi Verschelde2021-07-301-66/+33
| | | | | | | | | | | | | | | | For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
* | add viewport.get_camera_2d()Josh Chandler2021-07-031-2/+9
|/ | | | | | * there is now a more clear distinction between camera_2d and camera_3d functions in the engine code * simplified camera2d's exported interface - now everything happens directly with the 'current' variable and make_current and clear_current are no longer exposed- there were some situations where calling one instead of set_current would result in incomplete results * rebased to current godot master
* Fix Render Inforeduz2021-07-031-13/+11
| | | | | | | | * Fixed and redone the process to obtain render information from a viewport * Some stats, such as material changes are too difficult to guess on Vulkan, were removed. * Separated visible and shadow stats, which causes confusion. * Texture, buffer and general video memory can be queried now. * Fixed the performance metrics too.
* Fixes to 2D viewportreduz2021-06-291-0/+3
| | | | | * Editor 2D viewport now uses embedded subwindows (windows no longer pop up) * Restored the ability to disable 3D on the 2D viewport (makes 3D not display on 2D when there is a camera on the scene)
* Refactor VisibilityNotifier3Dreduz2021-06-161-7/+0
| | | | | | | * This is the 3D counterpart to #49632 * Implemented a bit different as 3D works using instancing After merged, both 2D and 3D classes will most likely be renamed in a separate PR to DisplayNotifier2D/3D.
* Consistently prefix bound virtual methods with _kobewi2021-06-121-1/+1
|
* Merge pull request #47584 from HaSa1002/docs-lang-7Rémi Verschelde2021-06-111-2/+8
|\
| * Port code examples to C# (V)Johannes2021-06-111-2/+8
| | | | | | | | | | | | | | | | | | | | Includes: * Variant * Viewport and two fixes in Array that were pointed out in #40978 VisualScript classes are skipped on purpose. That is the final commit of the inital code porting to C#. :)
* | Rename GI Classesreduz2021-06-051-6/+6
| | | | | | | | | | | | | | * GIProbe is now VoxelGI * BakedLightmap is now LightmapGI As godot adds more ways to provide GI (as an example, SDFGI in 4.0), the different techniques (which have different pros/cons) need to be properly named to avoid confusion.
* | Move XR flag from subviewport into viewportBastiaan Olij2021-05-011-0/+3
| |
* | Implement occlusion cullingjfons2021-04-231-0/+4
|/ | | | | | | | | Added an occlusion culling system with support for static occluder meshes. It can be enabled via `Project Settings > Rendering > Occlusion Culling > Use Occlusion Culling`. Occluders are defined via the new `Occluder3D` resource and instanced using the new `OccluderInstance3D` node. The occluders can also be automatically baked from a scene using the built-in editor plugin.
* Rename Texture.get_data() to get_image()Marcel Admiraal2021-03-281-2/+2
|
* doc: Sync classref with current sourceRémi Verschelde2021-01-281-2/+12
|
* doc: Sync classref with current sourceRémi Verschelde2021-01-041-0/+4
|
* Merge pull request #44756 from Jummit/add-s-viewport-docsRémi Verschelde2020-12-281-1/+1
|\ | | | | Add missing "s" in Viewport documentation
| * fix missing "s" in Viewport docsJummit2020-12-281-1/+1
| |
* | doc: Sync classref with current sourceRémi Verschelde2020-12-041-0/+22
|/ | | | | | | | And fixups: - Add missing bindings in RenderingServer - Remove duplicate ArrayMesh enum bindings (they're in Mesh already) - Remove redundant _unhandled_key_input binding in Control (it's in Node already)
* doc: Sync classref with current source + fixup some bindingsRémi Verschelde2020-11-041-0/+6
| | | | Includes various changes triggered by the refactoring of method bindings.
* Link to demos from within the class referenceAaron Franke2020-10-011-0/+6
|
* Add link titles for all links in the class referenceHugo Locurcio2020-08-311-2/+2
| | | | | This makes them display in a nicer way in the editor help. (The title will display instead of the full URL.)
* Fix spelling & grammar in comments, docs, and messagesAndy Maloney2020-07-211-1/+1
|
* Environment: Refactor code for readability + moreRémi Verschelde2020-07-011-5/+8
| | | | | | | | | | | | - Makes all boolean setters/getters consistent. - Fixes bug where `glow_hdr_bleed_scale` was not used. - Split CameraEffects to their own source file. - Reorder all Environment method and properties declarations, definitions and bindings to be consistent with each other and with the order of property bindings. - Bind missing enum values added with SDFGI. - Remove unused SDFGI enhance_ssr boolean. - Sync doc changes after SDFGI merge and other misc changes.
* doc: Sync classref with current sourceRémi Verschelde2020-05-041-11/+11
|
* doc: Sync classref with current sourceRémi Verschelde2020-04-201-24/+31
| | | | Add missing enum bindings.
* Update many docs with recent rendering changesclayjohn2020-04-171-2/+40
|
* Rename ViewportContainer to SubViewportContainerMichael Alexsander2020-04-011-1/+1
|
* doc: Sync classref with DisplayServer/Window changesRémi Verschelde2020-03-311-85/+16
|
* doc: Update classref with node renamesRémi Verschelde2020-03-301-8/+8
| | | | A few extra renames for classes which were missed in last week's PRs.
* Fix MIMPAMPS typos in constants throughout the engineAndrii Doroshenko (Xrayez)2020-02-201-1/+1
|
* doc: Sync classref with current sourceRémi Verschelde2020-02-121-30/+39
| | | | | | | | Lots of internal API changes and some docstrings were lost in the conversion. I manually salvaged many of them but for all the rendering-related ones, an additional pass is needed. Added missing enum bindings in BaseMaterial3D and VisualServer.
* Update docs to version 4.0clayjohn2020-01-311-1/+1
|
* doc: Sync classref with current sourceRémi Verschelde2020-01-281-1/+1
| | | | Fix a few typos.
* doc: Drop unused 'category' property from headerRémi Verschelde2020-01-261-1/+1
| | | | | | | | | | We already removed it from the online docs with #35132. Currently it can only be "Built-In Types" (Variant types) or "Core" (everything else), which is of limited use. We might also want to consider dropping it from `ClassDB` altogether in Godot 4.0.
* Complete various class referencesclayjohn2020-01-261-6/+25
|
* doc: Sync classref with current sourceRémi Verschelde2019-12-171-6/+6
|
* Scroll ScrollContainer to focused childrenTomasz Chabora2019-12-111-0/+7
|
* Update Viewport.xmlRobert Colton2019-11-241-0/+1
| | | Add description for gui_is_dragging to document drag and drop behavior.
* Improve documentation pertaining to shadow atlas sizesHugo Locurcio2019-09-041-1/+2
| | | | This partially addresses #27650.
* doc: Sync classref with current sourceRémi Verschelde2019-07-151-1/+1
|
* Merge pull request #30125 from akien-mga/docdata-expose-parametric-setgetRémi Verschelde2019-07-091-0/+18
|\ | | | | DocData: Re-expose parametric setters and getters
| * DocData: Re-expose parametric setters and gettersRémi Verschelde2019-07-041-0/+18
| | | | | | | | | | | | | | | | | | Setters and getters have been hidden from the documentation when the matching properties have been exposed, but some of them are parametric and require the name or index of a given parameter to be used. So they need to be properly documented with the type and name of the arguments they take. For example, CPUParticles' `set_param(Parameter param, float value)`.
* | Clearify how hex_to_int expects a '0x' prefixed string. Provide a small ↵lmp2019-07-071-16/+0
| | | | | | | | hex_to_int example