public class UIGLPointCloud extends UIPointCloud
LXSerializable.Utils
lx, pointSize, pointSizeAttenuation
children, hasFocus, mousePressContextMenu, visible
Constructor and Description |
---|
UIGLPointCloud(P3LX lx)
Point cloud for everything in the LX instance
|
Modifier and Type | Method and Description |
---|---|
void |
loadShader() |
protected void |
onDraw(UI ui,
PGraphics pg)
Subclasses should override this method to perform their drawing functions.
|
protected void |
onUIResize(UI ui)
Subclasses may override this method to handle resize events on the global UI.
|
UIGLPointCloud |
setAlphaTestEnabled(boolean alphaTestEnabled)
Enable alpha testing for dense point clouds to minimize some forms of
visible billboard aliasing across overlapping points;
|
disablePointSizeAttenuation, load, save, setPointSize, setPointSizeAttenuation
addChild, contains, getHeight, getWidth, removeChild
addLoopTask, beginDraw, blur, bringToFront, consumeKeyEvent, consumeMousePress, consumeMouseWheelEvent, endDraw, focus, getDescription, getFocusedChild, getLX, getParent, getUI, hasDirectFocus, hasFocus, isVisible, keyEventConsumed, loop, mousePressConsumed, onBlur, onFocus, removeLoopTask, setDescription, setVisible, toggleVisible
onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragged, onMouseMoved, onMouseOut, onMouseOver, onMousePressed, onMouseReleased, onMouseWheel
public UIGLPointCloud(P3LX lx)
lx
- LX instancepublic UIGLPointCloud setAlphaTestEnabled(boolean alphaTestEnabled)
alphaTestEnabled
- Whether alpha test enabledprotected void onUIResize(UI ui)
UIObject
onUIResize
in class UIObject
ui
- The UI objectpublic void loadShader()
protected void onDraw(UI ui, PGraphics pg)
UIObject
onDraw
in class UIPointCloud
ui
- UI contextpg
- Graphics contextLX library by Mark C. Slee. © 2012-2020