|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.config.ManagedConfig
com.threerings.config.ParameterizedConfig
com.threerings.opengl.model.config.AnimationConfig
public class AnimationConfig
The configuration of an animation.
| Nested Class Summary | |
|---|---|
static class |
AnimationConfig.ComponentAnimation
Contains a component animation in a sequence. |
static class |
AnimationConfig.Derived
A derived implementation. |
static class |
AnimationConfig.FrameAction
An action to perform at a specific frame in the animation. |
static class |
AnimationConfig.Implementation
Contains the actual implementation of the animation. |
static class |
AnimationConfig.Imported
A frame-based animation imported from an export file. |
static class |
AnimationConfig.Original
Superclass of the original implementations. |
static class |
AnimationConfig.Procedural
A procedural animation. |
static class |
AnimationConfig.Sequential
Runs a series of animations in sequence. |
static class |
AnimationConfig.TargetTransform
Controls the transform of one or more nodes. |
| Field Summary | |
|---|---|
protected static AnimationParser |
_parser
Parses animation exports. |
AnimationConfig.Implementation |
implementation
The actual animation implementation. |
| Fields inherited from class com.threerings.config.ParameterizedConfig |
|---|
_args, _base, _derived, parameters |
| Fields inherited from class com.threerings.config.ManagedConfig |
|---|
_cfgmgr, _listeners, _name, _updateConfigs, _updateResources |
| Constructor Summary | |
|---|---|
AnimationConfig()
|
|
| Method Summary | |
|---|---|
protected void |
fireConfigUpdated()
Fires a configuration updated event. |
Animation.Implementation |
getAnimationImplementation(GlContext ctx,
Scope scope,
Animation.Implementation impl)
Creates or updates an animation implementation for this configuration. |
protected void |
getUpdateReferences(ConfigReferenceSet refs)
Collects all of the references within this config to configs that, when updated, should trigger a call to ManagedConfig.fireConfigUpdated(). |
void |
updateFromSource(EditorContext ctx,
boolean force)
Updates this configuration from its external source, if any. |
| Methods inherited from class com.threerings.config.ParameterizedConfig |
|---|
applyArguments, applyArguments, getBound, getInstance, getParameter, getParameter, getReference, maybeFireOnConfigManager, validateOuters, validateReferences, wasUpdated |
| Methods inherited from class com.threerings.config.ManagedConfig |
|---|
addListener, addUpdateDependencies, clearUpdateDependencies, configUpdated, getConfigManager, getInstance, getInstance, getInstance, getInstance, getName, getUpdateResources, init, removeListener, resourceModified, setName |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@Editable public AnimationConfig.Implementation implementation
protected static AnimationParser _parser
| Constructor Detail |
|---|
public AnimationConfig()
| Method Detail |
|---|
public Animation.Implementation getAnimationImplementation(GlContext ctx,
Scope scope,
Animation.Implementation impl)
scope - the animation's expression scope.impl - an existing implementation to reuse, if possible.
null if no implementation could be created.
public void updateFromSource(EditorContext ctx,
boolean force)
ManagedConfig
updateFromSource in class ManagedConfigforce - if true, reload the source data even if it has already been loaded.protected void fireConfigUpdated()
ManagedConfig
fireConfigUpdated in class ManagedConfigprotected void getUpdateReferences(ConfigReferenceSet refs)
ManagedConfigManagedConfig.fireConfigUpdated().
getUpdateReferences in class ManagedConfig
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||