|
||||||||||
| 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.ConditionalConfig
public class ConditionalConfig
A conditional model implementation.
| Nested Class Summary | |
|---|---|
static class |
ConditionalConfig.Case
Represents one of the cases that makes up the conditional. |
| Field Summary | |
|---|---|
ConditionalConfig.Case[] |
cases
The condition cases. |
ConfigReference<ModelConfig> |
defaultModel
The default model reference. |
Transform3D |
defaultTransform
The default model transform. |
InfluenceFlagConfig |
influences
The influences allowed to affect this model. |
SceneElement.TickPolicy |
tickPolicy
The model's tick policy. |
| Constructor Summary | |
|---|---|
ConditionalConfig()
|
|
| Method Summary | |
|---|---|
Model.Implementation |
getModelImplementation(GlContext ctx,
Scope scope,
Model.Implementation impl)
Creates or updates a model implementation for this configuration. |
void |
invalidate()
Invalidates any cached data. |
| Methods inherited from class com.threerings.opengl.model.config.ModelConfig.Implementation |
|---|
getConfigManager, getOriginal, getParticleGeometry, getParticleMaterial, getUpdateReferences, 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 public SceneElement.TickPolicy tickPolicy
@Editable public InfluenceFlagConfig influences
@Editable public ConditionalConfig.Case[] cases
@Editable(nullable=true) public ConfigReference<ModelConfig> defaultModel
@Editable(step=0.01) public Transform3D defaultTransform
| Constructor Detail |
|---|
public ConditionalConfig()
| Method Detail |
|---|
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 void invalidate()
ModelConfig.Implementation
invalidate in class ModelConfig.Implementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||