@LXCategory(value="Form") public class PlanesPattern extends LXPattern
Modifier and Type | Class and Description |
---|---|
static class |
PlanesPattern.Axis |
static interface |
PlanesPattern.AxisFunction |
class |
PlanesPattern.Plane |
LXPattern.Placeholder, LXPattern.Profiler
LXLayeredComponent.Buffered
LXComponent.Renamable
LXSerializable.Utils
Modifier and Type | Field and Description |
---|---|
static int |
MAX_PLANES |
List<PlanesPattern.Plane> |
planes |
autoCycleEligible, profiler, runMs
controlsExpanded, crashed, DEVICE_CATEGORY_NAME_SORT, DEVICE_VERSION_UNSPECIFIED, KEY_DEVICE_VERSION, modulation, modulationExpanded
colors, layers, palette
model
modulators
controlSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor
Constructor and Description |
---|
PlanesPattern(LX lx) |
Modifier and Type | Method and Description |
---|---|
void |
load(LX lx,
JsonObject obj)
Loads the LX component.
|
void |
run(double deltaMs)
Main pattern loop function.
|
void |
save(LX lx,
JsonObject obj)
Serializes the LX component.
|
clearInterval, getChannel, getIndex, getPath, hasInterval, isAutoCycleEligible, isInInterval, onActive, onInactive, onLoop, onTransitionEnd, onTransitionStart, setAutoCycleEligible, setChannel, setIndex, setInterval, toggleAutoCycleEligible
getCategory, getCrash, getCrashStackTrace, getDeviceVersion, getModulationEngine, getRemoteControls, isRemoteControl, loop, setRemoteControls
addColor, addColor, addLayer, afterLayers, blendColor, blendColor, clearColors, dispose, getBuffer, getColor, getColor, getColors, getLayers, 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, getLabel, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, handleOscMessage, loadParameters, onParameterChanged, removeParameter, removeParameter, saveParameters, setParent, toString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOscAddress, handleOscMessage
aftertouchReceived, controlChangeReceived, noteOffReceived, noteOnReceived, pitchBendReceived, programChangeReceived
get, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter
public static final int MAX_PLANES
public final List<PlanesPattern.Plane> planes
public PlanesPattern(LX lx)
public void run(double deltaMs)
LXPattern
public void save(LX lx, JsonObject obj)
LXComponent
super.save(lx, obj)
at the appropriate time.save
in interface LXSerializable
save
in class LXDeviceComponent
lx
- LX instanceobj
- Object to serialize intopublic void load(LX lx, JsonObject obj)
LXComponent
load
in interface LXSerializable
load
in class LXComponent
lx
- LX instanceobj
- Object to deserializeLX library by Mark C. Slee. © 2012-2020