public static class FilterSpec.FEDiffuseLighting extends FilterSpec.AbstractFilterEffect
| Modifier and Type | Field and Description |
|---|---|
double |
diffuseConstant
Diffuse constant.
|
javafx.scene.effect.Light |
light
Light source.
|
in, inputType, resultId| Constructor and Description |
|---|
FEDiffuseLighting(String resultId,
double diffuseConstant,
javafx.scene.effect.Light light)
Create a diffuse 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 diffuseConstant
public final javafx.scene.effect.Light light
public FEDiffuseLighting(String resultId, double diffuseConstant, javafx.scene.effect.Light light)
resultId - the result iddiffuseConstant - the diffuse constantlight - 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.