UAndroidXRPassthroughMeshBlueprintFunctionLibrary

#include <AndroidXRPassthroughMeshBlueprintFunctionLibrary.h>

Summary

Inheritance

Inherits from: UBlueprintFunctionLibrary

Public static functions

CreatePassthroughLayer(const FAndroidXRPassthroughLayerMeshInfo & LayerInfo, FAndroidXRPassthroughLayer & Layer)
bool
Creates a passthrough layer for the mesh info.
DestroyPassthroughLayer(FAndroidXRPassthroughLayer & Layer)
bool
Destroys the passthrough layer.
GetPassthroughMeshSystemProperties(FAndroidXRSystemPassthroughProperties & Properties)
bool
Gets the passthrough mesh system properties.
IsValidPassthroughLayer(const FAndroidXRPassthroughLayer & Layer)
bool
Checks if the passthrough layer is valid.
UpdatePassthroughLayerMesh(const FAndroidXRPassthroughLayer & Layer, const TArray< FVector > & Vertices, const TArray< int32 > & Indices)
bool
Updates the passthrough layer's mesh.
UpdatePassthroughLayerOpacity(const FAndroidXRPassthroughLayer & Layer, float Opacity)
bool
Updates the passthrough layer texture's opacity.
UpdatePassthroughLayerTransform(const FAndroidXRPassthroughLayer & Layer, const FTransform & Transform)
bool
Updates the passthrough layer's transform.

Public static functions

CreatePassthroughLayer

bool CreatePassthroughLayer(
  const FAndroidXRPassthroughLayerMeshInfo & LayerInfo,
  FAndroidXRPassthroughLayer & Layer
)

Creates a passthrough layer for the mesh info.

Details
Parameters
The
mesh info for the passthrough layer.
The
passthrough layer created.
Returns
True if the underlying API call was successful.

DestroyPassthroughLayer

bool DestroyPassthroughLayer(
  FAndroidXRPassthroughLayer & Layer
)

Destroys the passthrough layer.

Details
Parameters
The
passthrough layer to destroy
Returns
True if the underlying API call was successful.

GetPassthroughMeshSystemProperties

bool GetPassthroughMeshSystemProperties(
  FAndroidXRSystemPassthroughProperties & Properties
)

Gets the passthrough mesh system properties.

Details
Parameters
The
passthrough mesh properties of the system.
Returns
True if the underlying API call was successful.

IsValidPassthroughLayer

bool IsValidPassthroughLayer(
  const FAndroidXRPassthroughLayer & Layer
)

Checks if the passthrough layer is valid.

Details
Parameters
The
layer to check the validity of.
Returns
True if the layer is valid.

UpdatePassthroughLayerMesh

bool UpdatePassthroughLayerMesh(
  const FAndroidXRPassthroughLayer & Layer,
  const TArray< FVector > & Vertices,
  const TArray< int32 > & Indices
)

Updates the passthrough layer's mesh.

Details
Parameters
The
layer to update the mesh for.
The
new vertices of the layer mesh.
The
new indices of the layer mesh.
Returns
True if the underlying API call was successful.

UpdatePassthroughLayerOpacity

bool UpdatePassthroughLayerOpacity(
  const FAndroidXRPassthroughLayer & Layer,
  float Opacity
)

Updates the passthrough layer texture's opacity.

Details
Parameters
The
layer to update the opacity for.
The
new opacity of the layer texture.
Returns
True if the underlying API call was successful.

UpdatePassthroughLayerTransform

bool UpdatePassthroughLayerTransform(
  const FAndroidXRPassthroughLayer & Layer,
  const FTransform & Transform
)

Updates the passthrough layer's transform.

Details
Parameters
The
layer to update the transform for.
The
new transform of the layer mesh.
Returns
True if the underlying API call was successful.