|
Xj3D VRML/X3D Code API | ||||||||||
| 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
VRML JSAI type class containing a fixed color field
| Field Summary | |
protected float[] |
data
The components of the field |
| Fields inherited from class vrml.Field |
valueChanged |
| Constructor Summary | |
protected |
ConstSFColor()
Construct an instance with default values. |
|
ConstSFColor(float red,
float green,
float blue)
Create a new color based on the given values. |
| Method Summary | |
java.lang.Object |
clone()
Create a cloned copy of this node. |
float |
getBlue()
Get the blue component of the color |
float |
getGreen()
Get the green component of the color |
float |
getRed()
Get the red component of the color |
void |
getValue(float[] colors)
Copy this angle into the user array |
java.lang.String |
toString()
Create a string representation of this field. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected float[] data
| Constructor Detail |
protected ConstSFColor()
public ConstSFColor(float red,
float green,
float blue)
red - The red component of the colorgreen - The green component of the colorblue - The blue component of the color| Method Detail |
public void getValue(float[] colors)
colors - The target array to copy intopublic float getRed()
public float getGreen()
public float getBlue()
public java.lang.String toString()
public java.lang.Object clone()
clone in class Field
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||