Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Color.HSVToRGB

public static Color HSVToRGB(float H, float S, float V);
public static Color HSVToRGB(float H, float S, float V, bool hdr);

Parameters

H Hue [0..1].
S Saturation [0..1].
V Value [0..1].
hdr Output HDR colours. If true, the returned colour will not be clamped to [0..1].

Returns

Color An opaque colour with HSV matching the input.

Description

Creates an RGB colour from HSV input.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答