Click or drag to resize
AB4D logo

ExpandPostProcess Properties

The ExpandPostProcess type exposes the following members.

Properties
 NameDescription
Public propertyBackgroundColor The color of the background - only colors that are not the same as background will be expanded.
Public propertyExpansionWidth 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.
Public propertyFactors Gets or sets a Vector4 that specifies RGBA values that are multiplied with each rendered pixel. Default value is (1, 1, 1, 1)
Public propertyIsVerticalRenderingPass 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.
Public propertyOffsets Gets or sets a Vector4 that specifies RGBA values that are added to each rendered pixel. Default value is (0, 0, 0, 0)
Public propertyTextureSize Gets or sets the size of the texture.
Top
See Also