public abstract class LXLayer extends LXLayeredComponent
LXLayeredComponent.Buffered
LXModulatorComponent.Profiler
LXComponent.Placeholder, LXComponent.Renamable
LXSerializable.Utils
colors, layers, palette
model
modulators, profiler
controlSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor
Modifier | Constructor and Description |
---|---|
protected |
LXLayer(LX lx) |
protected |
LXLayer(LX lx,
LXDeviceComponent buffer) |
Modifier and Type | Method and Description |
---|---|
String |
getLabel()
Accessor for the user-facing label of this component.
|
protected void |
onLoop(double deltaMs) |
abstract void |
run(double deltaMs)
Run this layer.
|
addColor, addColor, addLayer, afterLayers, blendColor, blendColor, clearColors, dispose, getBuffer, getColor, getColor, getColors, getLayers, loop, removeLayer, setBuffer, setBuffer, setColor, setColor, setColor, setColors, subtractColor
getModel, onModelChanged, setModel
addModulator, addModulator, addModulator, constructProfiler, getModulator, getModulators, moveModulator, removeModulator, startModulator
addArray, addChild, addInternalParameter, addParameter, addParameter, contains, copyParameters, getChild, getComponentName, getComponentName, getComponentName, getId, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, getPath, handleOscMessage, load, loadParameters, onParameterChanged, removeParameter, removeParameter, save, saveParameters, setParent, toString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
get, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter
protected LXLayer(LX lx)
protected LXLayer(LX lx, LXDeviceComponent buffer)
public String getLabel()
LXComponent
LXComponent.Renamable
interface may allow the user to change this value.getLabel
in interface LXPath
getLabel
in class LXComponent
protected final void onLoop(double deltaMs)
onLoop
in class LXLayeredComponent
public abstract void run(double deltaMs)
deltaMs
- Milliseconds elapsed since last frameLX library by Mark C. Slee. © 2012-2020