API reference
API reference
Select your platform
No SDKs available
No versions available

IOculusXRFunctionLibrary Class

Member Functions

void GetPose
( FRotator & DeviceRotation,
FVector & DevicePosition,
FVector & NeckPosition )
void SetBaseRotationAndBaseOffsetInMeters
( FRotator Rotation,
FVector BaseOffsetInMeters,
EOrientPositionSelector::Type Options )
void GetBaseRotationAndBaseOffsetInMeters
( FRotator & OutRotation,
FVector & OutBaseOffsetInMeters )
void GetRawSensorData
( FVector & AngularAcceleration,
FVector & LinearAcceleration,
FVector & AngularVelocity,
FVector & LinearVelocity,
float & TimeInSeconds,
bool IsDeviceTracked
void GetSuggestedCpuAndGpuPerformanceLevels
void SetSuggestedCpuAndGpuPerformanceLevels
bool GetUserProfile
( FOculusXRHmdUserProfile & Profile )
void SetBaseRotationAndPositionOffset
( FRotator BaseRot,
FVector PosOffset,
EOrientPositionSelector::Type Options )
void GetBaseRotationAndPositionOffset
( FRotator & OutRot,
FVector & OutPosOffset )
void AddLoadingSplashScreen
( class UTexture2D * Texture,
FVector TranslationInMeters,
FRotator Rotation,
FVector2D SizeInMeters,
FRotator DeltaRotation,
bool bClearBeforeAdd )
void ClearLoadingSplashScreens ( )
bool HasInputFocus ( )
bool HasSystemOverlayPresent ( )
void GetGPUUtilization
( bool & IsGPUAvailable,
float & GPUUtilization )
float GetGPUFrameTime ( )
void GetPerformanceMetrics
( FOculusXRPerformanceMetrics & PerformanceMetrics )
EOculusXRFoveatedRenderingMethod GetFoveatedRenderingMethod ( )
void SetFoveatedRenderingMethod
void SetFoveatedRenderingLevel
bool isDynamic )
EOculusXRFoveatedRenderingLevel GetFoveatedRenderingLevel ( )
bool GetEyeTrackedFoveatedRenderingSupported ( )
FString GetDeviceName ( )
EOculusXRDeviceType GetDeviceType ( )
EOculusXRControllerType GetControllerType
( EControllerHand deviceHand )
TArray< float > GetAvailableDisplayFrequencies ( )
float GetCurrentDisplayFrequency ( )
void SetDisplayFrequency
( float RequestedFrequency )
void EnablePositionTracking
( bool bPositionTracking )
void EnableOrientationTracking
( bool bOrientationTracking )
void SetColorScaleAndOffset
( FLinearColor ColorScale,
FLinearColor ColorOffset,
bool bApplyToAllLayers )
class IStereoLayers * GetStereoLayers ( )
bool IsGuardianConfigured ( )
bool IsGuardianDisplayed ( )
TArray< FVector > GetGuardianPoints
( EOculusXRBoundaryType BoundaryType,
bool UsePawnSpace )
FVector GetGuardianDimensions
( EOculusXRBoundaryType BoundaryType )
FTransform GetPlayAreaTransform ( )
FOculusXRGuardianTestResult GetPointGuardianIntersection
( const FVector Point,
EOculusXRBoundaryType BoundaryType )
FOculusXRGuardianTestResult GetNodeGuardianIntersection
EOculusXRBoundaryType BoundaryType )
void SetGuardianVisibility
( bool GuardianVisible )
bool GetSystemHmd3DofModeEnabled ( )
EOculusXRColorSpace GetHmdColorDesc ( )
void SetClientColorDesc
( EOculusXRColorSpace ColorSpace )
void SetLocalDimmingOn
( bool LocalDimmingOn )
bool IsPassthroughSupported ( )
bool IsColorPassthroughSupported ( )
void StartEnvironmentDepth ( )
void StopEnvironmentDepth ( )
bool IsEnvironmentDepthStarted ( )
void SetEnvironmentDepthHandRemoval
( bool RemoveHands )
void SetXROcclusionsMode
( UObject * WorldContextObject,
void SetEyeBufferSharpenType
( EOculusXREyeBufferSharpenType EyeBufferSharpenType )
bool IsPassthroughRecommended ( )
void GetOpenXRInstanceProcAddrFunc
( void ** Func )
void GetNativeOpenXRHandles
( uint64_t * OutXrInstance,
uint64_t * OutXrSession )
void GetAppSpace
( uint64_t * OutAppSpace )
void GetNextPredictedDisplayTime
( uint64_t * NextPredictedDisplayTime )
void RegisterOpenXrEventHandler
( void(*)(void *data, void *context) OpenXrEventHandler,
void * Context )
void UnregisterOpenXrEventHandler
( void(*)(void *data, void *context) OpenXrEventHandler )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon