public class OSVR_ViewportDescription
extends com.sun.jna.Structure
| Modifier and Type | Class and Description |
|---|---|
static class |
OSVR_ViewportDescription.ByReference |
static class |
OSVR_ViewportDescription.ByValue |
| Modifier and Type | Field and Description |
|---|---|
double |
height
Last pixel on the right of the viewport in pixels
|
double |
left
Left side of the viewport in pixels
|
double |
lower
First pixel in the viewport at the bottom.
|
double |
width
Last pixel in the viewport at the top
|
| Constructor and Description |
|---|
OSVR_ViewportDescription() |
OSVR_ViewportDescription(double left,
double lower,
double width,
double height) |
OSVR_ViewportDescription(com.sun.jna.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.String> |
getFieldOrder() |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeFieldpublic double left
public double lower
public double width
public double height
public OSVR_ViewportDescription()
public OSVR_ViewportDescription(double left,
double lower,
double width,
double height)
left - Left side of the viewport in pixelslower - First pixel in the viewport at the bottom.width - Last pixel in the viewport at the topheight - Last pixel on the right of the viewport in pixelspublic OSVR_ViewportDescription(com.sun.jna.Pointer peer)