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

Add ColorRepresentation compatibility when create Tween #13

Merged
merged 2 commits into from
Sep 14, 2023

Conversation

agargaro
Copy link
Owner

@agargaro agargaro commented Sep 14, 2023

Now is possibile to animate a Color also writing it as string or number.

Example:

new Tween(material)
  .by(1000, { color: 0x220000 })
  .to(1000, { color: 'yellow' })
  .start();

@agargaro agargaro added the enhancement New feature or request label Sep 14, 2023
@agargaro agargaro added this to the r2 milestone Sep 14, 2023
@sonarcloud
Copy link

sonarcloud bot commented Sep 14, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@agargaro agargaro merged commit 3cb45e2 into master Sep 14, 2023
2 checks passed
@agargaro agargaro deleted the Tween-ColorRapresentation-Param branch September 14, 2023 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant