Reflection
Inherits from: Effect
Overview
An effect that renders a reflected version of the input below the actual input content.
Note that the reflection of a Node with a Reflection effect installed will not respond to mouse events or the containment methods on the Node.
Profile: common
Variable Summary
| name | type | Default Value | description |
|---|---|---|---|
| input | Effect | null |
The input for this |
| topOffset | Number | 0.0 |
The top offset adjustment, which is the distance between the bottom of the input and the top of the reflection.
Min: n/a
Max: n/a
Default: 0.0
Identity: 0.0
|
| topOpacity | Number | 0.5 |
The top opacity value, which is the opacity of the reflection at its top extreme.
Min: 0.0
Max: 1.0
Default: 0.5
Identity: 1.0
|
| bottomOpacity | Number | 0.0 |
The bottom opacity value, which is the opacity of the reflection at its bottom extreme.
Min: 0.0
Max: 1.0
Default: 0.0
Identity: 1.0
|
| fraction | Number | 0.75 |
The fraction of the input that is visible in the reflection. For example, a value of 0.5 means that only the bottom half of the input will be visible in the reflection.
Min: 0.0
Max: 1.0
Default: 0.75
Identity: 1.0
|
