public class SceneModel extends com.threerings.io.SimpleStreamableObject implements Cloneable
Scene.
The scene model is what is loaded from the scene repositories and what is transmitted over the wire when communicating scenes from the server to the client.
| Modifier and Type | Field and Description |
|---|---|
AuxModel[] |
auxModels
Auxiliary scene model information.
|
String |
name
The human readable name of this scene.
|
int |
sceneId
This scene's unique identifier.
|
int |
version
The version number of this scene.
|
| Constructor and Description |
|---|
SceneModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAuxModel(AuxModel auxModel)
Adds the specified auxiliary model to this scene model.
|
static SceneModel |
blankSceneModel()
Creates and returns a blank scene model.
|
SceneModel |
clone() |
public int sceneId
public String name
public int version
public AuxModel[] auxModels
public void addAuxModel(AuxModel auxModel)
public SceneModel clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic static SceneModel blankSceneModel()
Copyright © 2015. All rights reserved.