com.threerings.opengl.effect.config
Class ParticleSystemConfig.Lines
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.geometry.config.GeometryConfig
com.threerings.opengl.effect.config.ParticleSystemConfig.ParticleGeometryConfig
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.
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.
ParticleSystemConfig.Lines
public ParticleSystemConfig.Lines(ParticleSystemConfig.Quads quads)
ParticleSystemConfig.Lines
public ParticleSystemConfig.Lines()
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.