com.threerings.opengl.scene.config
Class SceneInfluenceConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.scene.config.SceneInfluenceConfig
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
SceneInfluenceConfig.AmbientLight, SceneInfluenceConfig.Definer, SceneInfluenceConfig.Fog, SceneInfluenceConfig.Light, SceneInfluenceConfig.Projector

@EditorTypes(value={SceneInfluenceConfig.AmbientLight.class,SceneInfluenceConfig.Fog.class,SceneInfluenceConfig.Light.class,SceneInfluenceConfig.Projector.class,SceneInfluenceConfig.Definer.class})
public abstract class SceneInfluenceConfig
extends DeepObject
implements Exportable

The configuration of an influence.


Nested Class Summary
static class SceneInfluenceConfig.AmbientLight
          Represents the influence of ambient light.
static class SceneInfluenceConfig.Definer
          Represents a variable definition influence.
static class SceneInfluenceConfig.Fog
          Represents the influence of fog.
static class SceneInfluenceConfig.Light
          Represents the influence of a light.
static class SceneInfluenceConfig.Projector
          Represents a projection influence.
 
Field Summary
 ExpressionBinding[] dynamicBindings
          The dynamic expression bindings for this influence.
 ExpressionBinding[] staticBindings
          The static expression bindings for this influence.
 
Constructor Summary
SceneInfluenceConfig()
           
 
Method Summary
 SceneInfluence createSceneInfluence(GlContext ctx, Scope scope, ArrayList<Updater> updaters)
          Creates the scene influence corresponding to this config.
 void invalidate()
          Invalidates any cached data.
 
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

staticBindings

@Editable(weight=1.0)
public ExpressionBinding[] staticBindings
The static expression bindings for this influence.


dynamicBindings

@Editable(weight=1.0)
public ExpressionBinding[] dynamicBindings
The dynamic expression bindings for this influence.

Constructor Detail

SceneInfluenceConfig

public SceneInfluenceConfig()
Method Detail

createSceneInfluence

public SceneInfluence createSceneInfluence(GlContext ctx,
                                           Scope scope,
                                           ArrayList<Updater> updaters)
Creates the scene influence corresponding to this config.

Parameters:
updaters - a list to populate with required updaters.

invalidate

public void invalidate()
Invalidates any cached data.



Copyright © 2011. All Rights Reserved.