com.threerings.opengl.effect.config
Class ParticleSystemConfig.Meshes
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.Meshes
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- ParticleSystemConfig
public static class ParticleSystemConfig.Meshes
- extends ParticleSystemConfig.ParticleGeometryConfig
Renders particles as mesh instances.
model
@Editable(mode="compact",
nullable=true)
public ConfigReference<ModelConfig> model
- The model containing the mesh.
ParticleSystemConfig.Meshes
public ParticleSystemConfig.Meshes()
getUpdateReferences
public void getUpdateReferences(ConfigReferenceSet refs)
- Description copied from class:
ParticleSystemConfig.ParticleGeometryConfig
- Adds the geometry's update references to the provided set.
- Overrides:
getUpdateReferences in class ParticleSystemConfig.ParticleGeometryConfig
getRadius
public float getRadius(GlContext ctx)
- Description copied from class:
ParticleSystemConfig.ParticleGeometryConfig
- Returns the radius of the geometry (used to expand the bounds).
- Overrides:
getRadius 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.