com.jme.effects
Class LensFlareFactory

java.lang.Object
  extended bycom.jme.effects.LensFlareFactory

public class LensFlareFactory
extends java.lang.Object

LensFlareFactory A Factory useful for creating various types of LensFlares.

Version:
$Id: LensFlareFactory.java,v 1.1 2004/11/15 22:04:04 renanse Exp $
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