Skip to content

Commit 5e6cde5

Browse files
Update jme3-core/src/main/java/com/jme3/light/SpotLight.java
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent efcecc0 commit 5e6cde5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

jme3-core/src/main/java/com/jme3/light/SpotLight.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ public SpotLight(Vector3f position, Vector3f direction, float range, ColorRGBA c
194194
* @param direction the direction of the light.
195195
* @param range the spotlight range
196196
* @param color the light's color.
197+
* @param global if true, the light affects the entire tree from the root node,
198+
* otherwise it only affects the children of the node in which it is attached.
197199
*/
198200
public SpotLight(Vector3f position, Vector3f direction, float range, ColorRGBA color, boolean global) {
199201
this(position, direction, range, color);

0 commit comments

Comments
 (0)