From 6e98c4cd502949fc3659c882ac671a69457251b4 Mon Sep 17 00:00:00 2001 From: reduz Date: Wed, 16 Jun 2021 15:43:02 -0300 Subject: Refactor VisibilityNotifier3D * 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. --- doc/classes/RenderingServer.xml | 2 +- doc/classes/Viewport.xml | 7 ------- doc/classes/VisibilityEnabler3D.xml | 35 +++++------------------------------ doc/classes/VisibilityNotifier3D.xml | 16 +--------------- 4 files changed, 7 insertions(+), 53 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml index 9b9644093f..300108ff77 100644 --- a/doc/classes/RenderingServer.xml +++ b/doc/classes/RenderingServer.xml @@ -3702,7 +3702,7 @@ - + Represents the size of the [enum InstanceType] enum. diff --git a/doc/classes/Viewport.xml b/doc/classes/Viewport.xml index 96d63b27ad..292be34a0d 100644 --- a/doc/classes/Viewport.xml +++ b/doc/classes/Viewport.xml @@ -179,13 +179,6 @@ - - - - - Forces update of the 2D and 3D worlds. - - diff --git a/doc/classes/VisibilityEnabler3D.xml b/doc/classes/VisibilityEnabler3D.xml index d78ebb55f2..4614859a44 100644 --- a/doc/classes/VisibilityEnabler3D.xml +++ b/doc/classes/VisibilityEnabler3D.xml @@ -12,44 +12,19 @@ - - - - - - - Returns whether the enabler identified by given [enum Enabler] constant is active. - - - - - - - - - - - Sets active state of the enabler identified by given [enum Enabler] constant. - - - - If [code]true[/code], [RigidBody3D] nodes will be paused. + - - If [code]true[/code], [AnimationPlayer] nodes will be paused. + - - This enabler will pause [AnimationPlayer] nodes. + - - This enabler will freeze [RigidBody3D] nodes. + - - Represents the size of the [enum Enabler] enum. + diff --git a/doc/classes/VisibilityNotifier3D.xml b/doc/classes/VisibilityNotifier3D.xml index e5d3116612..bd6c03ea20 100644 --- a/doc/classes/VisibilityNotifier3D.xml +++ b/doc/classes/VisibilityNotifier3D.xml @@ -1,5 +1,5 @@ - + Detects approximately when the node is visible on screen. @@ -26,20 +26,6 @@ - - - - - Emitted when the VisibilityNotifier3D enters a [Camera3D]'s view. - - - - - - - Emitted when the VisibilityNotifier3D exits a [Camera3D]'s view. - - Emitted when the VisibilityNotifier3D enters the screen. -- cgit v1.2.3