기술 자료

Unity Engine

Unity Engine

HSVToRGB(float, float, float, bool)

Convert a set of HSV values to an RGB Color.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
경고
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.