Skip to content

Commit 8911d07

Browse files
authored
Update LightControl: add toString method
1 parent 0c8aa04 commit 8911d07

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

jme3-core/src/main/java/com/jme3/scene/control/LightControl.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,4 +319,16 @@ public void write(JmeExporter ex) throws IOException {
319319
oc.write(axisRotation, "axisRotation", Axis.Z);
320320
oc.write(axisDirection, "axisDirection", Direction.Positive);
321321
}
322+
323+
@Override
324+
public String toString() {
325+
return getClass().getSimpleName() +
326+
"[light=" + light +
327+
", controlDir=" + controlDir +
328+
", axisRotation=" + axisRotation +
329+
", axisDirection=" + axisDirection +
330+
", enabled=" + enabled +
331+
", spatial=" + spatial +
332+
"]";
333+
}
322334
}

0 commit comments

Comments
 (0)