|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvrml.Field
vrml.ConstField
vrml.field.ConstSFColor
public class ConstSFColor
Represents a read-only VRML SFColor field in Java.
Constructor Summary | |
---|---|
ConstSFColor(float red,
float green,
float blue)
Construct a read-only SFColor field. |
Method Summary | |
---|---|
float |
getBlue()
Get the B-component of the SFColor. |
float |
getGreen()
Get the G-component of the SFColor. |
float |
getRed()
Get the R-component of the SFColor. |
void |
getValue(float[] colors)
Get the R,G,B values representing the SFColor. |
Methods inherited from class vrml.ConstField |
---|
clone |
Methods inherited from class vrml.Field |
---|
dispose, finalize, getPeer, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConstSFColor(float red, float green, float blue)
red
- R-component of colorgreen
- G-component of colorblue
- B-component of colorMethod Detail |
---|
public void getValue(float[] colors)
colors
- R,G,B value representing the SFColorpublic float getRed()
public float getGreen()
public float getBlue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |