Language \ Environment \ Comparison
 
Index
 
  The Processing 1.0 _ALPHA_ Reference is a work in progress.
If you see any errors or have any comments, please write to: reas at groupc.net
Name  

screenZ()

   
Examples  
... 

Description   Takes a three-dimensional X, Y, Z position and returns the Z value for where it will appear on a (two-dimensional) screen.
   
Syntax  
var = screenZ(x, y, z)
   
Parameters  
var   float: any legal variable name

x   int or float: 3D x coordinate to be mapped

y   int or float: 3D y coordinate to be mapped

z   int or float: 3D z coordinate to be mapped

   
Returns   float
   
Usage   Web & Application
   
Related   screenX()
screenY()
   
© 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas