Enables certain nodes only when approximately visible.
The VisibilityEnabler3D will disable [RigidBody3D] and [AnimationPlayer] nodes when they are not visible. It will only affect other nodes within the same scene as the VisibilityEnabler3D itself.
[b]Note:[/b] VisibilityEnabler3D uses an approximate heuristic for performance reasons. It doesn't take walls and other occlusion into account. If you need exact visibility checking, use another method such as adding an [Area3D] node as a child of a [Camera3D] node.
[b]Note:[/b] VisibilityEnabler3D will not affect nodes added after scene initialization.
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.