Version: 2020.2
言語: 日本語

GradientUsageAttribute

class in UnityEngine

/

継承:PropertyAttribute

マニュアルに切り替える

説明

Attribute used to configure the usage of the GradientField and Gradient Editor for a gradient.

Use this attribute on a Gradient to configure the GradientField and Gradient Editor to treat the colors as HDR colors or as normal LDR colors, and as in linear or gamma color space.

変数

colorSpaceThe color space the Gradient uses.
hdrIf set to true the Gradient uses HDR colors.

コンストラクタ

GradientUsageAttributeAttribute for gradient fields. Used to configure the GUI for the Gradient Editor.

継承メンバー

変数

order複数の DecorationDrawer がある場合に描画する順番を指定するフィールド
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961