com.jme3.system.jopenvr.VR_IVRChaperone_FnTable 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.Callback;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import com.sun.jna.ptr.FloatByReference;
import java.util.Arrays;
import java.util.List;
/**
* native declaration : headers\openvr_capi.h:1915
* 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 VR_IVRChaperone_FnTable extends Structure {
/** C type : GetCalibrationState_callback* */
public VR_IVRChaperone_FnTable.GetCalibrationState_callback GetCalibrationState;
/** C type : GetPlayAreaSize_callback* */
public VR_IVRChaperone_FnTable.GetPlayAreaSize_callback GetPlayAreaSize;
/** C type : GetPlayAreaRect_callback* */
public VR_IVRChaperone_FnTable.GetPlayAreaRect_callback GetPlayAreaRect;
/** C type : ReloadInfo_callback* */
public VR_IVRChaperone_FnTable.ReloadInfo_callback ReloadInfo;
/** C type : SetSceneColor_callback* */
public VR_IVRChaperone_FnTable.SetSceneColor_callback SetSceneColor;
/** C type : GetBoundsColor_callback* */
public VR_IVRChaperone_FnTable.GetBoundsColor_callback GetBoundsColor;
/** C type : AreBoundsVisible_callback* */
public VR_IVRChaperone_FnTable.AreBoundsVisible_callback AreBoundsVisible;
/** C type : ForceBoundsVisible_callback* */
public VR_IVRChaperone_FnTable.ForceBoundsVisible_callback ForceBoundsVisible;
/** native declaration : headers\openvr_capi.h:1907 */
public interface GetCalibrationState_callback extends Callback {
int apply();
};
/** native declaration : headers\openvr_capi.h:1908 */
public interface GetPlayAreaSize_callback extends Callback {
byte apply(FloatByReference pSizeX, FloatByReference pSizeZ);
};
/** native declaration : headers\openvr_capi.h:1909 */
public interface GetPlayAreaRect_callback extends Callback {
byte apply(HmdQuad_t rect);
};
/** native declaration : headers\openvr_capi.h:1910 */
public interface ReloadInfo_callback extends Callback {
void apply();
};
/** native declaration : headers\openvr_capi.h:1911 */
public interface SetSceneColor_callback extends Callback {
void apply(HmdColor_t.ByValue color);
};
/** native declaration : headers\openvr_capi.h:1912 */
public interface GetBoundsColor_callback extends Callback {
void apply(HmdColor_t pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t pOutputCameraColor);
};
/** native declaration : headers\openvr_capi.h:1913 */
public interface AreBoundsVisible_callback extends Callback {
byte apply();
};
/** native declaration : headers\openvr_capi.h:1914 */
public interface ForceBoundsVisible_callback extends Callback {
void apply(byte bForce);
};
public VR_IVRChaperone_FnTable() {
super();
}
@Override
protected List getFieldOrder() {
return Arrays.asList("GetCalibrationState", "GetPlayAreaSize", "GetPlayAreaRect", "ReloadInfo", "SetSceneColor", "GetBoundsColor", "AreBoundsVisible", "ForceBoundsVisible");
}
/**
* @param GetCalibrationState C type : GetCalibrationState_callback*
* @param GetPlayAreaSize C type : GetPlayAreaSize_callback*
* @param GetPlayAreaRect C type : GetPlayAreaRect_callback*
* @param ReloadInfo C type : ReloadInfo_callback*
* @param SetSceneColor C type : SetSceneColor_callback*
* @param GetBoundsColor C type : GetBoundsColor_callback*
* @param AreBoundsVisible C type : AreBoundsVisible_callback*
* @param ForceBoundsVisible C type : ForceBoundsVisible_callback*
*/
public VR_IVRChaperone_FnTable(VR_IVRChaperone_FnTable.GetCalibrationState_callback GetCalibrationState, VR_IVRChaperone_FnTable.GetPlayAreaSize_callback GetPlayAreaSize, VR_IVRChaperone_FnTable.GetPlayAreaRect_callback GetPlayAreaRect, VR_IVRChaperone_FnTable.ReloadInfo_callback ReloadInfo, VR_IVRChaperone_FnTable.SetSceneColor_callback SetSceneColor, VR_IVRChaperone_FnTable.GetBoundsColor_callback GetBoundsColor, VR_IVRChaperone_FnTable.AreBoundsVisible_callback AreBoundsVisible, VR_IVRChaperone_FnTable.ForceBoundsVisible_callback ForceBoundsVisible) {
super();
this.GetCalibrationState = GetCalibrationState;
this.GetPlayAreaSize = GetPlayAreaSize;
this.GetPlayAreaRect = GetPlayAreaRect;
this.ReloadInfo = ReloadInfo;
this.SetSceneColor = SetSceneColor;
this.GetBoundsColor = GetBoundsColor;
this.AreBoundsVisible = AreBoundsVisible;
this.ForceBoundsVisible = ForceBoundsVisible;
}
public VR_IVRChaperone_FnTable(Pointer peer) {
super(peer);
}
public static class ByReference extends VR_IVRChaperone_FnTable implements Structure.ByReference {
};
public static class ByValue extends VR_IVRChaperone_FnTable implements Structure.ByValue {
};
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy