Package | Description |
---|---|
heronarts.lx.studio.ui | |
heronarts.p3lx.ui |
Framework for building modular 3d+2d UI in Processing 2.
|
Modifier and Type | Class and Description |
---|---|
class |
UIPreviewWindow |
Modifier and Type | Method and Description |
---|---|
UI3dContext |
UI3dContext.addComponent(UI3dComponent component)
Adds a component to the layer
|
UI3dContext |
UI3dContext.clearCamera(int index)
Clears the camera stored at the given index
|
static UI3dContext |
UI3dContext.newTopLevelContext(UI ui)
Creates a UI3dContext which draws into the parent Processing
graphics context, bypassing any compositing of UI layers.
|
UI3dContext |
UI3dContext.removeComponent(UI3dComponent component)
Removes a component from the layer
|
UI3dContext |
UI3dContext.setBackground(boolean hasBackground)
Sets whether this context has a background or not
|
UI3dContext |
UI3dContext.setBackgroundColor(int backgroundColor)
Sets the background color for this 3d context
|
UI3dContext |
UI3dContext.setCamera(int index)
Sets the cue position index of the camera
|
UI3dContext |
UI3dContext.setCameraAcceleration(float cameraAcceleration)
Set's the camera's zoom acceleration, 0 is infinite
|
UI3dContext |
UI3dContext.setCameraVelocity(float cameraVelocity)
Sets the camera's maximum zoom speed
|
UI3dContext |
UI3dContext.setCenter(float x,
float y,
float z)
Sets the center of the scene, only respected in ZOOM mode
|
UI3dContext |
UI3dContext.setEye(float x,
float y,
float z)
Sets the eye position, only respected in MOVE mode
|
UI3dContext |
UI3dContext.setInteractionMode(UI3dContext.InteractionMode interactionMode)
Set interaction mode for mouse/key events.
|
UI3dContext |
UI3dContext.setMaxRadius(float maxRadius)
Set maximum radius
|
UI3dContext |
UI3dContext.setMinRadius(float minRadius)
Set minimum radius
|
UI3dContext |
UI3dContext.setPerspective(float perspective)
Sets perspective angle of the camera in degrees
|
UI3dContext |
UI3dContext.setPhi(float phi)
Set the phi angle of viewing
|
UI3dContext |
UI3dContext.setRadius(float radius)
Set radius of the camera
|
UI3dContext |
UI3dContext.setRadiusBounds(float minRadius,
float maxRadius)
Sets bounds on the radius
|
UI3dContext |
UI3dContext.setRotationAcceleration(float rotationAcceleration)
Set's the camera's rotational acceleration, 0 is infinite
|
UI3dContext |
UI3dContext.setRotationVelocity(float rotationVelocity)
Sets the camera's maximum rotation speed
|
UI3dContext |
UI3dContext.setSize(float width,
float height) |
UI3dContext |
UI3dContext.setTheta(double theta)
Set the theta angle of viewing
|
Modifier and Type | Method and Description |
---|---|
UI |
UI.addLayer(UI3dContext layer)
Add a 3d context to this UI
|
UI |
UI.addLayer(UI3dContext layer,
int index)
Add a 3d context to this UI, at the given index
|
UI |
UI.removeLayer(UI3dContext layer) |
LX library by Mark C. Slee. © 2012-2020