FreeWRL / FreeX3D 4.3.0
EventInSFColor.java
1package vrml.external.field;
2import vrml.external.field.FieldTypes;
3import vrml.external.Browser;
4
5public class EventInSFColor extends EventIn {
6
7 public EventInSFColor() { EventType = FieldTypes.SFCOLOR; }
8
9 public void setValue(float[] value) throws
10 IllegalArgumentException {
11
12 Browser.newSendEvent (this, "" + value[0] + " " + value[1] + " " + value[2]);
13 }
14}