Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Add alpha channel attribute to color property type #518

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yuriy0
Copy link

@yuriy0 yuriy0 commented Aug 28, 2020

Reflected color properties in the editor currently don't allow you to pick the alpha channel.

This change adds an attribute which can be applied to AZ::Color DataElements in the edit context which enables the alpha channel as follows:

...
                   ->DataElement(0, &MyClass::m_colour, "Some Color Value", "")
                   ->Attribute("AlphaChannel", true)
...

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AMZN-puvvadar
Copy link

Hi @yuriy0 ,

Thanks for the submission. We'll take a look at this enhancement internally.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants