最終更新:2018-07-06 (金) 03:53:49 (2092d)
ofSetColor
Top / ofSetColor
引数
- Sets the draw color with r,g,b, 0-255.
- Sets the draw color with r,g,b,a 0-255.
- Sets the draw color with r,g,b, passed in as a hex.
メモ
- This affects not only the color of shapes drawn with ofDrawRectangle(...), ofDrawCircle?(...), etc, but also the tint of images and textures.
呼び出し
- ofGetCurrentRenderer()->setColor(r,g,b,a);
メモ
- 画像に対しては照明光を設定します.画像の各ピクセルの色は,この照明光と「乗算」された色として表示されます