com.threerings.opengl.effect.config
Class PlacerConfig.Box

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

public static class PlacerConfig.Box
extends PlacerConfig

Places points within a box.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.effect.config.PlacerConfig
PlacerConfig.Box, PlacerConfig.Frustum, PlacerConfig.Line, PlacerConfig.Point, PlacerConfig.Ring, PlacerConfig.Shell
 
Field Summary
 float height
          The size of the box on the z axis.
 float length
          The size of the box on the y axis.
 boolean solid
          Whether to include the interior of the box (as opposed to just the faces).
 float width
          The size of the box on the x axis.
 
Constructor Summary
PlacerConfig.Box()
           
 
Method Summary
 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
 

Field Detail

width

@Editable(min=0.0,
          step=0.01)
public float width
The size of the box on the x axis.


length

@Editable(min=0.0,
          step=0.01)
public float length
The size of the box on the y axis.


height

@Editable(min=0.0,
          step=0.01)
public float height
The size of the box on the z axis.


solid

@Editable
public boolean solid
Whether to include the interior of the box (as opposed to just the faces).

Constructor Detail

PlacerConfig.Box

public PlacerConfig.Box()
Method Detail

createPlacer

public Placer createPlacer(BaseParticleSystem.Layer layer)
Description copied from class: PlacerConfig
Creates the placer corresponding to this config.

Specified by:
createPlacer in class PlacerConfig


Copyright © 2011. All Rights Reserved.