com.threerings.opengl.effect.config
Class ParticleSystemConfig.ParticleGeometryConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.geometry.config.GeometryConfig
          extended by com.threerings.opengl.effect.config.ParticleSystemConfig.ParticleGeometryConfig
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
ParticleSystemConfig.Lines, ParticleSystemConfig.Meshes, ParticleSystemConfig.Points, ParticleSystemConfig.Quads
Enclosing class:
ParticleSystemConfig

@EditorTypes(value={ParticleSystemConfig.Points.class,ParticleSystemConfig.Lines.class,ParticleSystemConfig.Quads.class,ParticleSystemConfig.Meshes.class})
public abstract static class ParticleSystemConfig.ParticleGeometryConfig
extends GeometryConfig

Determines how particles are rendered.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.geometry.config.GeometryConfig
GeometryConfig.ArrayStored, GeometryConfig.AttributeArrayConfig, GeometryConfig.IndexedStored, GeometryConfig.Mode, GeometryConfig.SkinnedIndexedStored, GeometryConfig.Stored
 
Constructor Summary
ParticleSystemConfig.ParticleGeometryConfig()
           
 
Method Summary
 Box getBounds()
          Returns the bounds of the geometry.
 boolean getMoveTrailsWithParticles()
          Returns whether or not to move the particle trails with the particles.
 float getRadius(GlContext ctx)
          Returns the radius of the geometry (used to expand the bounds).
 int getSegments()
          Returns the number of segments in each particle.
 void getUpdateReferences(ConfigReferenceSet refs)
          Adds the geometry's update references to the provided set.
 
Methods inherited from class com.threerings.opengl.geometry.config.GeometryConfig
createGeometry, createQuad, getQuad, merge
 
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

ParticleSystemConfig.ParticleGeometryConfig

public ParticleSystemConfig.ParticleGeometryConfig()
Method Detail

getUpdateReferences

public void getUpdateReferences(ConfigReferenceSet refs)
Adds the geometry's update references to the provided set.


getSegments

public int getSegments()
Returns the number of segments in each particle.


getMoveTrailsWithParticles

public boolean getMoveTrailsWithParticles()
Returns whether or not to move the particle trails with the particles.


getRadius

public float getRadius(GlContext ctx)
Returns the radius of the geometry (used to expand the bounds).


getBounds

public Box getBounds()
Description copied from class: GeometryConfig
Returns the bounds of the geometry.

Specified by:
getBounds in class GeometryConfig


Copyright © 2011. All Rights Reserved.