file: ViewComponent.aus

class: ViewComponent

[18:7] extends: Component

Wraps FXGL's ViewComponent (com.almasb.fxgl.entity.components.ViewComponent), the component that holds an entity's visual children — child Nodes, opacity, z-index, visibility, and the JavaFX event pipeline that fires on the view's parent Group. Reachable through Entity.getViewComponent() or the Entity-level convenience methods (addViewNode, removeViewNode, setView).

Methods