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

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.Derived
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
AnimationConfig

public static class AnimationConfig.Derived
extends AnimationConfig.Implementation

A derived implementation.


Field Summary
 ConfigReference<AnimationConfig> animation
          The animation reference.
 
Constructor Summary
AnimationConfig.Derived()
           
 
Method Summary
 Animation.Implementation getAnimationImplementation(GlContext ctx, Scope scope, Animation.Implementation impl)
          Creates or updates an animation implementation for this configuration.
 void getUpdateReferences(ConfigReferenceSet refs)
          Adds the implementation's update references to the provided set.
 
Methods inherited from class com.threerings.opengl.model.config.AnimationConfig.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

animation

@Editable(nullable=true)
public ConfigReference<AnimationConfig> animation
The animation reference.

Constructor Detail

AnimationConfig.Derived

public AnimationConfig.Derived()
Method Detail

getUpdateReferences

public void getUpdateReferences(ConfigReferenceSet refs)
Description copied from class: AnimationConfig.Implementation
Adds the implementation's update references to the provided set.

Overrides:
getUpdateReferences in class AnimationConfig.Implementation

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.