com.threerings.opengl.effect.config
Class BaseParticleSystemConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.model.config.ModelConfig.Implementation
          extended by com.threerings.opengl.effect.config.BaseParticleSystemConfig
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
MetaParticleSystemConfig, ParticleSystemConfig

public abstract class BaseParticleSystemConfig
extends ModelConfig.Implementation

Base class for ParticleSystemConfig and MetaParticleSystemConfig.


Nested Class Summary
static class BaseParticleSystemConfig.Layer
          A single layer of the system.
 
Field Summary
 float boundsExpansion
          A fixed amount by which to expand the bounds.
 InfluenceFlagConfig influences
          The influences allowed to affect this model.
 SceneElement.TickPolicy tickPolicy
          The model's tick policy.
 float warmupGranularity
          The maximum tick duration during warmup.
 float warmupTime
          The amount of time to spend "warming up" the system on reset.
 
Constructor Summary
BaseParticleSystemConfig()
           
 
Method Summary
 boolean anyLayersRespawn()
          Checks whether any of the system's layers respawn dead particles.
abstract  BaseParticleSystemConfig.Layer[] getLayers()
          Returns a reference to the system's array of layers.
 
Methods inherited from class com.threerings.opengl.model.config.ModelConfig.Implementation
getConfigManager, getModelImplementation, 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

tickPolicy

@Editable(hgroup="t")
public SceneElement.TickPolicy tickPolicy
The model's tick policy.


boundsExpansion

@Editable(min=0.0,
          step=0.01,
          hgroup="t")
public float boundsExpansion
A fixed amount by which to expand the bounds.


warmupTime

@Editable(min=0.0,
          step=0.01,
          hgroup="w")
public float warmupTime
The amount of time to spend "warming up" the system on reset.


warmupGranularity

@Editable(min=0.0,
          step=0.01,
          hgroup="w")
public float warmupGranularity
The maximum tick duration during warmup.


influences

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

Constructor Detail

BaseParticleSystemConfig

public BaseParticleSystemConfig()
Method Detail

anyLayersRespawn

public boolean anyLayersRespawn()
Checks whether any of the system's layers respawn dead particles.


getLayers

public abstract BaseParticleSystemConfig.Layer[] getLayers()
Returns a reference to the system's array of layers.



Copyright © 2011. All Rights Reserved.