Particles2D.visibilityRect

The Rect2 that determines the node's region which needs to be visible on screen for the particle system to be active. Grow the rect if particles suddenly appear/disappear when the node enters/exits the screen. The Rect2 can be grown via code or with the Particles → Generate Visibility Rect editor tool.

  1. Rect2 visibilityRect [@property getter]
    struct Particles2D
    @nogc nothrow @property
    Rect2
    visibilityRect
    ()
  2. Rect2 visibilityRect [@property setter]

Meta