速度表旋转改变颜色 Aetuts How to Change Color Based on an Object’s Rotation教程教我们用表达式来改变旋转的同时,也发生颜色的改变。
主要用到Linear表达式。
包含教程和工程。
In this tutorial, you’ll learn how to use expressions to link the rotation of one object to the color of multiple others.
This will be done in a way that can be edited to fit different scenarios.
You’ll learn the basics of defining values to make the overall coding neater, and will learn about the “Linear Interpolation” expression and its use.
Prior knowledge of expressions will be useful, but isn’t crucial for following this tutorial.
发布日期: 2014-03-04