Method b3MakeDebugColor
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3MakeDebugColor(b3HexColor, b3DebugMaterial)
Packs an RGB colour together with a debug draw material preset.
Port of the inline b3MakeDebugColor.
public static uint b3MakeDebugColor(b3HexColor rgb, b3DebugMaterial material)Parameters
rgbb3HexColor-
The colour. Only the low 24 bits are used.
materialb3DebugMaterial-
The material preset, which rides in the high byte.
Returns
- uint
-
The packed colour.