com.badlogic.gdx.scenes.scene2d
Interface Cullable
- All Known Implementing Classes:
- Button, CheckBox, FlickScrollPane, Group, ImageButton, List, ScrollPane, SplitPane, Stack, Table, TextButton, 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 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)