Package | Description |
---|---|
org.piccolo2d |
Piccolo is a general-purpose Java-based engine that supports 2D visualizations.
|
org.piccolo2d.event |
This package supports Piccolo event handlers.
|
org.piccolo2d.util |
This package defines several utility classes that are likely
to be useful for Piccolo applications.
|
Modifier and Type | Method and Description |
---|---|
protected PCamera |
PCanvas.createDefaultCamera()
Creates and returns a basic Scene Graph.
|
PCamera |
POffscreenCanvas.getCamera()
Return the camera for this offscreen canvas.
|
PCamera |
PCanvas.getCamera()
Return the camera associated with this canvas.
|
PCamera |
PLayer.getCamera(int index)
Get the camera in this layer's camera list at the specified index.
|
PCamera |
PLayer.removeCamera(int index)
Remove the camera at the given index from this layer's camera list.
|
PCamera |
PLayer.removeCamera(PCamera camera)
Remove the camera from this layer's camera list.
|
Modifier and Type | Method and Description |
---|---|
void |
PLayer.addCamera(int index,
PCamera camera)
Add a camera to this layer's camera list at the specified index.
|
void |
PLayer.addCamera(PCamera camera)
Add a camera to this layer's camera list.
|
void |
PInputManager.processEventFromCamera(InputEvent event,
int type,
PCamera camera)
Flags the given event as needing to be processed.
|
PCamera |
PLayer.removeCamera(PCamera camera)
Remove the camera from this layer's camera list.
|
void |
POffscreenCanvas.setCamera(PCamera camera)
Set the camera for this offscreen canvas to
camera . |
void |
PCanvas.setCamera(PCamera newCamera)
Set the camera associated with this canvas.
|
Modifier and Type | Method and Description |
---|---|
PCamera |
PInputEvent.getCamera()
Return the bottom most camera that is currently painting.
|
PCamera |
PInputEvent.getTopCamera()
Return the topmost camera this is painting.
|
Modifier and Type | Method and Description |
---|---|
static PCamera |
PUtil.createBasicScenegraph()
Creates the simplest possible scene graph.
|
PCamera |
PPickPath.getBottomCamera()
Get the bottom camera on the pick path.
|
PCamera |
PPaintContext.getCamera()
Returns the camera at the top of the camera stack, or null if stack is
empty.
|
PCamera |
PPickPath.getTopCamera()
Get the top camera on the pick path.
|
Modifier and Type | Method and Description |
---|---|
void |
PPaintContext.pushCamera(PCamera aCamera)
Pushes the camera onto the camera stack.
|
Constructor and Description |
---|
PPickPath(PCamera camera,
PBounds aScreenPickBounds)
Creates a pick pack originating from the provided camera and with the
given screen pick bounds.
|
Copyright © 1995-2013 Piccolo2D. All Rights Reserved.