M

CreateGradient

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2023).
Identical to 2023: 2020, 2021, 2022, 2024
2023 current
ViewDisplayBackground.CreateGradient(Color, Color, Color)
skyColor Color The top of the sky gradient if the sky is visible.
horizonColor Color The bottom or the sky gradient if the sky is visible, or the top of the ground gradient otherwise.
groundColor Color The ground color if the sky is visible (ground shown in uniform color), or the bottom of the ground gradient if the sky is not visible.
→ returns ViewDisplayBackgroundSetBackground New background object to pass to View.SetBackground .
ViewDisplayBackground.CreateGradient(Color, Color, Color)
skyColor Color The top of the sky gradient if the sky is visible.
horizonColor Color The bottom or the sky gradient if the sky is visible, or the top of the ground gradient otherwise.
groundColor Color The ground color if the sky is visible (ground shown in uniform color), or the bottom of the ground gradient if the sky is not visible.
→ returns ViewDisplayBackgroundSetBackground New background object to pass to View.SetBackground .
ViewDisplayBackground.CreateGradient(Color, Color, Color)
skyColor Color The top of the sky gradient if the sky is visible.
horizonColor Color The bottom or the sky gradient if the sky is visible, or the top of the ground gradient otherwise.
groundColor Color The ground color if the sky is visible (ground shown in uniform color), or the bottom of the ground gradient if the sky is not visible.
→ returns ViewDisplayBackgroundSetBackground New background object to pass to View.SetBackground .
ViewDisplayBackground.CreateGradient(Color, Color, Color)
skyColor Color The top of the sky gradient if the sky is visible.
horizonColor Color The bottom or the sky gradient if the sky is visible, or the top of the ground gradient otherwise.
groundColor Color The ground color if the sky is visible (ground shown in uniform color), or the bottom of the ground gradient if the sky is not visible.
→ returns ViewDisplayBackgroundSetBackground New background object to pass to View.SetBackground .