Version: 2019.4

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.

変数

hdrIf set to true the Gradient uses HDR colors.

コンストラクタ

GradientUsageAttributeAttribute for Gradient fields. Used for configuring the GUI for the Gradient Editor.

継承メンバー

変数

order複数の DecorationDrawer がある場合に描画する順番を指定するフィールド