UAndroidXRDepthTextureBlueprintFunctionLibrary
#include <AndroidXRDepthTextureBlueprintFunctionLibrary.h>
Summary
Inheritance
Inherits from:UBlueprintFunctionLibrary
Public attributes |
|
|---|---|
Swapchain
|
bool FAndroidXRDepthSwapchain &
|
Public static functions |
|
|---|---|
AcquireDepthSwapchainImages(const FAndroidXRDepthSwapchain & Swapchain, FAndroidXRDepthAcquireResult & AcquireResult)
|
bool
Acquires a swapchain image.
|
CreateDepthSwapchain(EAndroidXRDepthCameraResolution Resolution) int32 CreateFlags
|
bool
Creates a depth swapchain.
|
CreateDepthSwapchainTexture(EAndroidXRDepthCameraResolution Resolution, EAndroidXRDepthSwapchainCreateFlag ImageSource)
|
UTexture2D *
Creates a texture to contain a swapchain image.
|
DestroyDepthSwapchain(FAndroidXRDepthSwapchain & Swapchain)
|
bool
Destroys a depth swapchain.
|
EnumerateDepthResolutions(TArray< EAndroidXRDepthCameraResolution > & SupportedResolutions)
|
bool
Enumerates the supported depth swapchain resolutions.
|
EnumerateDepthSwapchainImages(const FAndroidXRDepthSwapchain & Swapchain, TArray< FAndroidXRDepthSwapchainImage > & SwapchainImages)
|
bool
Enumerates the images contained by the swapchain.
|
GetDepthSwapchainSupported()
|
bool
Determines whether or not depth swapchain is supported.
|
IsValidDepthSwapchain(const FAndroidXRDepthSwapchain & Swapchain)
|
bool
Determines whether or not an FAndroidXRDepthSwapchain is valid.
|
UpdateTextureFromDepthSwapchainImage(const FAndroidXRDepthSwapchainImage & SwapchainImage, EAndroidXRDepthSwapchainCreateFlag ImageSource, UTexture2D *Texture)
|
bool
Updates a texture from a swapchain image.
|
Public attributes
Swapchain
bool FAndroidXRDepthSwapchain & Swapchain
Public static functions
AcquireDepthSwapchainImages
bool AcquireDepthSwapchainImages( const FAndroidXRDepthSwapchain & Swapchain, FAndroidXRDepthAcquireResult & AcquireResult )
Acquires a swapchain image.
Should be called exactly once (per swapchain) between xrBeginFrame and xrEndFrame.
| Details | |||||
|---|---|---|---|---|---|
| Parameters |
|
||||
| Returns |
True if the underlying API call was successful.
|
CreateDepthSwapchain
bool CreateDepthSwapchain( EAndroidXRDepthCameraResolution Resolution ) int32 CreateFlags
Creates a depth swapchain.
| Details | |||||||
|---|---|---|---|---|---|---|---|
| Parameters |
|
||||||
| Returns |
True if the underlying API call was successful.
|
CreateDepthSwapchainTexture
UTexture2D * CreateDepthSwapchainTexture( EAndroidXRDepthCameraResolution Resolution, EAndroidXRDepthSwapchainCreateFlag ImageSource )
Creates a texture to contain a swapchain image.
The texture will be Resolution x Resolution*2, with the two views arranged in order in memory (they will appear vertically if rendered).
| Details | |||||
|---|---|---|---|---|---|
| Parameters |
|
||||
| Returns |
A valid UTexture2D if successful.
|
DestroyDepthSwapchain
bool DestroyDepthSwapchain( FAndroidXRDepthSwapchain & Swapchain )
Destroys a depth swapchain.
| Details | |||
|---|---|---|---|
| Parameters |
|
||
| Returns |
True if the underlying API call was successful.
|
EnumerateDepthResolutions
bool EnumerateDepthResolutions( TArray< EAndroidXRDepthCameraResolution > & SupportedResolutions )
Enumerates the supported depth swapchain resolutions.
| Details | |||
|---|---|---|---|
| Parameters |
|
||
| Returns |
True if the underlying API call was successful.
|
EnumerateDepthSwapchainImages
bool EnumerateDepthSwapchainImages( const FAndroidXRDepthSwapchain & Swapchain, TArray< FAndroidXRDepthSwapchainImage > & SwapchainImages )
Enumerates the images contained by the swapchain.
| Details | |||||
|---|---|---|---|---|---|
| Parameters |
|
||||
| Returns |
True if the underlying API call was successful.
|
GetDepthSwapchainSupported
bool GetDepthSwapchainSupported()
Determines whether or not depth swapchain is supported.
| Details | |
|---|---|
| Returns |
True if depth swapchain is supported.
|
IsValidDepthSwapchain
bool IsValidDepthSwapchain( const FAndroidXRDepthSwapchain & Swapchain )
Determines whether or not an FAndroidXRDepthSwapchain is valid.
| Details | |||
|---|---|---|---|
| Parameters |
|
||
| Returns |
True if the swapchain is valid.
|
UpdateTextureFromDepthSwapchainImage
bool UpdateTextureFromDepthSwapchainImage( const FAndroidXRDepthSwapchainImage & SwapchainImage, EAndroidXRDepthSwapchainCreateFlag ImageSource, UTexture2D *Texture )
Updates a texture from a swapchain image.
| Details | |||||||
|---|---|---|---|---|---|---|---|
| Parameters |
|
||||||
| Returns |
True if successful.
|