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. | |
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 or sets a boolean that specifies if vertical rendering pass is applied. if false than horizontal rendering pass is applied. 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) | |
TextureSize | Gets or sets the size of the texture. |