b3dPickedNZ

Returns Z component of surface normal at pick hit point from last pick operation (0.0 if no hit). Takes no parameters. Returns normal Z component (Double) from g_lastPickResult.normal.z.

3D Graphics

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Double

Quick Summary

Returns Z component of surface normal at pick hit point from last pick operation (0.0 if no hit). Takes no parameters. Returns normal Z component (Double) from g_lastPickResult.normal.z.

Technical Exegesis...

Returns Z component of surface normal at pick hit point from last pick operation (0.0 if no hit). Takes no parameters. Returns normal Z component (Double) from g_lastPickResult.normal.z. Reads result from last b3dCameraPick, b3dEntityPick, or b3dLinePick call. World-space surface normal Z component at intersection point.

This function retrieves hit normal Z. Pick sequence: (1) Call b3dCameraPick/EntityPick/LinePick to perform ray-cast, (2) Call b3dPickedNZ (and NX/NY) to get surface normal components.

Example

Example.bam
; No example implemented yet