| Modifier and Type | Field and Description |
|---|---|
| private AbstractShadow |
| Access | Constructor and Description |
|---|---|
| public | GeneralShadow()
Constructs a new |
| public | GeneralShadow(Effect
the input input)Effect used to create the shadowConstructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public Color4f | |
| protected Effect | getDelegate()
Implements abstract com. Returns the |
| public float | |
| public float | |
| public float | |
| public final Effect | Returns: the shadow source input for thisEffectReturns the shadow source input for this |
| public float | |
| public AbstractShadow. | |
| public float | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setRadius(float
the radius of the shadow blur kernel radius)Sets the radius of the shadow blur kernel. |
| public void | |
| public void |
| shadow | back to summary |
|---|---|
| private AbstractShadow shadow | |
| GeneralShadow | back to summary |
|---|---|
| public GeneralShadow() Constructs a new
new GeneralShadow(DefaultInput)
| |
| GeneralShadow | back to summary |
|---|---|
| public GeneralShadow(Effect input) Constructs a new This constructor is intended for advanced developers only. Most developers will only ever need to use the default constructor.
| |
| getColor | back to summary |
|---|---|
| public Color4f getColor() Returns the shadow color.
| |
| getDelegate | back to summary |
|---|---|
| protected Effect getDelegate() Implements abstract com. Doc from com. Returns the
| |
| getGaussianHeight | back to summary |
|---|---|
| public float getGaussianHeight() | |
| getGaussianRadius | back to summary |
|---|---|
| public float getGaussianRadius() | |
| getGaussianWidth | back to summary |
|---|---|
| public float getGaussianWidth() | |
| getInput | back to summary |
|---|---|
| public final Effect getInput() Returns the shadow source input for this
| |
| getRadius | back to summary |
|---|---|
| public float getRadius() Returns the radius of the Gaussian kernel.
| |
| getShadowMode | back to summary |
|---|---|
| public AbstractShadow. | |
| getSpread | back to summary |
|---|---|
| public float getSpread() Gets the spread of the shadow effect.
| |
| setColor | back to summary |
|---|---|
| public void setColor(Color4f color) Sets the shadow color.
Min: n/a
Max: n/a
Default: Color4f.BLACK
Identity: n/a
| |
| setGaussianHeight | back to summary |
|---|---|
| public void setGaussianHeight(float h) | |
| setGaussianRadius | back to summary |
|---|---|
| public void setGaussianRadius(float r) | |
| setGaussianWidth | back to summary |
|---|---|
| public void setGaussianWidth(float w) | |
| setInput | back to summary |
|---|---|
| public void setInput(Effect input) Sets the shadow source input for this
| |
| setRadius | back to summary |
|---|---|
| public void setRadius(float radius) Sets the radius of the shadow blur kernel.
Min: 0.0
Max: 127.0
Default: 10.0
Identity: 0.0
| |
| setShadowMode | back to summary |
|---|---|
| public void setShadowMode(AbstractShadow. | |
| setSpread | back to summary |
|---|---|
| public void setSpread(float spread) Sets the spread of the shadow effect.
The spread is the portion of the radius where the contribution of
the source material will be 100%.
The remaining portion of the radius will have a contribution
controlled by the Gaussian kernel.
A spread of
Min: 0.0
Max: 1.0
Default: 0.0
Identity: 0.0
| |