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

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
              extended by com.threerings.opengl.effect.config.ParticleSystemConfig.Lines
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ParticleSystemConfig

public static class ParticleSystemConfig.Lines
extends ParticleSystemConfig.ParticleGeometryConfig

Renders particles as lines or line strips.


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
 
Field Summary
 boolean moveTrailsWithParticles
          Whether or not to move the trails with the particles.
 int segments
          The number of segments in each particle.
 
Constructor Summary
ParticleSystemConfig.Lines()
           
ParticleSystemConfig.Lines(ParticleSystemConfig.Quads quads)
           
 
Method Summary
 Geometry createGeometry(GlContext ctx, Scope scope, DeformerConfig deformer, PassDescriptor[] passes)
          Creates an instance of the geometry described by this config.
 boolean getMoveTrailsWithParticles()
          Returns whether or not to move the particle trails with the particles.
 int getSegments()
          Returns the number of segments in each particle.
 
Methods inherited from class com.threerings.opengl.effect.config.ParticleSystemConfig.ParticleGeometryConfig
getBounds, getRadius, getUpdateReferences
 
Methods inherited from class com.threerings.opengl.geometry.config.GeometryConfig
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
 

Field Detail

segments

@Editable(min=0.0,
          hgroup="s")
public int segments
The number of segments in each particle.


moveTrailsWithParticles

@Editable(hgroup="s")
public boolean moveTrailsWithParticles
Whether or not to move the trails with the particles.

Constructor Detail

ParticleSystemConfig.Lines

public ParticleSystemConfig.Lines(ParticleSystemConfig.Quads quads)

ParticleSystemConfig.Lines

public ParticleSystemConfig.Lines()
Method Detail

getSegments

public int getSegments()
Description copied from class: ParticleSystemConfig.ParticleGeometryConfig
Returns the number of segments in each particle.

Overrides:
getSegments in class ParticleSystemConfig.ParticleGeometryConfig

getMoveTrailsWithParticles

public boolean getMoveTrailsWithParticles()
Description copied from class: ParticleSystemConfig.ParticleGeometryConfig
Returns whether or not to move the particle trails with the particles.

Overrides:
getMoveTrailsWithParticles in class ParticleSystemConfig.ParticleGeometryConfig

createGeometry

public Geometry createGeometry(GlContext ctx,
                               Scope scope,
                               DeformerConfig deformer,
                               PassDescriptor[] passes)
Description copied from class: GeometryConfig
Creates an instance of the geometry described by this config.

Specified by:
createGeometry in class GeometryConfig


Copyright © 2011. All Rights Reserved.