VertexElementConvertColorValue Method |
Utility method for converting color to a packed 32-bit color type.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public static uint ConvertColorValue(
ColorValue color,
VertexElementType destinationType
)
Parameters
- color
- Type: NeoAxisColorValue
The source color. - destinationType
- Type: NeoAxisVertexElementType
The destination type.
Return Value
Type:
UInt32The packed color type.
See Also