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

com.jme3.system.osvr.osvrrendermanager.OSVR_ViewportDescription Maven / Gradle / Ivy

package com.jme3.system.osvr.osvrrendermanager;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
 * 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 OSVR_ViewportDescription extends Structure { /** Left side of the viewport in pixels */ public double left; /** First pixel in the viewport at the bottom. */ public double lower; /** Last pixel in the viewport at the top */ public double width; /** Last pixel on the right of the viewport in pixels */ public double height; public OSVR_ViewportDescription() { super(); } @Override protected List getFieldOrder() { return Arrays.asList("left", "lower", "width", "height"); } /** * @param left Left side of the viewport in pixels
* @param lower First pixel in the viewport at the bottom.
* @param width Last pixel in the viewport at the top
* @param height Last pixel on the right of the viewport in pixels */ public OSVR_ViewportDescription(double left, double lower, double width, double height) { super(); this.left = left; this.lower = lower; this.width = width; this.height = height; } public OSVR_ViewportDescription(Pointer peer) { super(peer); } public static class ByReference extends OSVR_ViewportDescription implements Structure.ByReference { }; public static class ByValue extends OSVR_ViewportDescription implements Structure.ByValue { }; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy