# UAndroidXRPassthroughMeshBlueprintFunctionLibrary

`#include <AndroidXRPassthroughMeshBlueprintFunctionLibrary.h>`

<br />

## Summary

### Inheritance

Inherits from: `UBlueprintFunctionLibrary`

| ### Public static functions ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRPassthroughMeshBlueprintFunctionLibrary#createpassthroughlayer(const https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRPassthroughLayerMeshInfo#struct_f_android_x_r_passthrough_layer_mesh_info & LayerInfo, https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRPassthroughLayer#struct_f_android_x_r_passthrough_layer & Layer)` | `bool` Creates a passthrough layer for the mesh info. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRPassthroughMeshBlueprintFunctionLibrary#destroypassthroughlayer(https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRPassthroughLayer#struct_f_android_x_r_passthrough_layer & Layer)` | `bool` Destroys the passthrough layer. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRPassthroughMeshBlueprintFunctionLibrary#getpassthroughmeshsystemproperties(https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRSystemPassthroughProperties#struct_f_android_x_r_system_passthrough_properties & Properties)` | `bool` Gets the passthrough mesh system properties. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRPassthroughMeshBlueprintFunctionLibrary#isvalidpassthroughlayer(const https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRPassthroughLayer#struct_f_android_x_r_passthrough_layer & Layer)` | `bool` Checks if the passthrough layer is valid. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRPassthroughMeshBlueprintFunctionLibrary#updatepassthroughlayermesh(const https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRPassthroughLayer#struct_f_android_x_r_passthrough_layer & Layer, const TArray< FVector > & Vertices, const TArray< int32 > & Indices)` | `bool` Updates the passthrough layer's mesh. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRPassthroughMeshBlueprintFunctionLibrary#updatepassthroughlayeropacity(const https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRPassthroughLayer#struct_f_android_x_r_passthrough_layer & Layer, float Opacity)` | `bool` Updates the passthrough layer texture's opacity. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRPassthroughMeshBlueprintFunctionLibrary#updatepassthroughlayertransform(const https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRPassthroughLayer#struct_f_android_x_r_passthrough_layer & 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.

<br />

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.

<br />

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.

<br />

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.

<br />

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.

<br />

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.

<br />

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.

<br />

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.