b3dPickedNX

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

3D Graphics

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Double

Quick Summary

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

Technical Exegesis...

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

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

Example

Example.bam
; No example implemented yet