com.threerings.opengl.effect.tools
Class ParticleEditor

java.lang.Object
  extended by com.threerings.expr.DynamicScope
      extended by com.threerings.opengl.GlApp
          extended by com.threerings.opengl.GlCanvasApp
              extended by com.threerings.opengl.GlCanvasTool
                  extended by com.threerings.opengl.model.tools.ModelTool
                      extended by com.threerings.opengl.effect.tools.ParticleEditor
All Implemented Interfaces:
EditorContext, Scope, ScopeUpdateListener, AlContext, Enqueueable, GlContext, ActionListener, EventListener, ChangeListener, ListSelectionListener

public class ParticleEditor
extends ModelTool
implements ListSelectionListener, ChangeListener

The particle editor application.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.model.tools.ModelTool
ModelTool.EnvironmentModel
 
Field Summary
 
Fields inherited from interface com.threerings.expr.Scope
EPOCH, NOW
 
Constructor Summary
ParticleEditor(String particles)
          Creates the particle editor with (optionally) the path to a particle system to load.
 
Method Summary
 void actionPerformed(ActionEvent event)
           
 ParticleSystemConfig getParticleSystemConfig()
          Returns a reference to the particle system configuration.
static void main(String[] args)
          The program entry point.
 void stateChanged(ChangeEvent event)
           
 void valueChanged(ListSelectionEvent event)
           
 
Methods inherited from class com.threerings.opengl.GlCanvasTool
shouldCheckTimestamps
 
Methods inherited from class com.threerings.opengl.GlCanvasApp
createRoot, getCanvas, getFrame, getMouseRay, getPickRay, getRunQueue, makeCurrent, shutdown, startup
 
Methods inherited from class com.threerings.opengl.GlApp
createSnapshot, enqueue, getApp, getCameraHandler, getClipProvider, getColorPository, getCompatibilityMode, getCompositor, getConfigManager, getImageCache, getMessageManager, getRenderEffects, getRenderer, getRenderScheme, getResourceManager, getScope, getShaderCache, getSoundManager, getStreamGain, setCameraHandler, setCompatibilityMode, setRenderEffects, setRenderer, setRenderScheme, xlate
 
Methods inherited from class com.threerings.expr.DynamicScope
addListener, dispose, endCompoundUpdate, get, getParentScope, getScopeName, put, remove, removeListener, scopeUpdated, setParentScope, startCompoundUpdate, wasUpdated
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.threerings.editor.util.EditorContext
getColorPository, getConfigManager, getMessageManager, getResourceManager
 

Constructor Detail

ParticleEditor

public ParticleEditor(String particles)
Creates the particle editor with (optionally) the path to a particle system to load.

Method Detail

main

public static void main(String[] args)
The program entry point.


valueChanged

public void valueChanged(ListSelectionEvent event)
Specified by:
valueChanged in interface ListSelectionListener

stateChanged

public void stateChanged(ChangeEvent event)
Specified by:
stateChanged in interface ChangeListener

actionPerformed

public void actionPerformed(ActionEvent event)
Specified by:
actionPerformed in interface ActionListener
Overrides:
actionPerformed in class ModelTool

getParticleSystemConfig

public ParticleSystemConfig getParticleSystemConfig()
Returns a reference to the particle system configuration.



Copyright © 2011. All Rights Reserved.