public abstract class Light extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Light.Distant
Represents a distant light source.
|
static class |
Light.Point
Represents a light source at a given position in 3D space.
|
static class |
Light.Spot
Represents a spot light source at a given position in 3D space, with
configurable direction and focus.
|
Modifier | Constructor and Description |
---|---|
protected |
Light()
Creates a new Light.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Color> |
colorProperty() |
Color |
getColor() |
void |
setColor(Color value) |
public final void setColor(Color value)
public final Color getColor()
public final ObjectProperty<Color> colorProperty()
Copyright © 2020. All rights reserved.