|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object processing.core.PMaterial
public class PMaterial
Field Summary | |
---|---|
float |
ambientB
Ka parameters of the material. |
float |
ambientG
Ka parameters of the material. |
float |
ambientR
Ka parameters of the material. |
float |
diffuseB
Kd parameters of the material |
float |
diffuseG
Kd parameters of the material |
float |
diffuseR
Kd parameters of the material |
float |
emissiveB
Ke parameters of the material |
float |
emissiveG
Ke parameters of the material |
float |
emissiveR
Ke parameters of the material |
float |
shininess
Se parameter of the material |
float |
specularB
Ks parameters of the material |
float |
specularG
Ks parameters of the material |
float |
specularR
Ks parameters of the material |
Constructor Summary | |
---|---|
PMaterial(float ambientR,
float ambientG,
float ambientB,
float diffuseR,
float diffuseG,
float diffuseB,
float specularR,
float specularG,
float specularB,
float emissiveR,
float emissiveG,
float emissiveB,
float shininess)
|
Method Summary | |
---|---|
void |
ambient(float r,
float g,
float b)
|
void |
diffuse(float r,
float g,
float b)
|
void |
emissive(float r,
float g,
float b)
|
void |
shininess(float s)
|
void |
specular(float r,
float g,
float b)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public float ambientR
public float ambientG
public float ambientB
public float diffuseR
public float diffuseG
public float diffuseB
public float specularR
public float specularG
public float specularB
public float emissiveR
public float emissiveG
public float emissiveB
public float shininess
Constructor Detail |
---|
public PMaterial(float ambientR, float ambientG, float ambientB, float diffuseR, float diffuseG, float diffuseB, float specularR, float specularG, float specularB, float emissiveR, float emissiveG, float emissiveB, float shininess)
Method Detail |
---|
public void ambient(float r, float g, float b)
public void diffuse(float r, float g, float b)
public void specular(float r, float g, float b)
public void emissive(float r, float g, float b)
public void shininess(float s)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |