Home | History | Annotate | Download | only in light

Lines Matching defs:Light

33 package com.jme3.light;
41 * Abstract class for representing a light source.
43 * All light source types have a color.
45 public abstract class Light implements Savable, Cloneable {
48 * Describes the light type.
53 * Directional light
60 * Point light
67 * Spot light.
74 * Ambient light
87 * Returns an index for the light type
88 * @return an index for the light type
104 * If light is disabled, it will not have any
109 * The light name.
114 * Returns the color of the light.
116 * @return The color of the light.
123 * This method sets the light name.
125 * @param name the light name
132 * Return the light name.
134 * @return the light name
151 * Sets the light color.
153 * @param color the light color.
161 * Returns true if the light is enabled
163 * @return true if the light is enabled
165 * @see Light#setEnabled(boolean)
174 public Light clone(){
176 return (Light) super.clone();
202 * Returns the light type
204 * @return the light type