Utility.ColorToFloatArray Method

Converts a Color to a float[4] with components in the [0,1] range.
Public Shared Function ColorToFloatArray( _ 
ByVal color As Color
) As Single()
This language is not supported or no code example is available.
public static float[] ColorToFloatArray( 
Color color 
)
This language is not supported or no code example is available.

Parameters

color
Color

Return Value

float[]

.NET Framework

Supported in: 4.8

In this article

Definition