com.threerings.opengl.scene.config
Class ViewerAffecterConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.model.config.ModelConfig.Implementation
          extended by com.threerings.opengl.scene.config.ViewerAffecterConfig
All Implemented Interfaces:
Exportable, Copyable, Cloneable

public class ViewerAffecterConfig
extends ModelConfig.Implementation

A viewer affecter implementation.


Field Summary
 ViewerEffectConfig effect
          The effect that this affecter exerts.
 Extent extent
          The extent of the effect.
 InfluenceFlagConfig influences
          The influences allowed to affect this model.
 
Constructor Summary
ViewerAffecterConfig()
           
 
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

effect

@Editable
public ViewerEffectConfig effect
The effect that this affecter exerts.


influences

@Editable
public InfluenceFlagConfig influences
The influences allowed to affect this model.


extent

@Editable
public Extent extent
The extent of the effect.

Constructor Detail

ViewerAffecterConfig

public ViewerAffecterConfig()
Method Detail

getModelImplementation

public Model.Implementation getModelImplementation(GlContext ctx,
                                                   Scope scope,
                                                   Model.Implementation impl)
Description copied from class: ModelConfig.Implementation
Creates or updates a model implementation for this configuration.

Specified by:
getModelImplementation in class ModelConfig.Implementation
scope - the model'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.