public void get1Value(int index, float value[]) { SFColor color = (SFColor) getField(index); if (color != null) color.getValue(value); else { value[0] = 0.0f; value[1] = 0.0f; value[2] = 0.0f; } }
public void set1Value(int index, float r, float g, float b) { SFColor color = (SFColor) getField(index); if (color != null) color.setValue(r, g, b); }
public void set1Value(int index, float value[]) { SFColor color = (SFColor) getField(index); if (color != null) color.setValue(value); }