public class UI3dContext.Camera extends Object implements LXSerializable
LXSerializable.Utils
Modifier and Type | Field and Description |
---|---|
BooleanParameter |
active |
MutableParameter |
phi |
MutableParameter |
radius |
MutableParameter |
theta |
Modifier and Type | Method and Description |
---|---|
void |
load(LX lx,
JsonObject object)
Restores this instance from a JSON object
|
void |
save(LX lx,
JsonObject object)
Serializes this instance into the JSON object
|
public final BooleanParameter active
public final MutableParameter theta
public final MutableParameter phi
public final MutableParameter radius
public void save(LX lx, JsonObject object)
LXSerializable
save
in interface LXSerializable
lx
- LX instanceobject
- Object to serialize intopublic void load(LX lx, JsonObject object)
LXSerializable
load
in interface LXSerializable
lx
- LX instanceobject
- Object to deserializeLX library by Mark C. Slee. © 2012-2020