Click or drag to resize
AB4D logo

LightingRigVisual3DGetColorFromBrightness Method

Returns a color that is defined by brightness - a percentage of used White color. 1 means full White, 0.5 means half white (R = 128, G = 128, B = 128)-

Namespace: Ab3d.Visuals
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static Color GetColorFromBrightness(
	double brightness
)

Parameters

brightness  Double
brightness from 0 to 1

Return Value

Color
color that is defined by brightness
See Also