Package | Description |
---|---|
com.sun.scenario.effect.light |
Modifier and Type | Field and Description |
---|---|
private Light.Type |
Light.type |
Modifier and Type | Method and Description |
---|---|
Light.Type |
Light.getType()
Returns the light
Type , either DISTANT , POINT ,
or SPOT . |
static Light.Type |
Light.Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Light.Type[] |
Light.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
Light(Light.Type type)
Package-private constructor.
|
Light(Light.Type type,
Color4f color)
Package-private constructor.
|
PointLight(Light.Type type,
float x,
float y,
float z,
Color4f color)
Package-private constructor.
|