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