com.oculusvr.capi.TrackingState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jovr Show documentation
Show all versions of jovr Show documentation
JNA bindings for the Oculus SDK C API
package com.oculusvr.capi;
import java.util.Arrays;
import java.util.List;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
/**
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java , Rococoa, or JNA.
*/
public class TrackingState extends Structure {
public PoseStatef HeadPose;
public Posef CameraPose;
public Posef LeveledCameraPose;
public SensorData RawSensorData;
public int StatusFlags;
public TrackingState() {
super();
}
@Override
protected List > getFieldOrder() {
return Arrays.asList("HeadPose", "CameraPose", "LeveledCameraPose", "RawSensorData", "StatusFlags");
}
public TrackingState(PoseStatef HeadPose, Posef CameraPose, Posef LeveledCameraPose, SensorData RawSensorData, int StatusFlags) {
super();
this.HeadPose = HeadPose;
this.CameraPose = CameraPose;
this.LeveledCameraPose = LeveledCameraPose;
this.RawSensorData = RawSensorData;
this.StatusFlags = StatusFlags;
}
public TrackingState(Pointer peer) {
super(peer);
}
public static class ByReference extends TrackingState implements Structure.ByReference {
};
public static class ByValue extends TrackingState implements Structure.ByValue {
};
}