com.badlogic.gdx.scenes.scene2d.utils
Interface Cullable
- All Known Implementing Classes:
- Button, CheckBox, Container, Dialog, Group, HorizontalGroup, ImageButton, ImageTextButton, List, ScrollPane, SplitPane, Stack, Table, TextButton, Tree, VerticalGroup, WidgetGroup, Window
public interface Cullable
Allows a parent to set the area that is visible on a child actor to allow the child to cull when drawing itself. This must only
be used for actors that are not rotated or scaled.
When Group is given a culling rectangle with Group.setCullingArea(Rectangle)
, it will automatically call
setCullingArea(Rectangle)
on its children.
- Author:
- Nathan Sweet
setCullingArea
void setCullingArea(Rectangle cullingArea)
- Parameters:
cullingArea
- The culling area in the child actor's coordinates.
Copyright © 2014. All Rights Reserved.