b3dVertexNY

Returns vertex normal Y component (negated to match Y+ = up convention). Takes mesh (surface-based mesh entity), surface (surface handle, 0-based), vertexIndex (vertex number, 0-based). Returns normal Y as double or 0.

3D Graphics

Parameters & Returns

Parameters

mesh Int
surface Int
vertexIndex Int

Returns

Double

Quick Summary

Returns vertex normal Y component (negated to match Y+ = up convention). Takes mesh (surface-based mesh entity), surface (surface handle, 0-based), vertexIndex (vertex number, 0-based). Returns normal Y as double or 0.

Technical Exegesis...

Returns vertex normal Y component (negated to match Y+ = up convention). Takes mesh (surface-based mesh entity), surface (surface handle, 0-based), vertexIndex (vertex number, 0-based). Returns normal Y 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].normal.y (negated). Returns 0.0 if: invalid mesh, not surface-based, invalid surface, vertex index out of range.

Example

Example.bam
; No example implemented yet