texture





texture() \ Language (API) \ Processing 1.0






























Language (A-Z) \ Libraries \ Tools \ Environment






Reference for Processing version 1.2. If you have a previous version, use the reference included with your software. If you see any errors or have suggestions, please let us know. If you prefer a more technical reference, visit the Processing Javadoc.

Name texture() Examples size(100, 100, P3D); noStroke(); PImage a = loadImage("arch.jpg"); beginShape(); texture(a); vertex(10, 20, 0, 0); vertex(80, 5, 100, 0); vertex(95, 90, 100, 100); vertex(40, 95, 0, 100); endShape(); Description Sets a texture to be applied to vertex points. The texture() function must be called between beginShape() and endShape() and before any calls to vertex(). When textures are in use, the fill color is ignored. Instead, use tint() to specify the color of the texture as it is applied to the shape. Syntax texture(img); Parameters img PImage: the texture to apply Returns None Usage Application & Web Related textureMode()beginShape()endShape()vertex()

Updated on June 14, 2010 12:05:29pm EDT












Processing was initiated by Ben Fry and Casey Reas. It is developed by a small team of volunteers.


© Info \

Site hosted by Media Temple!









Wyszukiwarka

Podobne podstrony:
textured triangle bead bracelet
textures auto
09 Texture csproj FileListAbsolute
ReadMe 4096x2048 texture pack
textureMode
YS wi09 instr creative TEXTURE HOOP?g eng

więcej podobnych podstron