Added a nicer toString() to DirectionalLight.

accellbaker
Paul Speed 6 years ago
parent 2b1c3d22e8
commit c2fe803f53
  1. 5
      jme3-core/src/main/java/com/jme3/light/DirectionalLight.java

@ -132,6 +132,11 @@ public class DirectionalLight extends Light {
return Type.Directional; return Type.Directional;
} }
@Override
public String toString() {
return getClass().getSimpleName() + "[name=" + name + ", direction=" + direction + ", color=" + color + ", enabled=" + enabled + "]";
}
@Override @Override
public void write(JmeExporter ex) throws IOException { public void write(JmeExporter ex) throws IOException {
super.write(ex); super.write(ex);

Loading…
Cancel
Save