package com.jme3.system.osvr.osvrclientreporttypes;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
* This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
* a tool written by <a href="http://ochafik.com/">Olivier Chafik</a> that <a href="http://code.google.com/p/jnaerator/wiki/CreditsAndLicense">uses a few opensource projects.</a>.<br>
* For help, please visit <a href="http://nativelibs4java.googlecode.com/">NativeLibs4Java</a> , <a href="http://rococoa.dev.java.net/">Rococoa</a>, or <a href="http://jna.dev.java.net/">JNA</a>.
*/
public class OSVR_OrientationReport extends Structure {
public int sensor;
/** C type : OSVR_OrientationState */
public OSVR_Quaternion rotation;
public OSVR_OrientationReport() {
super();
}
protected List<String> getFieldOrder() {
return Arrays.asList("sensor", "rotation");
}
/** @param rotation C type : OSVR_OrientationState */
public OSVR_OrientationReport(int sensor, OSVR_Quaternion rotation) {
super();
this.sensor = sensor;
this.rotation = rotation;
}
public OSVR_OrientationReport(Pointer peer) {
super(peer);
}
public static class ByReference extends OSVR_OrientationReport implements Structure.ByReference {
};
public static class ByValue extends OSVR_OrientationReport implements Structure.ByValue {
};
}