com.jme3.system.jopenvr.TrackedDevicePose_t Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jme3-vr Show documentation
Show all versions of jme3-vr Show documentation
jMonkeyEngine is a 3-D game engine for adventurous Java developers
package com.jme3.system.jopenvr;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
* native declaration : headers\openvr_capi.h:1257
* 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 TrackedDevicePose_t extends Structure {
/** C type : HmdMatrix34_t */
public HmdMatrix34_t mDeviceToAbsoluteTracking;
/** C type : HmdVector3_t */
public HmdVector3_t vVelocity;
/** C type : HmdVector3_t */
public HmdVector3_t vAngularVelocity;
/**
* C type : ETrackingResult
*/
public int eTrackingResult;
public byte bPoseIsValid;
public byte bDeviceIsConnected;
public TrackedDevicePose_t() {
super();
}
@Override
protected List getFieldOrder() {
return Arrays.asList("mDeviceToAbsoluteTracking", "vVelocity", "vAngularVelocity", "eTrackingResult", "bPoseIsValid", "bDeviceIsConnected");
}
/**
* @param mDeviceToAbsoluteTracking C type : HmdMatrix34_t
* @param vVelocity C type : HmdVector3_t
* @param vAngularVelocity C type : HmdVector3_t
* @param eTrackingResult @see JOpenVRLibrary.ETrackingResult
* C type : ETrackingResult
*/
public TrackedDevicePose_t(HmdMatrix34_t mDeviceToAbsoluteTracking, HmdVector3_t vVelocity, HmdVector3_t vAngularVelocity, int eTrackingResult, byte bPoseIsValid, byte bDeviceIsConnected) {
super();
this.mDeviceToAbsoluteTracking = mDeviceToAbsoluteTracking;
this.vVelocity = vVelocity;
this.vAngularVelocity = vAngularVelocity;
this.eTrackingResult = eTrackingResult;
this.bPoseIsValid = bPoseIsValid;
this.bDeviceIsConnected = bDeviceIsConnected;
}
public TrackedDevicePose_t(Pointer peer) {
super(peer);
}
public static class ByReference extends TrackedDevicePose_t implements Structure.ByReference {
};
public static class ByValue extends TrackedDevicePose_t implements Structure.ByValue {
};
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy