public class Hmd
extends com.sun.jna.PointerType
| Modifier and Type | Method and Description |
|---|---|
static Hmd |
create() |
MirrorTexture |
createMirrorTexture(MirrorTextureDesc desc) |
TextureSwapChain |
createSwapTextureChain(TextureSwapChainDesc desc) |
void |
destroy() |
HmdDesc |
getDesc() |
Posef[] |
getEyePoses(int frameIndex,
OvrVector3f[] hmdToEyeViewOffsets) |
float |
getFloat(java.lang.String propertyName,
float defaultVal) |
int |
getFloatArray(java.lang.String propertyName,
java.nio.FloatBuffer values,
int arraySize) |
float[] |
getFloatArray(java.lang.String propertyName,
int arraySize) |
OvrSizei |
getFovTextureSize(int eye,
FovPort fov,
float pixelsPerDisplayPixel) |
static OvrMatrix4f |
getPerspectiveProjection(FovPort tanHalfFov,
float zNear,
float zFar,
int projectionModFlags) |
double |
getPredictedDisplayTime(int frameIndex) |
EyeRenderDesc |
getRenderDesc(int eyeType,
FovPort fov) |
java.lang.String |
getString(java.lang.String propertyName,
java.lang.String defaultVal) |
static double |
getTimeInSeconds() |
TrackingState |
getTrackingState(double absTime,
boolean latencyMarker) |
static void |
initialize() |
int |
recenterPose() |
byte |
setFloat(java.lang.String propertyName,
float value) |
byte |
setFloatArray(java.lang.String propertyName,
float[] values) |
byte |
setFloatArray(java.lang.String propertyName,
java.nio.FloatBuffer values,
int arraySize) |
static void |
shutdown() |
int |
submitFrame(int frameIndex,
LayerEyeFov layer) |
public static Hmd create()
public static void initialize()
public static void shutdown()
public void destroy()
public HmdDesc getDesc()
public float getFloat(@Nonnull
java.lang.String propertyName,
float defaultVal)
public byte setFloat(@Nonnull
java.lang.String propertyName,
float value)
public float[] getFloatArray(@Nonnull
java.lang.String propertyName,
int arraySize)
public byte setFloatArray(@Nonnull
java.lang.String propertyName,
@Nonnull
float[] values)
public int getFloatArray(@Nonnull
java.lang.String propertyName,
@Nonnull
java.nio.FloatBuffer values,
int arraySize)
public byte setFloatArray(@Nonnull
java.lang.String propertyName,
@Nonnull
java.nio.FloatBuffer values,
int arraySize)
public java.lang.String getString(@Nonnull
java.lang.String propertyName,
java.lang.String defaultVal)
public static OvrMatrix4f getPerspectiveProjection(@Nonnull FovPort tanHalfFov, float zNear, float zFar, int projectionModFlags)
public static double getTimeInSeconds()
public int recenterPose()
public TrackingState getTrackingState(double absTime, boolean latencyMarker)
public OvrSizei getFovTextureSize(int eye, FovPort fov, float pixelsPerDisplayPixel)
@Nonnull public EyeRenderDesc getRenderDesc(int eyeType, @Nonnull FovPort fov)
@Nonnull public double getPredictedDisplayTime(int frameIndex)
public Posef[] getEyePoses(int frameIndex, OvrVector3f[] hmdToEyeViewOffsets)
public TextureSwapChain createSwapTextureChain(TextureSwapChainDesc desc)
public MirrorTexture createMirrorTexture(MirrorTextureDesc desc)
public int submitFrame(int frameIndex,
LayerEyeFov layer)
Copyright © 2013-2016. All Rights Reserved.