AbstractStaticeaseSmooth "Ease-In-Out" transition (Sine). The alpha change accelerates in the middle and decelerates at the ends. Creates the most natural-looking fade.
The alpha of the original color.
The alpha of the blending color.
The mixing weight.
The result.
StaticeaseAccelerating transition (Quadratic). Starts changing slowly and speeds up towards the end.
The alpha of the original color.
The alpha of the blending color.
The mixing weight.
The result.
StaticeaseDecelerating transition (Quadratic). Starts changing quickly and slows down towards the end.
The alpha of the original color.
The alpha of the blending color.
The mixing weight.
The result.
StaticlinearStandard linear interpolation. The transparency changes at a constant rate from start to finish. Default behavior.
The alpha of the original color.
The alpha of the blending color.
The mixing weight.
The result.
StaticmaxKeeps the highest opacity value between source and destination. Prevents the object from looking "washed out" or transparent during the transition. Ideal for morphing between two solid colors.
The alpha of the original color.
The alpha of the blending color.
The mixing weight. Ignored.
The result.
StaticminKeeps the lowest opacity. Useful for "stealth" transitions where you don't want visibility to increase until the very end.
The alpha of the original color.
The alpha of the blending color.
The mixing weight.
The result.
StaticpreserveNo alpha interpolation. Preserve the source alpha.
The alpha of the original color.
The alpha of the blending color. Ignored.
The mixing weight. Ignored.
The result.
Class for different alpha blending strategies.