void setSpin() throws ScriptException {
		checkLength4();
		int value = (int) floatParameter(3);
		if (statement[2].tok == Token.identifier) {
			String str = (String) statement[2].value;
			if (str.equalsIgnoreCase("x")) {
				viewer.setSpinX(value);
				return;
			}
			if (str.equalsIgnoreCase("y")) {
				viewer.setSpinY(value);
				return;
			}
			if (str.equalsIgnoreCase("z")) {
				viewer.setSpinZ(value);
				return;
			}
			if (str.equalsIgnoreCase("fps")) {
				viewer.setSpinFps(value);
				return;
			}
		}
		unrecognizedSetParameter();
	}