| Package | Description |
|---|---|
| com.bonzaiengine.camera | |
| com.bonzaiengine.font | |
| com.bonzaiengine.math | |
| com.bonzaiengine.opengl.helper | |
| com.bonzaiengine.texture | |
| com.bonzaiengine.ui |
| Modifier and Type | Class and Description |
|---|---|
class |
Viewport |
| Modifier and Type | Method and Description |
|---|---|
Area |
FontPacket.getClipArea() |
| Modifier and Type | Method and Description |
|---|---|
void |
FontPacket.set(java.lang.String text,
Anchor anchor,
Vec3 pos,
Area clipArea,
int fontSize,
float[] color,
boolean fixedLine,
boolean spaceAtStart) |
| Modifier and Type | Method and Description |
|---|---|
Area |
Area.clone() |
Area |
Area.set(Area from) |
Area |
Area.set(int x,
int y,
int width,
int height) |
Area |
Area.setPoints(int x1,
int x2,
int y1,
int y2) |
Area |
Area.withInset(Area dst,
int top,
int left,
int bot,
int right) |
| Modifier and Type | Method and Description |
|---|---|
void |
Area.concatenate(Area area1,
Area area2) |
void |
Area.interpolate(Area current,
Area next,
float t) |
boolean |
Area.intersection(Area area)
|
boolean |
Area.intersectWith(Area area) |
boolean |
Area.isIncludedIn(Area area) |
Area |
Area.set(Area from) |
Area |
Area.withInset(Area dst,
int top,
int left,
int bot,
int right) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ViewHelper.beginOrtho(IGLApi glApi,
Area viewport)
Use orthographic projection, usually for rendering 2D elements.
|
static void |
ViewHelper.beginOrtho(IGLApi glApi,
Area viewport,
float near,
float far)
Use orthographic projection, usually for rendering 2D elements.
|
abstract boolean |
Picker.pickEvent(IGLApi glApi,
PickingEvent event,
Area area)
Triggered when a picking event is running, return true to process it
|
abstract void |
Picker.pickMissed(IGLApi glApi,
PickingEvent event,
Area area)
Call when no object was picked.
|
abstract void |
Picker.processPicked(IGLApi glApi,
PickingEvent event,
Area area,
java.lang.Object pickedSingle,
java.util.HashSet<java.lang.Object> picked)
Called when at least one object has been successfully picked
|
void |
Picker.processPicking(IGLApi glApi,
SceneView sceneView,
PickingEvent mode,
Area area) |
static ITexture |
ViewHelper.takeScreenshot(IGL gl,
Area viewport,
boolean alpha)
Copy the frame buffer into a ITexture
|
| Modifier and Type | Method and Description |
|---|---|
static TextureByte |
TextureUtils.clip(TextureByte texture,
Area area)
Note: the clipping is performed on the first level, the other levels being discarded
|
static ITexture |
TextureUtils.copyRegion(ITexture dst,
Area dstArea,
int dstSubTexture,
int dstLevel,
ITexture src,
Area srcArea,
int srcSubTexture,
int srcLevel) |
static ITexture |
TextureUtils.copyRegion(ITexture dst,
Area dstArea,
int dstLevel,
ITexture src,
Area srcArea,
int level) |
| Modifier and Type | Method and Description |
|---|---|
Area |
SpriteRenderer.getUiArea() |
| Modifier and Type | Method and Description |
|---|---|
void |
SpriteRenderer.renderText(IFont font,
int fontSize,
boolean fixedLine,
boolean spaceAtStart,
java.lang.String text,
Anchor anchor,
int x,
int y,
Area clipArea,
float[] color,
float fade)
Render a text
|
boolean |
SpriteRenderer.scissorArea(Area area) |
void |
SpriteRenderer.scissorBegin(Area v)
Start clipping on the specified the scissor region
|
void |
SpriteRenderer.start(IGLApi glApi,
Area uiArea)
Start rendering
|
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com