インフォ FAQ
言語 環境比較
 
Index
 
  Processing 1.0 _ALPHAリファレンスは開発途中である。
もしエラーやコメントがあれば、reas at groupc.netへメールして下さい。
Name  

box()

   
Examples  
translate(58, 48, 0); 
rotateY(0.5); 
box(40); 
translate(58, 48, 0); 
rotateY(0.5); 
box(40, 20, 50); 
Description  

箱(box)は突き出した四角形である。同じ側面のある箱は立方体である。

   
Syntax  
box(size);
box(width, height, depth);
   
Parameters  
size  

整数か浮動小数点数: すべての側面のある箱は立方体をつくる

 

width  

整数か浮動小数点数: x-座標における箱の側面

 

height  

整数か浮動小数点数: y-座標における箱の側面

 

depth  

整数か浮動小数点数: z-座標における箱の側面

 

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