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