public class ConstSFColor extends ConstField
| Constructor and Description |
|---|
ConstSFColor(float red,
float green,
float blue)
Construct a read-only SFColor field.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
clonepublic ConstSFColor(float red,
float green,
float blue)
red - R-component of colorgreen - G-component of colorblue - B-component of colorpublic void getValue(float[] colors)
colors - R,G,B value representing the SFColorpublic float getRed()
public float getGreen()
public float getBlue()