Version: 2022.1

PropFlags

enumeration

切换到手册

描述

控制 MaterialProperty 显示方式的标志。

变量

None未设置任何标志。
HideInInspector不在检视面板中显示属性。
PerRendererDataIn the Material Inspector, value for this property will be queried from Renderer's MaterialPropertyBlock, instead of from the Material. The value will also appear as read-only. This corresponds to the "[PerRendererData]" attribute in front of a property in the Shader code.
NoScaleOffset不在纹理旁边显示 UV 缩放/偏移字段。
Normal表示此属性的值包含标准(标准化矢量)数据。
HDR表示此属性的值包含高动态范围 (HDR) 数据。
Gamma表示此属性的值位于伽马空间,并且不应进行伽马校正。
NonModifiableTextureData不允许在检视面板中编辑此纹理属性。
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961