*/
protected boolean enabled = true;
+ /** The light's name. */
+ protected String name;
+
/**
* @return The color of the light.
*/
return color;
}
+ /**
+ * This method sets the light's name.
+ * @param name the light's name
+ */
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * This method returns the light's name.
+ * @return the light's name
+ */
+ public String getName() {
+ return name;
+ }
+
public void setLastDistance(float lastDistance){
this.lastDistance = lastDistance;
}
protected Matrix4f viewProjectionMatrix = new Matrix4f();
private BoundingBox guiBounding = new BoundingBox();
+ /** The camera's name. */
+ protected String name;
+
/**
* Constructor instantiates a new <code>Camera</code> object. All
* values of the camera are set to default.
}
/**
+ * This method sets the cameras name.
+ * @param name the cameras name
+ */
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * This method returns the cameras name.
+ * @return the cameras name
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
* Sets a clipPlane for this camera.
* The cliPlane is used to recompute the projectionMatrix using the plane as the near plane
* This technique is known as the oblique near-plane clipping method introduced by Eric Lengyel