本文整理匯總了Java中processing.core.PGraphics.shape方法的典型用法代碼示例。如果您正苦於以下問題:Java PGraphics.shape方法的具體用法?Java PGraphics.shape怎麽用?Java PGraphics.shape使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類processing.core.PGraphics
的用法示例。
在下文中一共展示了PGraphics.shape方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: display
import processing.core.PGraphics; //導入方法依賴的package包/類
void display(PGraphics pg) {
if(PARTICLE_SHAPE_IDX != -1){
pg.shape(shp_particlesystem);
}
}
示例2: display
import processing.core.PGraphics; //導入方法依賴的package包/類
void display(PGraphics pg) {
pg.shape(shp_particlesystem);
}
示例3: displayScene
import processing.core.PGraphics; //導入方法依賴的package包/類
public void displayScene(PGraphics canvas){
if(canvas == skylight.renderer.pg_render){
canvas.background(32);
}
canvas.shape(shape);
}
示例4: displayParticles
import processing.core.PGraphics; //導入方法依賴的package包/類
public final void displayParticles(PGraphics pg){
if(shp_particles != null){
pg.shape(shp_particles);
}
}
示例5: displayMesh
import processing.core.PGraphics; //導入方法依賴的package包/類
public final void displayMesh(PGraphics pg){
if(shp_mesh != null){
pg.shape(shp_mesh);
}
}
示例6: displayWireframe
import processing.core.PGraphics; //導入方法依賴的package包/類
public final void displayWireframe(PGraphics pg){
if(shp_wireframe != null){
pg.shape(shp_wireframe);
}
}