b3dVertexBlue

Returns vertex blue color component (0-255 integer). Takes mesh (surface-based mesh entity), surface (surface handle, 0-based), vertexIndex (vertex number, 0-based). Returns blue component as integer (0-255) or 255 on error.

3D Graphics

Parameters & Returns

Parameters

mesh Int
surface Int
vertexIndex Int

Returns

Int

Quick Summary

Returns vertex blue color component (0-255 integer). Takes mesh (surface-based mesh entity), surface (surface handle, 0-based), vertexIndex (vertex number, 0-based). Returns blue component as integer (0-255) or 255 on error.

Technical Exegesis...

Returns vertex blue color component (0-255 integer). Takes mesh (surface-based mesh entity), surface (surface handle, 0-based), vertexIndex (vertex number, 0-based). Returns blue component as integer (0-255) or 255 on error. Validates mesh exists, type is ENTITY_MESH, is surface-based, surface index valid, and vertex index valid. Converts internal float color (0.0-1.0) to integer: (int)(color.z * 255.0f).

Example

Example.bam
; No example implemented yet