diff options
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/NativeMenu.xml | 11 | ||||
-rw-r--r-- | doc/classes/PhysicalSkyMaterial.xml | 1 |
2 files changed, 10 insertions, 2 deletions
diff --git a/doc/classes/NativeMenu.xml b/doc/classes/NativeMenu.xml index 475874dee7..2b9e414106 100644 --- a/doc/classes/NativeMenu.xml +++ b/doc/classes/NativeMenu.xml @@ -473,6 +473,14 @@ [b]Note:[/b] This method is implemented on macOS and Windows. </description> </method> + <method name="is_opened" qualifiers="const"> + <return type="bool" /> + <param index="0" name="rid" type="RID" /> + <description> + Returns [code]true[/code] if the menu is currently opened. + [b]Note:[/b] This method is implemented only on macOS. + </description> + </method> <method name="is_system_menu" qualifiers="const"> <return type="bool" /> <param index="0" name="rid" type="RID" /> @@ -699,6 +707,7 @@ <param index="1" name="callback" type="Callable" /> <description> Registers callable to emit when the menu is about to show. + [b]Note:[/b] The OS can simulate menu opening to track menu item changes and global shortcuts, in which case the corresponding close callback is not triggered. Use [method is_opened] to check if the menu is currently opened. [b]Note:[/b] This method is implemented only on macOS. </description> </method> @@ -707,7 +716,7 @@ <param index="0" name="rid" type="RID" /> <param index="1" name="callback" type="Callable" /> <description> - Registers callable to emit when the menu is about to closed. + Registers callable to emit after the menu is closed. [b]Note:[/b] This method is implemented only on macOS. </description> </method> diff --git a/doc/classes/PhysicalSkyMaterial.xml b/doc/classes/PhysicalSkyMaterial.xml index 13f9d93e66..460134e5ba 100644 --- a/doc/classes/PhysicalSkyMaterial.xml +++ b/doc/classes/PhysicalSkyMaterial.xml @@ -6,7 +6,6 @@ <description> The [PhysicalSkyMaterial] uses the Preetham analytic daylight model to draw a sky based on physical properties. This results in a substantially more realistic sky than the [ProceduralSkyMaterial], but it is slightly slower and less flexible. The [PhysicalSkyMaterial] only supports one sun. The color, energy, and direction of the sun are taken from the first [DirectionalLight3D] in the scene tree. - As it is based on a daylight model, the sky fades to black as the sunset ends. If you want a full day/night cycle, you will have to add a night sky by converting this to a [ShaderMaterial] and adding a night sky directly into the resulting shader. </description> <tutorials> </tutorials> |