您的位置:首页 > 移动开发 > Unity3D

Unity2017.1官方UGUI文档翻译——Shadow

2018-01-03 11:55 459 查看

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 ColorThe color of the shadow.
Effect DistanceThe offset of the shadow expressed as a vector.
Use Graphic AlphaMultiplies the color of the graphic onto the color of the effect.

属性功能
Effect Color阴影的颜色
Effect Distance阴影的偏移量表示为一个向量
Use Graphic Alpha字面的翻译不太对,看了源码,其实就是阴影的透明度要不要乘一下原图的透明度(只和alpha的值有关,这个选项不会影响rgb的值)

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: