com.threerings.opengl.model.config
Class CompoundConfig.ComponentModel

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.model.config.CompoundConfig.ComponentModel
All Implemented Interfaces:
Exportable, com.threerings.io.Streamable, Copyable, Cloneable
Enclosing class:
CompoundConfig

public static class CompoundConfig.ComponentModel
extends DeepObject
implements Exportable, com.threerings.io.Streamable

Represents one of the models that makes up the compound.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
com.threerings.io.Streamable.Closure
 
Field Summary
 ConfigReference<ModelConfig> model
          The model reference.
 String node
          A node to attach the model to, if present.
 Transform3D transform
          The model transform.
 
Constructor Summary
CompoundConfig.ComponentModel()
          Default constructor.
CompoundConfig.ComponentModel(ConfigReference<ModelConfig> model, Transform3D transform)
          Constructor that takes a precreated model reference and transform.
 
Method Summary
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

node

@Editable
public String node
A node to attach the model to, if present.


model

@Editable(nullable=true)
public ConfigReference<ModelConfig> model
The model reference.


transform

@Editable(step=0.01)
public Transform3D transform
The model transform.

Constructor Detail

CompoundConfig.ComponentModel

public CompoundConfig.ComponentModel()
Default constructor.


CompoundConfig.ComponentModel

public CompoundConfig.ComponentModel(ConfigReference<ModelConfig> model,
                                     Transform3D transform)
Constructor that takes a precreated model reference and transform.



Copyright © 2011. All Rights Reserved.