public class DefaultColorUpdate extends SceneUpdate
| Modifier and Type | Field and Description |
|---|---|
int |
classId
The class id of the colorization we're changing.
|
int |
colorId
The color id to set as the new default, or -1 to remove the default.
|
| Constructor and Description |
|---|
DefaultColorUpdate() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(SceneModel model)
Applies this update to the specified scene model.
|
void |
init(int targetId,
int targetVersion,
int classId,
int colorId)
Initializes this update.
|
getSceneId, getSceneVersion, getVersionIncrement, init, persistTo, readObject, toString, unpersistFrom, validate, writeObjectpublic int classId
public int colorId
public void init(int targetId,
int targetVersion,
int classId,
int colorId)
public void apply(SceneModel model)
SceneUpdatesuper.apply.apply in class SceneUpdateCopyright © 2015. All rights reserved.