| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/Oculus/OculusVR/Source/OculusHMD/Public/OculusFunctionLibrary.h |
Include |
#include "OculusFunctionLibrary.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UOculusFunctionLibrary : public UBlueprintFunctionLibrary
Name | Description | |
---|---|---|
|
UOculusFunctionLibrary ( |
Name | Description | ||
---|---|---|---|
|
AddLoadingSplashScreen |
Adds loading splash screen with parameters |
|
|
ClearLoadingSplashScreens() |
Removes all the splash screens. |
|
|
EnableOrientationTracking ( |
Enables/disables orientation tracking on devices that support it. |
|
|
EnablePositionTracking ( |
Enables/disables positional tracking on devices that support it. |
|
|
TArray< floa... |
GetAvailableDisplayFrequencies() |
Returns the current available frequencies |
|
GetBaseRotationAndBaseOffsetInMeters |
Returns current base rotation and base offset. |
|
|
GetBaseRotationAndPositionOffset |
Returns current base rotation and position offset. |
|
|
float |
GetCurrentDisplayFrequency() |
Returns the current display frequency |
|
GetDeviceName() |
Returns the current device's name |
|
|
EFixedFoveat... |
GetFixedFoveatedRenderingLevel() |
Returns the current multiresolution level |
|
float |
GetGPUFrameTime() |
Returns the GPU frame time on supported mobile platforms (Go for now) |
|
GetGPUUtilization ( |
Returns the GPU utilization availability and value |
|
|
GetGuardianDimensions ( |
Returns the dimensions in UE world space of the requested Boundary Type |
|
|
GetGuardianPoints ( |
Returns the list of points in UE world space of the requested Boundary Type |
|
|
FGuardianTes... |
GetNodeGuardianIntersection ( |
Get the intersection result between a tracked device (HMD or controllers) and a guardian boundary |
|
OculusHMD::F... |
GetOculusHMD() |
For outer boundary only. |
|
GetPlayAreaTransform() |
Returns the transform of the play area rectangle, defining its position, rotation and scale to apply to a unit cube to match it with the play area. |
|
|
FGuardianTes... |
GetPointGuardianIntersection ( |
Get the intersection result between a UE4 coordinate and a guardian boundary |
|
GetPose |
Grabs the current orientation and position for the HMD. |
|
|
GetRawSensorData ( |
Reports raw sensor data. If HMD doesn't support any of the parameters then it will be set to zero. |
|
|
IStereoLayer... |
GetStereoLayers() |
Returns IStereoLayers interface to work with overlays. |
|
GetUserProfile ( |
Returns current user profile. |
|
|
HasInputFocus() |
Returns true, if the app has input focus. |
|
|
HasSystemOverlayPresent() |
Returns true, if the system overlay is present. |
|
|
IsDeviceTracked ( |
Returns if the device is currently tracked by the runtime or not. |
|
|
IsGuardianConfigured() |
GUARDIAN API Returns true if the Guardian has been set up by the user, false if the user is in "seated" mode and has not set up a play space. |
|
|
IsGuardianDisplayed() |
GUARDIAN API Returns true if the Guardian Outer Boundary is being displayed |
|
|
SetBaseRotationAndBaseOffsetInMeters ( |
Sets 'base rotation' - the rotation that will be subtracted from the actual HMD orientation. |
|
|
SetBaseRotationAndPositionOffset ( |
Sets 'base rotation' - the rotation that will be subtracted from the actual HMD orientation. |
|
|
SetColorScaleAndOffset ( |
Enables/disables orientation tracking on devices that support it. |
|
|
SetCPUAndGPULevels ( |
Returns if the device is currently tracked by the runtime or not. |
|
|
SetDisplayFrequency ( |
Sets the requested display frequency |
|
|
SetFixedFoveatedRenderingLevel ( |
Set the requested multiresolution level for the next frame |
|
|
SetGuardianVisibility ( |
Forces the runtime to render guardian at all times or not |
|
|
SetPositionScale3D ( |
Scales the HMD position that gets added to the virtual camera position. |
|
|
SetReorientHMDOnControllerRecenter ( |
Sets the HMD recenter behavior to a mode that specifies HMD recentering behavior when a controller recenter is performed. |
Name |
Description |
---|---|
FOculusGuardianReturnedEvent |
When player returns within outer bounds |
FOculusGuardianTriggeredEvent |
When player triggers the Guardian boundary |