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

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.Frustum
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
PlacerConfig

public static class PlacerConfig.Frustum
extends PlacerConfig

Places points within the view frustum.


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 farDistance
          The distance to the far plane.
 float nearDistance
          The distance to the near plane.
 boolean solid
          Whether to include the interior of the frustum (as opposed to just the edges).
 
Constructor Summary
PlacerConfig.Frustum()
           
 
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

nearDistance

@Editable(min=0.0,
          step=0.1)
public float nearDistance
The distance to the near plane.


farDistance

@Editable(min=0.0,
          step=0.1)
public float farDistance
The distance to the far plane.


solid

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

Constructor Detail

PlacerConfig.Frustum

public PlacerConfig.Frustum()
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.