Click or drag to resize

VertexElementConvertColorValue Method

Utility method for converting color to a packed 32-bit color type.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
public static uint ConvertColorValue(
	ColorValue color,
	VertexElementType destinationType
)

Parameters

color
Type: NeoAxisColorValue
The source color.
destinationType
Type: NeoAxisVertexElementType
The destination type.

Return Value

Type: UInt32
The packed color type.
See Also