com.threerings.opengl.model.config
Class AnimationConfig.Sequential

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.model.config.AnimationConfig.Implementation
          extended by com.threerings.opengl.model.config.AnimationConfig.Original
              extended by com.threerings.opengl.model.config.AnimationConfig.Sequential
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
AnimationConfig

public static class AnimationConfig.Sequential
extends AnimationConfig.Original

Runs a series of animations in sequence.


Field Summary
 AnimationConfig.ComponentAnimation[] animations
          The component animations.
 boolean loop
          Whether or not the animation loops.
 
Fields inherited from class com.threerings.opengl.model.config.AnimationConfig.Original
blendIn, blendOut, override, priority, weight
 
Constructor Summary
AnimationConfig.Sequential()
           
 
Method Summary
 Animation.Implementation getAnimationImplementation(GlContext ctx, Scope scope, Animation.Implementation impl)
          Creates or updates an animation implementation for this configuration.
 
Methods inherited from class com.threerings.opengl.model.config.AnimationConfig.Implementation
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

loop

@Editable
public boolean loop
Whether or not the animation loops.


animations

@Editable
public AnimationConfig.ComponentAnimation[] animations
The component animations.

Constructor Detail

AnimationConfig.Sequential

public AnimationConfig.Sequential()
Method Detail

getAnimationImplementation

public Animation.Implementation getAnimationImplementation(GlContext ctx,
                                                           Scope scope,
                                                           Animation.Implementation impl)
Description copied from class: AnimationConfig.Implementation
Creates or updates an animation implementation for this configuration.

Specified by:
getAnimationImplementation in class AnimationConfig.Implementation
scope - the animation's expression scope.
impl - an existing implementation to reuse, if possible.
Returns:
either a reference to the existing implementation (if reused), a new implementation, or null if no implementation could be created.


Copyright © 2011. All Rights Reserved.