◆
~BPSingleColorSettings()
成员函数文档编制
◆
SetRGB()
void SetRGB
|
(
|
const
向量
&
|
rgb
,
|
|
|
Float
|
i
|
|
)
|
|
|
Sets the RGB color and intensity value for the color. The intensity value is internally multiplied against the RGB value.
An RGB value of
(0.5,0.5,0.5) is Grey. If the RGB value is
(1.0,1.0,1.0) and the intensity value is
0.5
then the resulting color is Grey
(0.5,0.5,0.5).
-
参数
-
[in]
|
rgb
|
The RGB color.
|
[in]
|
i
|
The intensity value.
|
◆
GetRGB()
void GetRGB
|
(
|
向量
&
|
rgb
,
|
|
|
Float
&
|
i
|
|
)
|
|
|
Gets the RGB color and intensity value for the color. The intensity value is internally multiplied against the RGB value.
An RGB value of
(0.5,0.5,0.5) is Grey. If the RGB value is
(1.0,1.0,1.0) and the intensity value is 0.5 then the resulting color is Grey
(0.5,0.5,0.5).
-
参数
-
[out]
|
rgb
|
The RGB color.
|
[out]
|
i
|
The intensity value.
|