|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.opengl.model.config.ModelConfig.Implementation
com.threerings.opengl.model.config.ModelConfig.Derived
public static class ModelConfig.Derived
A derived implementation.
| Field Summary | |
|---|---|
ConfigReference<ModelConfig> |
model
The model reference. |
| Constructor Summary | |
|---|---|
ModelConfig.Derived()
|
|
| Method Summary | |
|---|---|
ConfigManager |
getConfigManager(ConfigManager cfgmgr)
Returns a reference to the config manager to use when resolving references. |
Model.Implementation |
getModelImplementation(GlContext ctx,
Scope scope,
Model.Implementation impl)
Creates or updates a model implementation for this configuration. |
ModelConfig.Implementation |
getOriginal(ConfigManager cfgmgr)
Retrieves a reference to the underlying original implementation. |
GeometryConfig |
getParticleGeometry(GlContext ctx)
Returns the GeometryConfig to use when this model is selected for use within a
particle system (or null if it cannot be used). |
ConfigReference<MaterialConfig> |
getParticleMaterial(GlContext ctx)
Returns a reference to the material to use when this model is selected for use within a particle system. |
void |
getUpdateReferences(ConfigReferenceSet refs)
Adds the implementation's update references to the provided set. |
| Methods inherited from class com.threerings.opengl.model.config.ModelConfig.Implementation |
|---|
invalidate, updateFromSource |
| 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 |
|---|
@Editable(nullable=true) public ConfigReference<ModelConfig> model
| Constructor Detail |
|---|
public ModelConfig.Derived()
| Method Detail |
|---|
public ModelConfig.Implementation getOriginal(ConfigManager cfgmgr)
ModelConfig.Implementation
getOriginal in class ModelConfig.Implementationpublic void getUpdateReferences(ConfigReferenceSet refs)
ModelConfig.Implementation
getUpdateReferences in class ModelConfig.Implementationpublic ConfigManager getConfigManager(ConfigManager cfgmgr)
ModelConfig.Implementation
getConfigManager in class ModelConfig.Implementationcfgmgr - the config manager of the config containing the implementation.
public Model.Implementation getModelImplementation(GlContext ctx,
Scope scope,
Model.Implementation impl)
ModelConfig.Implementation
getModelImplementation in class ModelConfig.Implementationscope - the model's expression scope.impl - an existing implementation to reuse, if possible.
null if no implementation could be created.public GeometryConfig getParticleGeometry(GlContext ctx)
ModelConfig.ImplementationGeometryConfig to use when this model is selected for use within a
particle system (or null if it cannot be used).
getParticleGeometry in class ModelConfig.Implementationpublic ConfigReference<MaterialConfig> getParticleMaterial(GlContext ctx)
ModelConfig.Implementation
getParticleMaterial in class ModelConfig.Implementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||