Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

color property types should be able to take a THREE.Color or rgb vector #1331

Open
ngokevin opened this issue Apr 4, 2016 · 0 comments
Open

Comments

@ngokevin
Copy link
Member

ngokevin commented Apr 4, 2016

Description: In animations, we have to convert from rgb vector/three.color to a hex string every time we want to set attribute on a color. Would be good to have color parser handle setAttribute(component, colorPropType, {r: 0, g: 0, b: 0} and defer the stringification to hex.

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

No branches or pull requests

1 participant