OPENVR Scol plugin
|
Functions | |
int | _CRopenvrDevice (mmachine m) |
_CRopenvrDevice : This function create a Openvr object More... | |
int | _DSopenvrDevice (mmachine m) |
_DSopenvrDevice : Destroy Openvr object More... | |
int | _GetOpenvrVisibility (mmachine m) |
_GetOpenvrVisibility : Get the Openvr HMD visibility state More... | |
int | _GetOpenvrOrientation (mmachine m) |
_GetOpenvrOrientation : Get the Openvr sensor orientation More... | |
int | _GetOpenvrPosition (mmachine m) |
_GetOpenvrPosition : Get the Openvr position from the IR camera More... | |
int | _GetOpenvrAspectRatio (mmachine m) |
_GetOpenvrAspectRatio : Get the Openvr camera aspect ratio More... | |
int | _GetOpenvrIPD (mmachine m) |
_GetOpenvrIPD : Get the Openvr eye spacing More... | |
int | _GetOpenvrFovY (mmachine m) |
_GetOpenvrFovY : Get the Openvr eye spacing More... | |
int | _ResetOpenvrDevice (mmachine m) |
_ResetOpenvrDevice : Reset Openvr sensor More... | |
int | _UpdateOpenvr (mmachine m) |
_UpdateOpenvr : start Openvr update you should call this on each render frame More... | |
int | _UpdateOpenvrTextures (mmachine m) |
_UpdateOpenvrTextures : Update the HMD textures pointer More... | |
int | _GetOpenvrDeviceName (mmachine m) |
_GetOpenvrDeviceName : Get the openvr device type More... | |
int | _GetOpenvrProjectionMatrix (mmachine m) |
_GetOpenvrProjectionMatrix : Get the Openvr camera projection matrix More... | |
int | _GetOpenvrTextureSize (mmachine m) |
_GetOpenvrTextureSize : Get the Openvr texture size for RTT More... | |
int | _GetOpenvrControllerVisibility (mmachine m) |
_GetOpenvrControllerVisibility : Get the Openvr controller visibility state More... | |
int | _GetOpenvrControllerPosition (mmachine m) |
_GetOpenvrControllerPosition : Get the Openvr controller position More... | |
int | _GetOpenvrControllerOrientation (mmachine m) |
_GetOpenvrControllerOrientation : Get the Openvr controller orientation More... | |
int | _GetOpenvrControllerVelocity (mmachine m) |
_GetOpenvrControllerVelocity : Get the Openvr controller velocity More... | |
int | _GetOpenvrControllerAngularVelocity (mmachine m) |
_GetOpenvrControllerAngularVelocity : Get the Openvr controller velocity More... | |
int | _GetOpenvrControllerButtons (mmachine m) |
_GetOpenvrControllerButtons : Get the Openvr controller buttons state button order in list is application menu, grip, A, touchpad, trigger More... | |
int | _GetOpenvrControllerAxis (mmachine m) |
_GetOpenvrControllerAxis : Get the Openvr controller axis values Axis order is touch pad X, touch pad Y, trigger Z More... | |
int | _SetOpenvrControllerRumble (mmachine m) |
_SetOpenvrControllerRumble : Set the Openvr controller rumble value More... | |
int | _IsOpenvrCameraAvailable (mmachine m) |
_IsOpenvrCameraAvailable : Get the Openvr camera availability More... | |
int | _OpenOpenvrCamera (mmachine m) |
_OpenOpenvrCamera : Open the Openvr camera to get size and frames later More... | |
int | _CloseOpenvrCamera (mmachine m) |
_CloseOpenvrCamera : Close the Openvr camera More... | |
int | _GetOpenvrCameraSize (mmachine m) |
_GetOpenvrCameraSize : Get the Openvr camera frame size, the camera must be openned first More... | |
int | _GetOpenvrCameraFrame (mmachine m) |
_GetOpenvrCameraFrame : Get the Openvr camera frame into an existing bitmap the bitmap must have the same size More... | |
Scol functions definition
int _CloseOpenvrCamera | ( | mmachine | m | ) |
_CloseOpenvrCamera : Close the Openvr camera
fun [ObjOpenvr] I
ObjOpenvr | : Openvr Object |
Definition at line 1334 of file scolplugin.cpp.
int _CRopenvrDevice | ( | mmachine | m | ) |
_CRopenvrDevice : This function create a Openvr object
Prototype: fun [Chn fun [ObjOpenvr u0] u1 u0 fun [ObjOpenvr u2 F] u3 u2] ObjOpenvr
Chn | : channel |
fun | [ObjOpenvr u0] u1 : callback on Steam VR quit |
u0 | : user parameter for first callback |
fun | [ObjOpenvr u0 F] u1 : callback on IPD change |
u2 | : user parameter for second callback |
Definition at line 99 of file scolplugin.cpp.
int _DSopenvrDevice | ( | mmachine | m | ) |
_DSopenvrDevice : Destroy Openvr object
fun [ObjOpenvr] I
ObjOpenvr | : Openvr Object to destroy |
Definition at line 203 of file scolplugin.cpp.
int _GetOpenvrAspectRatio | ( | mmachine | m | ) |
_GetOpenvrAspectRatio : Get the Openvr camera aspect ratio
fun [ObjOpenvr] F
ObjOpenvr | : Openvr Object |
Definition at line 373 of file scolplugin.cpp.
int _GetOpenvrCameraFrame | ( | mmachine | m | ) |
_GetOpenvrCameraFrame : Get the Openvr camera frame into an existing bitmap the bitmap must have the same size
fun [ObjOpenvr ObjBitmap] ObjBitmap
ObjOpenvr | : Openvr Object |
ObjBitmap | : bitmap to update |
Definition at line 1420 of file scolplugin.cpp.
int _GetOpenvrCameraSize | ( | mmachine | m | ) |
_GetOpenvrCameraSize : Get the Openvr camera frame size, the camera must be openned first
fun [ObjOpenvr] [I I]
ObjOpenvr | : Openvr Object |
Definition at line 1370 of file scolplugin.cpp.
int _GetOpenvrControllerAngularVelocity | ( | mmachine | m | ) |
_GetOpenvrControllerAngularVelocity : Get the Openvr controller velocity
fun [ObjOpenvr I] [F F F]
ObjOpenvr | : Openvr Object |
I | : Left or Right controller (OPENVR_CONTROLLER_LEFT or OPENVR_CONTROLLER_RIGHT) |
Definition at line 1027 of file scolplugin.cpp.
int _GetOpenvrControllerAxis | ( | mmachine | m | ) |
_GetOpenvrControllerAxis : Get the Openvr controller axis values Axis order is touch pad X, touch pad Y, trigger Z
fun [ObjOpenvr I] [F F F]
ObjOpenvr | : Openvr Object |
I | : Left or Right controller (OPENVR_CONTROLLER_LEFT or OPENVR_CONTROLLER_RIGHT) |
Definition at line 1150 of file scolplugin.cpp.
int _GetOpenvrControllerButtons | ( | mmachine | m | ) |
_GetOpenvrControllerButtons : Get the Openvr controller buttons state button order in list is application menu, grip, A, touchpad, trigger
fun [ObjOpenvr I] [I r1]
ObjOpenvr | : Openvr Object |
I | : Left or Right controller (OPENVR_CONTROLLER_LEFT or OPENVR_CONTROLLER_RIGHT) |
Definition at line 1086 of file scolplugin.cpp.
int _GetOpenvrControllerOrientation | ( | mmachine | m | ) |
_GetOpenvrControllerOrientation : Get the Openvr controller orientation
fun [ObjOpenvr I] [F F F F]
ObjOpenvr | : Openvr Object |
I | : Left or Right controller (OPENVR_CONTROLLER_LEFT or OPENVR_CONTROLLER_RIGHT) |
Definition at line 910 of file scolplugin.cpp.
int _GetOpenvrControllerPosition | ( | mmachine | m | ) |
_GetOpenvrControllerPosition : Get the Openvr controller position
fun [ObjOpenvr I] [F F F]
ObjOpenvr | : Openvr Object |
I | : Left or Right controller (OPENVR_CONTROLLER_LEFT or OPENVR_CONTROLLER_RIGHT) |
Definition at line 852 of file scolplugin.cpp.
int _GetOpenvrControllerVelocity | ( | mmachine | m | ) |
_GetOpenvrControllerVelocity : Get the Openvr controller velocity
fun [ObjOpenvr I] [F F F]
ObjOpenvr | : Openvr Object |
I | : Left or Right controller (OPENVR_CONTROLLER_LEFT or OPENVR_CONTROLLER_RIGHT) |
Definition at line 969 of file scolplugin.cpp.
int _GetOpenvrControllerVisibility | ( | mmachine | m | ) |
_GetOpenvrControllerVisibility : Get the Openvr controller visibility state
fun [ObjOpenvr I] I
ObjOpenvr | : Openvr Object |
I | : Left or Right controller (OPENVR_CONTROLLER_LEFT or OPENVR_CONTROLLER_RIGHT) |
Definition at line 803 of file scolplugin.cpp.
int _GetOpenvrDeviceName | ( | mmachine | m | ) |
_GetOpenvrDeviceName : Get the openvr device type
fun [ObjOpenvr] S
ObjOpenvr | : Openvr Object |
Definition at line 598 of file scolplugin.cpp.
int _GetOpenvrFovY | ( | mmachine | m | ) |
_GetOpenvrFovY : Get the Openvr eye spacing
fun [ObjOpenvr] F
ObjOpenvr | : Openvr Object |
Definition at line 443 of file scolplugin.cpp.
int _GetOpenvrIPD | ( | mmachine | m | ) |
_GetOpenvrIPD : Get the Openvr eye spacing
fun [ObjOpenvr] F
ObjOpenvr | : Openvr Object |
Definition at line 408 of file scolplugin.cpp.
int _GetOpenvrOrientation | ( | mmachine | m | ) |
_GetOpenvrOrientation : Get the Openvr sensor orientation
fun [ObjOpenvr] [F F F F]
ObjOpenvr | : Openvr Object |
Definition at line 268 of file scolplugin.cpp.
int _GetOpenvrPosition | ( | mmachine | m | ) |
_GetOpenvrPosition : Get the Openvr position from the IR camera
fun [ObjOpenvr] [F F F]
ObjOpenvr | : Openvr Object |
Definition at line 321 of file scolplugin.cpp.
int _GetOpenvrProjectionMatrix | ( | mmachine | m | ) |
_GetOpenvrProjectionMatrix : Get the Openvr camera projection matrix
fun [ObjOpenvr F F] [[[F F F F] [F F F F] [F F F F] [F F F F]] [[F F F F] [F F F F] [F F F F] [F F F F]]]
ObjOpenvr | : Openvr Object |
F | : Camera near clip |
F | : Camera far clip |
Definition at line 632 of file scolplugin.cpp.
int _GetOpenvrTextureSize | ( | mmachine | m | ) |
_GetOpenvrTextureSize : Get the Openvr texture size for RTT
fun [ObjOpenvr] [I I]
ObjOpenvr | : Openvr Object |
Definition at line 754 of file scolplugin.cpp.
int _GetOpenvrVisibility | ( | mmachine | m | ) |
_GetOpenvrVisibility : Get the Openvr HMD visibility state
fun [ObjOpenvr] I
ObjOpenvr | : Openvr Object |
Definition at line 232 of file scolplugin.cpp.
int _IsOpenvrCameraAvailable | ( | mmachine | m | ) |
_IsOpenvrCameraAvailable : Get the Openvr camera availability
fun [ObjOpenvr] I
ObjOpenvr | : Openvr Object |
Definition at line 1262 of file scolplugin.cpp.
int _OpenOpenvrCamera | ( | mmachine | m | ) |
_OpenOpenvrCamera : Open the Openvr camera to get size and frames later
fun [ObjOpenvr] I
ObjOpenvr | : Openvr Object |
Definition at line 1298 of file scolplugin.cpp.
int _ResetOpenvrDevice | ( | mmachine | m | ) |
_ResetOpenvrDevice : Reset Openvr sensor
fun [ObjOpenvr] I
ObjOpenvr | : Openvr Object |
Definition at line 478 of file scolplugin.cpp.
int _SetOpenvrControllerRumble | ( | mmachine | m | ) |
_SetOpenvrControllerRumble : Set the Openvr controller rumble value
fun [ObjOpenvr I F] I
ObjOpenvr | : Openvr Object |
I | : Left or Right controller (OPENVR_CONTROLLER_LEFT or OPENVR_CONTROLLER_RIGHT) |
F | : Rumble force |
Definition at line 1209 of file scolplugin.cpp.
int _UpdateOpenvr | ( | mmachine | m | ) |
_UpdateOpenvr : start Openvr update you should call this on each render frame
fun [ObjOpenvr] I
ObjOpenvr | : Openvr Object |
Definition at line 515 of file scolplugin.cpp.
int _UpdateOpenvrTextures | ( | mmachine | m | ) |
_UpdateOpenvrTextures : Update the HMD textures pointer
fun[ObjOpenvr ObjPtr ObjPtr I] I
ObjOpenvr | : Openvr Object |
ObjPtr | : Left texture pointer from 3D engine |
ObjPtr | : Right texture pointer from 3D engine |
I | : Texture type (0 opengl, 1 directX9) |
Definition at line 550 of file scolplugin.cpp.