-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Rename speedup to multiplier #7393
Conversation
Thanks for the pull request @OmarShehata!
Reviewers, don't forget to make sure that:
I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome. 🌍 🌎 🌏 |
Changes look good to me! Should it maybe be named just |
I was worried multiplier on its own might be confused with something about how many times the animation loops but I could just be paranoid. I'm open to suggestions. |
Just |
Should be good now @lilleyse ! |
Cool, thanks! |
@OmarShehata make sure to open an issue to remove the deprecated functionality in 1.54. Someone can then assign it the |
From the discussion here: #7361 (comment)
This renames
ModelAnimation.speedup
toModelAnimation.timeMultiplier
and adds a deprecation warning that it will be removed in one more version. I kept the old property and added a@deprecated
doc tag. I also tweaked the doc HTML slightly to make sure there's a newline after the deprecated statement so that it looks better.I was initially going to just call it
ModelAnimation.rate
but that felt like it was referring to "Frame rate" but glTF animations are based on real time, not a fixed frame rate. I thought aboutscale
ortimeScale
but just went withtimeMultiplier
because I it made the most sense to me.@hpinkos @lilleyse do either of you want to review?