ドキュメント

Unity Engine

Unity Engine

HSVToRGB(float, float, float, bool)

Convert a set of HSV values to an RGB Color.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
注意
Removed. EditorGUIUtility.HSVToRGB is obsolete. Use Color.HSVToRGB instead
Upgrade to Color.HSVToRGB
public static Color HSVToRGB(float H, float S, float V, bool hdr)

Parameters

Returns

Type

Description

ColorThe RGB color calculated from the HSV values passed into the function. The alpha value of the color will be 1.

Remarks

All values are in the range 0 - 1.
Additional Resources: RGBToHSV.