public static class FilterSpec.FESpecularLighting extends FilterSpec.AbstractFilterEffect
| Modifier and Type | Field and Description |
|---|---|
javafx.scene.effect.Light |
light
Light source.
|
double |
specularConstant
Specular constant.
|
double |
specularExponent
Specular exponent.
|
double |
surfaceScale
Surface scale.
|
in, inputType, resultId| Constructor and Description |
|---|
FESpecularLighting(String resultId,
double specularConstant,
double specularExponent,
double surfaceScale,
javafx.scene.effect.Light light)
Create a specular lighting effect.
|
| Modifier and Type | Method and Description |
|---|---|
javafx.scene.effect.Effect |
getEffect(javafx.scene.Node node)
Return the associated JavaFX effect.
|
void |
resolveEffect(javafx.scene.effect.Effect effect,
javafx.scene.effect.Effect sourceAlpha,
javafx.scene.effect.Effect previousEffect,
Map<String,javafx.scene.effect.Effect> namedEffects)
Resolve the effect inputs once all effects are created.
|
getInputType, getResultId, setInpublic final double specularConstant
public final double specularExponent
public final double surfaceScale
public final javafx.scene.effect.Light light
public FESpecularLighting(String resultId, double specularConstant, double specularExponent, double surfaceScale, javafx.scene.effect.Light light)
resultId - the result idspecularConstant - the specular constantspecularExponent - the specular exponentsurfaceScale - the surface scalelight - the light sourcepublic javafx.scene.effect.Effect getEffect(javafx.scene.Node node)
FilterSpec.FilterEffectnode - the node on which the effect appliespublic void resolveEffect(javafx.scene.effect.Effect effect,
javafx.scene.effect.Effect sourceAlpha,
javafx.scene.effect.Effect previousEffect,
Map<String,javafx.scene.effect.Effect> namedEffects)
FilterSpec.FilterEffecteffect - the JavaFX effect instancesourceAlpha - the source alpha effectpreviousEffect - the previous effect in the chainnamedEffects - the map of named effects by idCopyright © 2026. All rights reserved.