This page has been translated automatically.
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
Extending Editor Functionality
FAQ
编程
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
应用程序接口
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Rendering-Related Classes
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Unigine::Plugins::AppVarjo Class

Header: #include <plugins/UnigineAppVarjo.h>

AppVarjo Class

Members


void setViewportMode ( AppVarjoInterface::VIEWPORT mode ) #

Arguments

  • AppVarjoInterface::VIEWPORT mode

AppVarjoInterface::VIEWPORT getViewportMode ( ) #

void setHeadPositionLock ( bool lock ) #

Arguments

  • bool lock

void setHeadRotationLock ( bool lock ) #

Arguments

  • bool lock

bool isHeadPositionLocked ( ) #

bool isHeadRotationLocked ( ) #

int getMaxTrackedDeviceCount ( ) #

int getControllerStateAxisCount ( ) #

Math::mat4 getDevicePose ( int device_num ) #

Arguments

  • int device_num

Math::vec3 getDeviceVelocity ( int device_num ) #

Arguments

  • int device_num

Math::vec3 getDeviceAngularVelocity ( int device_num ) #

Arguments

  • int device_num

bool isDeviceConnected ( int device_num ) #

Arguments

  • int device_num

bool isPoseValid ( int device_num ) #

Arguments

  • int device_num

int getTrackingResult ( int device_num ) #

Arguments

  • int device_num

AppVarjoInterface::DEVICE getDeviceType ( int device_num ) #

Arguments

  • int device_num

AppVarjoInterface::AXIS getDeviceAxisType ( int device_num, int axis_num ) #

Arguments

  • int device_num
  • int axis_num

int getControllerPacketNum ( int device_num ) #

Arguments

  • int device_num

bool getControllerButtonPressed ( int device_num, AppVarjoInterface::BUTTON button ) #

Arguments

  • int device_num
  • AppVarjoInterface::BUTTON button

bool getControllerButtonTouched ( int device_num, AppVarjoInterface::BUTTON button ) #

Arguments

  • int device_num
  • AppVarjoInterface::BUTTON button

Math::vec2 getControllerAxis ( int device_num, int axis_num ) #

Arguments

  • int device_num
  • int axis_num

void setControllerVibration ( int device_num, unsigned short duration ) #

Arguments

  • int device_num
  • unsigned short duration

bool isEyeTrackingValid ( ) #

Math::Vec3 getFocusWorldPosition ( ) #

void requestCalibration ( ) #

Math::Vec3 getLeftEyeWorldPosition ( ) #

Math::Vec3 getLeftEyeWorldDirection ( ) #

Math::Vec3 getRightEyeWorldPosition ( ) #

Math::Vec3 getRightEyeWorldDirection ( ) #

Math::Vec3 getGazeWorldDirection ( ) #

double getLeftEyePupilSize ( ) #

double getRightEyePupilSize ( ) #

long long getCaptureTime ( ) #

double getFocusDistance ( ) #

double getStability ( ) #

AppVarjoInterface::EYETRACKING_STATUS getEyeTrackingStatus ( ) #

AppVarjoInterface::EYE_STATUS getLeftEyeStatus ( ) #

AppVarjoInterface::EYE_STATUS getRightEyeStatus ( ) #

long long getFrameNum ( ) #

void setVisualizerEnabled ( bool enabled ) #

Arguments

  • bool enabled

bool isVisualizerEnabled ( ) #

Last update: 2019-12-25
Build: ()