Add min/max values for ScreenSpacerenderable background color property

This commit is contained in:
Emma Broman
2022-03-04 11:09:44 +01:00
parent 6a708b1f18
commit 235e37d2e6

View File

@@ -343,7 +343,12 @@ ScreenSpaceRenderable::ScreenSpaceRenderable(const ghoul::Dictionary& dictionary
)
, _scale(ScaleInfo, 0.25f, 0.f, 2.f)
, _multiplyColor(MultiplyColorInfo, glm::vec3(1.f), glm::vec3(0.f), glm::vec3(1.f))
, _backgroundColor(BackgroundColorInfo)
, _backgroundColor(
BackgroundColorInfo,
glm::vec4(0.f),
glm::vec4(0.f),
glm::vec4(1.f)
)
, _opacity(OpacityInfo, 1.f, 0.f, 1.f)
, _delete(DeleteInfo)
{