Processing (BETA) version 135+ のリファレンスです。 旧バージョン使用者はソフトウェア内のリファレンスを参照してください。
この文書は Processing のAPIリファレンスを日本語に訳したものです。 最新の内容は 英語版 で確認して下さい。


Name

shininess()

Examples
example pic
size(100, 100, P3D); 
background(0); 
noStroke(); 
background(0); 
fill(0, 51, 102); 
ambientLight(102, 102, 102);
lightSpecular(204, 204, 204); 
directionalLight(102, 102, 102, 0, 0, -1); 
specular(255, 255, 255); 
translate(30, 50, 0); 
shininess(1.0); 
sphere(20); 
translate(40, 0, 0); 
shininess(5.0); 
sphere(20);
Description 図形表面の光沢(gloss)の量を指定します。 図形の素材特性を設定する際に ambient(), specular(), emissive() と組み合わせて使用されます。
Syntax
shininess(shine)
Parameters
shine float: degree of shininess
Usage Web & Application
Related ambient()
specular()
emissive()
Updated on May 01, 2007 12:34:46pm PDT

Creative Commons License

この文書の原文はクリエイティブ・コモンズ(Creative Commons)Attribution-Noncommercial-Share Alike(表示・非営利・継承) ライセンスで公開されています。 このライセンスは同一の許諾条件の下で原作者のクレジットを表示し、また作品を営利目的で利用しなければ、作品に対して複製、頒布、展示、実演、二次的著作物の作成が行えることを示します。

© 2007 Processing.org