com.threerings.opengl.effect.config
Class MetaParticleSystemConfig.Layer

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.effect.config.BaseParticleSystemConfig.Layer
          extended by com.threerings.opengl.effect.config.MetaParticleSystemConfig.Layer
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
MetaParticleSystemConfig

public static class MetaParticleSystemConfig.Layer
extends BaseParticleSystemConfig.Layer

A single layer of the system.


Field Summary
 MetaParticleSystemConfig.Alignment alignment
          The alignment mode to use for the particles.
 ConfigReference<ModelConfig> model
          The model to use for the particles.
 
Fields inherited from class com.threerings.opengl.effect.config.BaseParticleSystemConfig.Layer
alphaMode, angularVelocity, color, counter, identity, influences, lifespan, moveParticlesWithEmitter, name, orientation, particleCount, placer, respawnDeadParticles, rotateOrientationsWithEmitter, rotateVelocitiesWithEmitter, shooter, size, speed, startTime, timeScale, transform, visible
 
Constructor Summary
MetaParticleSystemConfig.Layer()
           
 
Method Summary
 boolean shouldRotateOrientations()
          Checks whether we should rotate the orientations and angular velocities (because the alignment is fixed rather than billboard, etc.)
 
Methods inherited from class com.threerings.opengl.effect.config.BaseParticleSystemConfig.Layer
readFields, writeFields
 
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

model

@Editable(category="appearance",
          weight=-0.5,
          nullable=true)
public ConfigReference<ModelConfig> model
The model to use for the particles.


alignment

@Editable(category="appearance",
          weight=-0.5)
public MetaParticleSystemConfig.Alignment alignment
The alignment mode to use for the particles.

Constructor Detail

MetaParticleSystemConfig.Layer

public MetaParticleSystemConfig.Layer()
Method Detail

shouldRotateOrientations

public boolean shouldRotateOrientations()
Description copied from class: BaseParticleSystemConfig.Layer
Checks whether we should rotate the orientations and angular velocities (because the alignment is fixed rather than billboard, etc.)

Specified by:
shouldRotateOrientations in class BaseParticleSystemConfig.Layer


Copyright © 2011. All Rights Reserved.