|
||||||||||
| 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.ScriptedConfig
public class ScriptedConfig
A scripted model implementation.
| Nested Class Summary | |
|---|---|
static class |
ScriptedConfig.TimeAction
An action to perform after a specific time interval. |
| Field Summary | |
|---|---|
ScriptedConfig.TimeAction[] |
actions
The actions to perform. |
float |
boundsExpansion
A fixed amount by which to expand the bounds. |
InfluenceFlagConfig |
influences
The influences allowed to affect this model. |
float |
loopDuration
The loop duration, or zero for unlooped. |
SceneElement.TickPolicy |
tickPolicy
The model's tick policy. |
| Constructor Summary | |
|---|---|
ScriptedConfig()
|
|
| Method Summary | |
|---|---|
Model.Implementation |
getModelImplementation(GlContext ctx,
Scope scope,
Model.Implementation impl)
Creates or updates a model implementation for this configuration. |
| Methods inherited from class com.threerings.opengl.model.config.ModelConfig.Implementation |
|---|
getConfigManager, getOriginal, getParticleGeometry, getParticleMaterial, getUpdateReferences, 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(min=0.0,
step=0.01,
hgroup="l")
public float loopDuration
@Editable(min=0.0,
step=0.01,
hgroup="l")
public float boundsExpansion
@Editable public SceneElement.TickPolicy tickPolicy
@Editable public InfluenceFlagConfig influences
@Editable public ScriptedConfig.TimeAction[] actions
| Constructor Detail |
|---|
public ScriptedConfig()
| 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||