UAndroidXRBlueprintFunctionLibrary

#include <AndroidXRBlueprintFunctionLibrary.h>

Summary

Inheritance

Inherits from: UBlueprintFunctionLibrary

Public static functions

DestroySpace(FAndroidXRSpace & Space)
bool
Destroys the underlying XrSpace.
EnumerateDisplayRefreshRates(TArray< float > & DisplayRefreshRates)
bool
Enumerates the available display refresh rates.
GetCameraPassthroughSupported()
bool
Returns whether or not camera passthrough is supported.
GetDisplayRefreshRate(float & DisplayRefreshRate)
bool
Gets the current display refresh rate.
GetEventProxy()
Gets the AndroidXR event proxy, which allows users to bind to delegates which fired in response to XrEvents.
GetPassthroughCameraState(EAndroidXRPassthroughCameraState & CameraState)
bool
Gets the passthrough camera state.
IsValidSpace(const FAndroidXRSpace & Space)
bool
Determines whether or not an FAndroidXRSpace is valid.
LocateSpace(const FAndroidXRSpace & Space, FTransform & Transform)
bool
Locates the underlying XrSpace and provides its current transform (base space is the HMD's).
PerfSettingsSetPerformanceLevel(EAndroidXRPerfSettingsDomain SettingsDomain, EAndroidXRPerfSettingsLevel SettingsLevel)
bool
Set the performance level for a settings domain.
RequestDisplayRefreshRate(float DisplayRefreshRate)
bool
Requests a display refresh rate.

Public static functions

DestroySpace

bool DestroySpace(
  FAndroidXRSpace & Space
)

Destroys the underlying XrSpace.

Details
Parameters
Space
Space to be destroyed.
Returns
True if the underlying API call was successful.

EnumerateDisplayRefreshRates

bool EnumerateDisplayRefreshRates(
  TArray< float > & DisplayRefreshRates
)

Enumerates the available display refresh rates.

Details
Parameters
DisplayRefreshRates
Array to be populated with refresh rates.
Returns
True if the underlying API call was successful.

GetCameraPassthroughSupported

bool GetCameraPassthroughSupported()

Returns whether or not camera passthrough is supported.

Details
Returns
True if camera passthrough is supported.

GetDisplayRefreshRate

bool GetDisplayRefreshRate(
  float & DisplayRefreshRate
)

Gets the current display refresh rate.

Details
Parameters
DisplayRefreshRate
The current display refresh rate.
Returns
True if the underlying API call was successful.

GetEventProxy

UAndroidXREventProxy * GetEventProxy()

Gets the AndroidXR event proxy, which allows users to bind to delegates which fired in response to XrEvents.

Details
Returns
AndroidXR event proxy static instance.

GetPassthroughCameraState

bool GetPassthroughCameraState(
  EAndroidXRPassthroughCameraState & CameraState
)

Gets the passthrough camera state.

Details
Parameters
CameraState
The current passthrough camera state.
Returns
True if the underlying API call was successful.

IsValidSpace

bool IsValidSpace(
  const FAndroidXRSpace & Space
)

Determines whether or not an FAndroidXRSpace is valid.

Details
Parameters
Space
Space to be verified.
Returns
True if the space is valid.

LocateSpace

bool LocateSpace(
  const FAndroidXRSpace & Space,
  FTransform & Transform
)

Locates the underlying XrSpace and provides its current transform (base space is the HMD's).

Details
Parameters
Space
Space to be located.
Current
transform.
Returns
True if the underlying API call was successful.

PerfSettingsSetPerformanceLevel

bool PerfSettingsSetPerformanceLevel(
  EAndroidXRPerfSettingsDomain SettingsDomain,
  EAndroidXRPerfSettingsLevel SettingsLevel
)

Set the performance level for a settings domain.

Details
Parameters
SettingsDomain
Settings domain to set.
SettingsLevel
Level to set.
Returns
True if the underlying API call was successful.

RequestDisplayRefreshRate

bool RequestDisplayRefreshRate(
  float DisplayRefreshRate
)

Requests a display refresh rate.

Details
Parameters
DisplayRefreshRate
Requested display refresh rate.
Returns
True if the underlying API call was successful.