com.jmex.effects
Class LensFlareFactory

java.lang.Object
  extended by com.jmex.effects.LensFlareFactory

public class LensFlareFactory
extends java.lang.Object

LensFlareFactory A Factory useful for creating various types of LensFlares.

Version:
$Id: LensFlareFactory.java 4133 2009-03-19 20:40:11Z blaine.dev $
Author:
Joshua Slack

Method Summary
static LensFlare createBasicLensFlare(java.lang.String name, TextureState[] tex)
          Creates a basic LensFlare with 16 FlareQuad children.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createBasicLensFlare

public static LensFlare createBasicLensFlare(java.lang.String name,
                                             TextureState[] tex)
Creates a basic LensFlare with 16 FlareQuad children. 4 textures are used, the first being used on the main flare point.

Parameters:
name - String
tex - TextureState[] Must be length 4, all non-null.
Returns:
LensFlare