b3dMeshHeight

Returns mesh bounding box height (Y-axis extent). Takes entity (mesh entity handle). Returns height as double (maxY - minY), 0.0 if invalid/empty mesh.

3D Graphics

Parameters & Returns

Parameters

entity Int

Returns

Double

Quick Summary

Returns mesh bounding box height (Y-axis extent). Takes entity (mesh entity handle). Returns height as double (maxY - minY), 0.0 if invalid/empty mesh.

Technical Exegesis...

Returns mesh bounding box height (Y-axis extent). Takes entity (mesh entity handle). Returns height as double (maxY - minY), 0.0 if invalid/empty mesh. Validates entity exists and is mesh type, iterates all vertices to find min/max Y coordinates, calculates height as difference. Measures mesh geometry (not world space size, ignores entity transform).

This function calculates mesh height from vertex data.

Example

Example.bam
; No example implemented yet