Unity Issue Tracker - Transparent MeshGenerationContext color is not consistent when using StrokeColor and FillColor with the same color
Closed
UUM-110431
Transparent MeshGenerationContext color is not consistent when using StrokeColor and FillColor with the same color
Unity: UI Toolkit Framework
As Designed
6.3.X
6.1.X
6.0.X
2022.3.X
The stroke and fill colors are rendered independently. It is not expected that the opacities of the stroke and fill colors would merge together as a unified opacity.
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/OutdoorsScene.unity” Scene
3. Open “/Assets/Scripts/VectorScriptableObject.cs“ Script
4. Notice that both "Stroke Color" and "Fill Color" are the same
5. Enter the Play Mode
6. Observe the Game view
Expected result: The shape has a consistent color
Actual result: The Transparent colors of the shape are not consistent