public interface Scene extends Container
Modifier and Type | Interface and Description |
---|---|
static interface |
Scene.Listener |
Modifier and Type | Field and Description |
---|---|
static int |
AXIS_BOTTOM_LEFT |
static int |
AXIS_TOP_LEFT |
static int |
DEFAULT_FPS |
static int |
DEFAULT_MSPF |
static int |
PROJECTION_PERSPECTIVE |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
int |
getAxisSystem() |
Camera |
getCamera() |
RectF |
getCameraRect() |
GLState |
getGLState() |
int |
getPointerCount() |
Stage |
getStage() |
TextureManager |
getTextureManager() |
PointF |
getTouchedPoint() |
PointF |
getTouchedPoint(int pointerIndex) |
void |
globalToScreen(float globalX,
float globalY,
PointF result) |
void |
globalToStage(float globalX,
float globalY,
PointF result) |
void |
globalToStage(RectF globalRect,
RectF result) |
boolean |
isUIEnabled() |
void |
onSurfacePaused() |
void |
onSurfaceResumed() |
boolean |
onTouchEvent(MotionEvent event) |
void |
pause() |
boolean |
queueEvent(java.lang.Runnable r) |
boolean |
queueEvent(java.lang.Runnable r,
int delayMillis) |
void |
resume() |
void |
screenToGlobal(float screenX,
float screenY,
PointF result) |
void |
screenToGlobal(PointF screen,
PointF result) |
void |
setAxisSystem(int value) |
void |
setCamera(Camera camera) |
void |
setDepthRange(float zNear,
float zFar) |
void |
setStage(Stage stage) |
void |
setUIEnabled(boolean enabled) |
addChild, addChild, getChildAt, getChildById, getChildIndex, removeChild, swapChildren
getMatrix, getNumChildren, getNumGrandChildren, getScene, getSize, globalToLocal, invalidate, invalidate, isClippingEnabled, localToGlobal, removeAllChildren, setClippingEnabled, swapChildren
static final int AXIS_BOTTOM_LEFT
static final int AXIS_TOP_LEFT
static final int PROJECTION_PERSPECTIVE
static final int DEFAULT_FPS
static final int DEFAULT_MSPF
void setStage(Stage stage)
Stage getStage()
void setAxisSystem(int value)
int getAxisSystem()
Camera getCamera()
void setCamera(Camera camera)
RectF getCameraRect()
void setDepthRange(float zNear, float zFar)
GLState getGLState()
TextureManager getTextureManager()
void globalToScreen(float globalX, float globalY, PointF result)
void globalToStage(float globalX, float globalY, PointF result)
void globalToStage(RectF globalRect, RectF result)
void screenToGlobal(float screenX, float screenY, PointF result)
void screenToGlobal(PointF screen, PointF result)
boolean queueEvent(java.lang.Runnable r)
queueEvent
in interface Parentable
boolean queueEvent(java.lang.Runnable r, int delayMillis)
void pause()
void resume()
void dispose()
boolean isUIEnabled()
void setUIEnabled(boolean enabled)
PointF getTouchedPoint()
PointF getTouchedPoint(int pointerIndex)
int getPointerCount()
boolean onTouchEvent(MotionEvent event)
void onSurfacePaused()
void onSurfaceResumed()