com.threerings.opengl.effect.config
Class ShooterConfig.Cone

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.effect.config.ShooterConfig
          extended by com.threerings.opengl.effect.config.ShooterConfig.Cone
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ShooterConfig

public static class ShooterConfig.Cone
extends ShooterConfig

Shoots particles in a cone pattern.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.effect.config.ShooterConfig
ShooterConfig.Cone, ShooterConfig.Outward
 
Field Summary
 Vector3f direction
          The direction vector.
 float maximumAngle
          The maximum angle from the direction.
 float minimumAngle
          The minimum angle from the direction.
 
Constructor Summary
ShooterConfig.Cone()
           
 
Method Summary
 Shooter createShooter(BaseParticleSystem.Layer layer)
          Creates the shooter corresponding to this config.
 
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

direction

@Editable(mode="normalized")
public Vector3f direction
The direction vector.


minimumAngle

@Editable(min=0.0,
          max=180.0,
          scale=0.017453292519943295)
public float minimumAngle
The minimum angle from the direction.


maximumAngle

@Editable(min=0.0,
          max=180.0,
          scale=0.017453292519943295)
public float maximumAngle
The maximum angle from the direction.

Constructor Detail

ShooterConfig.Cone

public ShooterConfig.Cone()
Method Detail

createShooter

public Shooter createShooter(BaseParticleSystem.Layer layer)
Description copied from class: ShooterConfig
Creates the shooter corresponding to this config.

Specified by:
createShooter in class ShooterConfig


Copyright © 2011. All Rights Reserved.