FreeWRL / FreeX3D
4.3.0
EventInSFRotation.java
1
package
vrml.external.field;
2
import
vrml.external.field.FieldTypes;
3
import
vrml.external.Browser;
4
5
public
class
EventInSFRotation
extends
EventIn
{
6
public
EventInSFRotation
() { EventType =
FieldTypes
.SFROTATION; }
7
8
public
void
setValue(
float
[] value)
throws
IllegalArgumentException {
9
int
count;
10
if
(value.length < 4) {
11
throw
new
IllegalArgumentException();
12
}
13
Browser.newSendEvent (
this
,
""
+ value[0] +
" "
+ value[1] +
14
" "
+ value[2] +
" "
+ value[3]);
15
return
;
16
}
17
}
vrml.external.field.EventInSFRotation
Definition
EventInSFRotation.java:5
vrml.external.field.EventIn
Definition
EventIn.java:5
vrml.external.field.FieldTypes
Definition
FieldTypes.java:5
src
java
vrml
external
field
EventInSFRotation.java
Generated by
1.11.0