Class ColorParameter
Inheritance
System.Object
ColorParameter
Syntax
[Serializable]
public class ColorParameter : VolumeParameter<Color>, IEquatable<VolumeParameter<Color>>
Constructors
ColorParameter(Color, Boolean)
Declaration
public ColorParameter(Color value, bool overrideState = false)
Parameters
Type |
Name |
Description |
Color |
value |
|
System.Boolean |
overrideState |
|
ColorParameter(Color, Boolean, Boolean, Boolean, Boolean)
Declaration
public ColorParameter(Color value, bool hdr, bool showAlpha, bool showEyeDropper, bool overrideState = false)
Parameters
Type |
Name |
Description |
Color |
value |
|
System.Boolean |
hdr |
|
System.Boolean |
showAlpha |
|
System.Boolean |
showEyeDropper |
|
System.Boolean |
overrideState |
|
Fields
hdr
Declaration
Field Value
Type |
Description |
System.Boolean |
|
showAlpha
Declaration
Field Value
Type |
Description |
System.Boolean |
|
showEyeDropper
Declaration
public bool showEyeDropper
Field Value
Type |
Description |
System.Boolean |
|
Methods
Interp(Color, Color, Single)
Declaration
public override void Interp(Color from, Color to, float t)
Parameters
Type |
Name |
Description |
Color |
from |
|
Color |
to |
|
System.Single |
t |
|
Overrides
UnityEngine.Rendering.VolumeParameter<Color>.Interp(Color, Color, System.Single)