APIdia Launch Partner
Top Description Methods
com.badlogic.gdx.scenes.scene2d.utils

public Interface Cullable

Known Direct Implementers
com.badlogic.gdx.scenes.scene2d.Group, com.badlogic.gdx.scenes.scene2d.ui.List
Imports
com.badlogic.gdx.math.Rectangle, com.badlogic.gdx.utils.Null

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.
Author
Nathan Sweet

Method Summary

Modifier and TypeMethod and Description
public void
setCullingArea(Rectangle
The culling area in the child actor's coordinates.
cullingArea
)

Method Detail

setCullingAreaback to summary
public void setCullingArea(Rectangle cullingArea)
Parameters
cullingArea:Rectangle

The culling area in the child actor's coordinates.