Detects when the node is visible on screen.
    public class VisibilityNotifier : Spatial

The VisibilityNotifier detects when it is visible on the screen. It also notifies when its bounding rectangle enters or exits the screen or a Camera’s view.

Inheritance Chain

Derived Classes

Constructors

    public VisibilityNotifier()

Signals

    "camera_entered" (Object camera)

Emitted when the VisibilityNotifier enters a Camera’s view.

    "camera_exited" (Object camera)

Emitted when the VisibilityNotifier exits a Camera’s view.

    "screen_entered" ()

Emitted when the VisibilityNotifier enters the screen.

    "screen_exited" ()

Emitted when the VisibilityNotifier exits the screen.

Properties

    public AABB Aabb { get; set; }

The VisibilityNotifier’s bounding box.

Methods

    public AABB GetAabb()

Getter for Aabb

    public bool IsOnScreen()

If true the bounding box is on the screen.

    public void SetAabb(AABB rect)

Setter for Aabb

Tags: