Returns X component of last transform result (from b3dTFormPoint/Vector/Normal).
Takes no parameters.
Returns X coordinate (Double) from g_lastTFormedResult.
3D Graphics
Parameters & Returns
Parameters
This function takes no parameters.
Returns
Double
Quick Summary
Returns X component of last transform result (from b3dTFormPoint/Vector/Normal).
Takes no parameters.
Returns X coordinate (Double) from g_lastTFormedResult.
Technical Exegesis...
Returns X component of last transform result (from b3dTFormPoint/Vector/Normal). Takes no parameters. Returns X coordinate (Double) from g_lastTFormedResult. Reads g_lastTFormedResult.x value stored by b3dTFormPoint, b3dTFormVector, or b3dTFormNormal. Simple getter for transformed X component.
This function retrieves transformed X. Transform sequence: (1) Call b3dTFormPoint/Vector/Normal to transform coordinates, (2) Call b3dTFormedX/Y/Z to retrieve components.
Returns X component of last transform result (from b3dTFormPoint/Vector/Normal). Takes no parameters. Returns X coordinate (Double) from g_lastTFormedResult. Reads g_lastTFormedResult.x value stored by b3dTFormPoint, b3dTFormVector, or b3dTFormNormal. Simple getter for transformed X component.
This function retrieves transformed X. Transform sequence: (1) Call b3dTFormPoint/Vector/Normal to transform coordinates, (2) Call b3dTFormedX/Y/Z to retrieve components. Use cases: (1) Position transforms (get world X after local-to-world transform), (2) Direction transforms (get world direction X after rotation), (3) Normal transforms (get transformed normal X for lighting), (4) Attachment points (get world position X of local offset), (5) Coordinate conversion (extract X 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: b3dTFormVectorX/Y/Z convenience functions combine transform and retrieval (single call instead of two). Related: b3dTFormedY/Z retrieve Y and Z components, b3dTFormPoint/Vector/Normal perform transforms and store results, b3dTFormVectorX combines transform and X retrieval.