Package heronarts.lx.modulator
Class MultiStageEnvelope.Stage
java.lang.Object
heronarts.lx.modulator.MultiStageEnvelope.Stage
- All Implemented Interfaces:
LXSerializable
- Enclosing class:
- MultiStageEnvelope
-
Nested Class Summary
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getBasis()
double
getShape()
double
getValue()
void
load
(LX lx, JsonObject object) Restores this instance from a JSON objectvoid
save
(LX lx, JsonObject object) Serializes this instance into the JSON objectvoid
setPosition
(double basis, double value) void
setShape
(double shape) toString()
-
Field Details
-
initial
public final boolean initial -
last
public final boolean last
-
-
Method Details
-
setPosition
public void setPosition(double basis, double value) -
setShape
public void setShape(double shape) -
getBasis
public double getBasis() -
getValue
public double getValue() -
getShape
public double getShape() -
toString
-
save
Description copied from interface:LXSerializable
Serializes this instance into the JSON object- Specified by:
save
in interfaceLXSerializable
- Parameters:
lx
- LX instanceobject
- Object to serialize into
-
load
Description copied from interface:LXSerializable
Restores this instance from a JSON object- Specified by:
load
in interfaceLXSerializable
- Parameters:
lx
- LX instanceobject
- Object to deserialize
-