![]() | |
Expand |
The ExpandPostProcess type exposes the following members.
Name | Description | |
---|---|---|
![]() | BackgroundColor | The color of the background - only colors that are not the same as background will be expanded. |
![]() | ExpansionWidth | Gets or sets the width of the expansion (the distance in pixels that are checked away from the current pixel). ExpansionWidth values can be between 1 (zero is not allowed) and 16 (ExpandPostProcess.MaxExpansionWidth). Bigger numbers mean that more pixels will be sampled in pixel shader and will therefore require more time to execute the post process. Default value is 2. |
![]() | Factors | Gets or sets a Vector4 that specifies RGBA values that are multiplied with each rendered pixel. Default value is (1, 1, 1, 1) |
![]() | IsVerticalRenderingPass | Gets a boolean that specifies if vertical rendering pass is applied. If false then horizontal rendering pass is applied. This value is set in constructor. Note that in order to get full expand effect then two ExpandPostProcess must be used - one with horizontal and one with vertical rendering pass. |
![]() | Offsets | Gets or sets a Vector4 that specifies RGBA values that are added to each rendered pixel. Default value is (0, 0, 0, 0) |