b3dVertexU

Returns vertex U texture coordinate (horizontal texture mapping). Takes mesh (surface-based mesh entity), surface (surface handle, 0-based), vertexIndex (vertex number, 0-based), coordSet (UV set index, currently ignored - always returns base UV set 0). Returns U coordinate as double or 0.

3D Graphics

Parameters & Returns

Parameters

mesh Int
surface Int
vertexIndex Int
coordSet Int

Returns

Double

Quick Summary

Returns vertex U texture coordinate (horizontal texture mapping). Takes mesh (surface-based mesh entity), surface (surface handle, 0-based), vertexIndex (vertex number, 0-based), coordSet (UV set index, currently ignored - always returns base UV set 0). Returns U coordinate as double or 0.

Technical Exegesis...

Returns vertex U texture coordinate (horizontal texture mapping). Takes mesh (surface-based mesh entity), surface (surface handle, 0-based), vertexIndex (vertex number, 0-based), coordSet (UV set index, currently ignored - always returns base UV set 0). Returns U coordinate as double or 0.0 on error. Validates mesh exists, type is ENTITY_MESH, is surface-based, surface index valid, and vertex index valid. Returns surface->vertices[vertexIndex].texCoord.x directly.

Example

Example.bam
; No example implemented yet