OCULUS Scol plugin
|
Functions | |
int | _CRoculusDevice (mmachine m) |
_CRoculusDevice : This function create a OCULUS object | |
int | _DSoculusDevice (mmachine m) |
_DSoculusDevice : Destroy OCULUS object | |
int | _GetOculusOrientation (mmachine m) |
_GetOculusOrientation : Get the OCULUS Rift sensor orientation | |
int | _GetOculusPredictedOrientation (mmachine m) |
_GetOculusPredictedOrientation : Get the OCULUS Rift sensor predicted orientation | |
int | _GetOculusYawPitchRoll (mmachine m) |
_GetOculusYawPitchRoll : Get the OCULUS Rift sensor Yaw Pitch and Roll | |
int | _GetOculusPredictedYawPitchRoll (mmachine m) |
_GetOculusPredictedYawPitchRoll : Get the OCULUS Rift sensor predicted Yaw Pitch and Roll | |
int | _GetOculusAcceleration (mmachine m) |
_GetOculusAcceleration : Get the OCULUS Rift sensor acceleration | |
int | _GetOculusPosition (mmachine m) |
_GetOculusPosition : Get the OCULUS Rift position from the IR camera | |
int | _GetOculusStereoConfig (mmachine m) |
_GetOculusStereoConfig : Get the OCULUS Rift stereo configuration !!! Deprecated !!! return default values | |
int | _GetOculusAspectRatio (mmachine m) |
_GetOculusAspectRatio : Get the OCULUS Rift camera aspect ratio | |
int | _GetOculusIPD (mmachine m) |
_GetOculusIPD : Get the OCULUS Rift eye spacing | |
int | _GetOculusFovY (mmachine m) |
_GetOculusFovY : Get the OCULUS Rift eye spacing | |
int | _ResetOculusDevice (mmachine m) |
_ResetOculusDevice : Reset OCULUS Rift sensor | |
int | _UpdateOculusLatency (mmachine m) |
_UpdateOculusLatency : update OCULUS Rift latency for a better result call this on each render frame !!! Deprecated !!! use _UpdateOculus to update oculus data each frame | |
int | _StartUpdateOculus (mmachine m) |
_StartUpdateOculus : start OCULUS Rift update you should call this on each render frame | |
int | _EndUpdateOculus (mmachine m) |
_EndUpdateOculus : end OCULUS Rift update you should call this on each render frame | |
int | _SetOculusLowPersistance (mmachine m) |
_SetOculusLowPersistance : Set the oculus low persistance mode | |
int | _GetOculusLowPersistance (mmachine m) |
_GetOculusLowPersistance : Get the oculus low persistance mode | |
int | _GetOculusDeviceType (mmachine m) |
_GetOculusDeviceType : Get the oculus device type | |
int | _GetOculusProjectionMatrix (mmachine m) |
_GetOculusProjectionMatrix : Get the OCULUS Rift camera projection matrix | |
int | _GetOculusTimeWarpMatrix (mmachine m) |
_GetOculusTimeWarpMatrix : Get the OCULUS Rift time warp matrix | |
int | _GetOculusFovTextureSize (mmachine m) |
_GetOculusFovTextureSize : Get the OCULUS Rift texture size for RTT | |
int | _GetOculusUvConfig (mmachine m) |
_GetOculusUvConfig : Get the OCULUS Rift UV texture offsets and scale | |
int | _GetOculusDeformationMeshes (mmachine m) |
_GetOculusDeformationMeshes : Get the OCULUS Rift deformation meshes | |
int | _GetOculusWindowSetting (mmachine m) |
_GetOculusWindowSetting : Get the OCULUS Rift window setting |
Scol functions definition
int _CRoculusDevice | ( | mmachine | m | ) |
_CRoculusDevice : This function create a OCULUS object
Prototype: fun [Chn fun [ObjOculus u0] u1 u0 fun [ObjOculus u2] u3 u2] ObjOculus
Chn | : channel |
fun | [ObjOculus u0] u1 : callback on connected |
u0 | : connected callback parameter |
fun | [ObjOculus u2] u3 : callback on disconnected |
u2 | : disconnected callback parameter |
Definition at line 100 of file scolplugin.cpp.
int _DSoculusDevice | ( | mmachine | m | ) |
_DSoculusDevice : Destroy OCULUS object
fun [ObjOculus] I
ObjOculus | : OCULUS Object to destroy |
Definition at line 171 of file scolplugin.cpp.
int _EndUpdateOculus | ( | mmachine | m | ) |
_EndUpdateOculus : end OCULUS Rift update you should call this on each render frame
fun [ObjOculus] I
ObjOculus | : OCULUS Object |
Definition at line 744 of file scolplugin.cpp.
int _GetOculusAcceleration | ( | mmachine | m | ) |
_GetOculusAcceleration : Get the OCULUS Rift sensor acceleration
fun [ObjOculus] [F F F]
ObjOculus | : OCULUS Object |
Definition at line 386 of file scolplugin.cpp.
int _GetOculusAspectRatio | ( | mmachine | m | ) |
_GetOculusAspectRatio : Get the OCULUS Rift camera aspect ratio
fun [ObjOculus] F
ObjOculus | : OCULUS Object |
Definition at line 552 of file scolplugin.cpp.
int _GetOculusDeformationMeshes | ( | mmachine | m | ) |
_GetOculusDeformationMeshes : Get the OCULUS Rift deformation meshes
fun [ObjOculus] [[[[[F F F] [[F F] r1] F F] r1] [I r1]] [[[[F F F] [[F F] r1] F F] r1] [I r1]]]
ObjOculus | : OCULUS Object |
Definition at line 1346 of file scolplugin.cpp.
int _GetOculusDeviceType | ( | mmachine | m | ) |
_GetOculusDeviceType : Get the oculus device type
fun [ObjOculus] I
ObjOculus | : OCULUS Object |
Definition at line 846 of file scolplugin.cpp.
int _GetOculusFovTextureSize | ( | mmachine | m | ) |
_GetOculusFovTextureSize : Get the OCULUS Rift texture size for RTT
fun [ObjOculus] [[I I] [I I]]
ObjOculus | : OCULUS Object |
Definition at line 1210 of file scolplugin.cpp.
int _GetOculusFovY | ( | mmachine | m | ) |
_GetOculusFovY : Get the OCULUS Rift eye spacing
fun [ObjOculus] F
ObjOculus | : OCULUS Object |
Definition at line 622 of file scolplugin.cpp.
int _GetOculusIPD | ( | mmachine | m | ) |
_GetOculusIPD : Get the OCULUS Rift eye spacing
fun [ObjOculus] F
ObjOculus | : OCULUS Object |
Definition at line 587 of file scolplugin.cpp.
int _GetOculusLowPersistance | ( | mmachine | m | ) |
_GetOculusLowPersistance : Get the oculus low persistance mode
fun [ObjOculus] I
ObjOculus | : OCULUS Object |
Definition at line 815 of file scolplugin.cpp.
int _GetOculusOrientation | ( | mmachine | m | ) |
_GetOculusOrientation : Get the OCULUS Rift sensor orientation
fun [ObjOculus] [F F F F]
ObjOculus | : OCULUS Object |
Definition at line 200 of file scolplugin.cpp.
int _GetOculusPosition | ( | mmachine | m | ) |
_GetOculusPosition : Get the OCULUS Rift position from the IR camera
fun [ObjOculus] [F F F]
ObjOculus | : OCULUS Object |
Definition at line 432 of file scolplugin.cpp.
int _GetOculusPredictedOrientation | ( | mmachine | m | ) |
_GetOculusPredictedOrientation : Get the OCULUS Rift sensor predicted orientation
fun [ObjOculus] [F F F F]
ObjOculus | : OCULUS Object |
Definition at line 247 of file scolplugin.cpp.
int _GetOculusPredictedYawPitchRoll | ( | mmachine | m | ) |
_GetOculusPredictedYawPitchRoll : Get the OCULUS Rift sensor predicted Yaw Pitch and Roll
fun [ObjOculus] [F F F]
ObjOculus | : OCULUS Object |
Definition at line 340 of file scolplugin.cpp.
int _GetOculusProjectionMatrix | ( | mmachine | m | ) |
_GetOculusProjectionMatrix : Get the OCULUS Rift camera projection matrix
fun [ObjOculus 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]]]
ObjOculus | : OCULUS Object |
F | : Camera near clip |
F | : Camera far clip |
Definition at line 879 of file scolplugin.cpp.
int _GetOculusStereoConfig | ( | mmachine | m | ) |
_GetOculusStereoConfig : Get the OCULUS Rift stereo configuration !!! Deprecated !!! return default values
fun [ObjOculus] [F F F F F [F F F F] [F F F F]]
ObjOculus | : OCULUS Object |
Definition at line 479 of file scolplugin.cpp.
int _GetOculusTimeWarpMatrix | ( | mmachine | m | ) |
_GetOculusTimeWarpMatrix : Get the OCULUS Rift time warp matrix
fun [ObjOculus] [[[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 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]]]
ObjOculus | : OCULUS Object |
Definition at line 1001 of file scolplugin.cpp.
int _GetOculusUvConfig | ( | mmachine | m | ) |
_GetOculusUvConfig : Get the OCULUS Rift UV texture offsets and scale
fun [ObjOculus [I I] [I I]] [[F F] [F F] [F F] [F F]]
ObjOculus | : OCULUS Object |
[I | I] : left texture size |
[I | I] : right texture size |
Definition at line 1267 of file scolplugin.cpp.
int _GetOculusWindowSetting | ( | mmachine | m | ) |
_GetOculusWindowSetting : Get the OCULUS Rift window setting
fun [ObjOculus] [[I I] [I I] I]
ObjOculus | : OCULUS Object |
Definition at line 1618 of file scolplugin.cpp.
int _GetOculusYawPitchRoll | ( | mmachine | m | ) |
_GetOculusYawPitchRoll : Get the OCULUS Rift sensor Yaw Pitch and Roll
fun [ObjOculus] [F F F]
ObjOculus | : OCULUS Object |
Definition at line 294 of file scolplugin.cpp.
int _ResetOculusDevice | ( | mmachine | m | ) |
_ResetOculusDevice : Reset OCULUS Rift sensor
fun [ObjOculus] I
ObjOculus | : OCULUS Object |
Definition at line 657 of file scolplugin.cpp.
int _SetOculusLowPersistance | ( | mmachine | m | ) |
_SetOculusLowPersistance : Set the oculus low persistance mode
fun [ObjOculus I] I
ObjOculus | : OCULUS Object |
I | : 1 to enable low persistance, 0 to disable |
Definition at line 777 of file scolplugin.cpp.
int _StartUpdateOculus | ( | mmachine | m | ) |
_StartUpdateOculus : start OCULUS Rift update you should call this on each render frame
fun [ObjOculus] I
ObjOculus | : OCULUS Object |
Definition at line 712 of file scolplugin.cpp.
int _UpdateOculusLatency | ( | mmachine | m | ) |
_UpdateOculusLatency : update OCULUS Rift latency for a better result call this on each render frame !!! Deprecated !!! use _UpdateOculus to update oculus data each frame
fun [ObjOculus] I
ObjOculus | : OCULUS Object |
Definition at line 695 of file scolplugin.cpp.