Returns Z component of last transform result (from b3dTFormPoint/Vector/Normal).
Takes no parameters.
Returns Z coordinate (Double) from g_lastTFormedResult.
3D Graphics
Parameters & Returns
Parameters
This function takes no parameters.
Returns
Double
Quick Summary
Returns Z component of last transform result (from b3dTFormPoint/Vector/Normal).
Takes no parameters.
Returns Z coordinate (Double) from g_lastTFormedResult.
Technical Exegesis...
Returns Z component of last transform result (from b3dTFormPoint/Vector/Normal). Takes no parameters. Returns Z coordinate (Double) from g_lastTFormedResult. Reads g_lastTFormedResult.z value stored by b3dTFormPoint, b3dTFormVector, or b3dTFormNormal. Simple getter for transformed Z component.
This function retrieves transformed Z. Transform sequence: (1) Call b3dTFormPoint/Vector/Normal to transform coordinates, (2) Call b3dTFormedZ (and X/Y) to retrieve components.
Returns Z component of last transform result (from b3dTFormPoint/Vector/Normal). Takes no parameters. Returns Z coordinate (Double) from g_lastTFormedResult. Reads g_lastTFormedResult.z value stored by b3dTFormPoint, b3dTFormVector, or b3dTFormNormal. Simple getter for transformed Z component.
This function retrieves transformed Z. Transform sequence: (1) Call b3dTFormPoint/Vector/Normal to transform coordinates, (2) Call b3dTFormedZ (and X/Y) to retrieve components. Use cases: (1) Position transforms (get world Z after local-to-world transform), (2) Direction transforms (get world direction Z after rotation), (3) Normal transforms (get transformed normal Z for lighting), (4) Attachment points (get world position Z of local offset), (5) Depth queries (extract Z from transformed result). Common pattern: b3dTFormPoint(localX, localY, localZ, entity, 0), worldX=b3dTFormedX(), worldY=b3dTFormedY(), worldZ=b3dTFormedZ(). Typical usage: retrieve transformed coordinates after TFormPoint/Vector/Normal call, use for world position calculations or direction vectors. Result source: g_lastTFormedResult is global variable updated by TFormPoint/Vector/Normal (last transform overwrites previous result, not thread-safe). Performance: O(1) read (simple global variable access, instant). Alternative: b3dTFormVectorZ convenience function combines transform and retrieval (single call instead of two). Related: b3dTFormedX/Y retrieve X and Y components, b3dTFormPoint/Vector/Normal perform transforms and store results, b3dTFormVectorZ combines transform and Z retrieval.