[18:7] extends: Component
Wraps FXGL's OffscreenInvisibleComponent (com.almasb.fxgl.dsl.components.OffscreenInvisibleComponent). Hides the entity when its bounding box leaves the viewport's visible area and re-shows it when it comes back. The entity is not removed; only its visibility toggles. Must be constructed inside a running FXGL game.
OffscreenInvisibleComponent ()
Creates a new OffscreenInvisibleComponent.
adopt (object Ajo)
Wraps an existing OffscreenInvisibleComponent AussomJavaObject.
getViewport ()
Returns the Viewport AJO this component watches.