com.threerings.opengl.effect.config
Class PlacerConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.effect.config.PlacerConfig
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
PlacerConfig.Box, PlacerConfig.Frustum, PlacerConfig.Line, PlacerConfig.Point, PlacerConfig.Ring, PlacerConfig.Shell

@EditorTypes(value={PlacerConfig.Point.class,PlacerConfig.Line.class,PlacerConfig.Box.class,PlacerConfig.Ring.class,PlacerConfig.Shell.class,PlacerConfig.Frustum.class})
public abstract class PlacerConfig
extends DeepObject
implements Exportable

Determines the particles' initial positions.


Nested Class Summary
static class PlacerConfig.Box
          Places points within a box.
static class PlacerConfig.Frustum
          Places points within the view frustum.
static class PlacerConfig.Line
          Places points along a line segment.
static class PlacerConfig.Point
          Places points at the local origin.
static class PlacerConfig.Ring
          Places points within a ring or disc.
static class PlacerConfig.Shell
          Places points within a sphere or spherical shell.
 
Constructor Summary
PlacerConfig()
           
 
Method Summary
abstract  Placer createPlacer(BaseParticleSystem.Layer layer)
          Creates the placer corresponding to this config.
 
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
 

Constructor Detail

PlacerConfig

public PlacerConfig()
Method Detail

createPlacer

public abstract Placer createPlacer(BaseParticleSystem.Layer layer)
Creates the placer corresponding to this config.



Copyright © 2011. All Rights Reserved.