All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jme3.system.jopenvr.InputOriginInfo_t Maven / Gradle / Ivy

There is a newer version: 3.7.0-stable
Show newest version
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:1626
* 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 InputOriginInfo_t extends Structure { /** C type : VRInputValueHandle_t */ public long devicePath; /** C type : TrackedDeviceIndex_t */ public int trackedDeviceIndex; /** * char[128]
* C type : char*[128] */ public Pointer[] rchRenderModelComponentName = new Pointer[128]; public InputOriginInfo_t() { super(); } @Override protected List getFieldOrder() { return Arrays.asList("devicePath", "trackedDeviceIndex", "rchRenderModelComponentName"); } /** * @param devicePath C type : VRInputValueHandle_t
* @param trackedDeviceIndex C type : TrackedDeviceIndex_t
* @param rchRenderModelComponentName char[128]
* C type : char*[128] */ public InputOriginInfo_t(long devicePath, int trackedDeviceIndex, Pointer rchRenderModelComponentName[]) { super(); this.devicePath = devicePath; this.trackedDeviceIndex = trackedDeviceIndex; if ((rchRenderModelComponentName.length != this.rchRenderModelComponentName.length)) throw new IllegalArgumentException("Wrong array size !"); this.rchRenderModelComponentName = rchRenderModelComponentName; } public InputOriginInfo_t(Pointer peer) { super(peer); } public static class ByReference extends InputOriginInfo_t implements Structure.ByReference { }; public static class ByValue extends InputOriginInfo_t implements Structure.ByValue { }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy