Unity2017.1官方UGUI文档翻译——Shadow
Shadow
阴影
The Shadow component adds a simple outline effect to graphic components such as Text or Image. It must be on the same GameObject as the graphic component.
Shadow组件为图形组件(比如Text或Image)添加了简单的轮廓。它必须和图形组件在同一个GameObject上
Properties
属性
Property: | Function: |
---|---|
Effect Color | The color of the shadow. |
Effect Distance | The offset of the shadow expressed as a vector. |
Use Graphic Alpha | Multiplies the color of the graphic onto the color of the effect. |
属性 | 功能 |
---|---|
Effect Color | 阴影的颜色 |
Effect Distance | 阴影的偏移量表示为一个向量 |
Use Graphic Alpha | 字面的翻译不太对,看了源码,其实就是阴影的透明度要不要乘一下原图的透明度(只和alpha的值有关,这个选项不会影响rgb的值) |