# ViewportUCam

{% hint style="warning" %}
This page was written for Unreal Engine 4.27. Please contact us at <support@lightact.com> if you are using Unreal Engine 5.1.1 or above.
{% endhint %}

<div align="left"><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-a3d1ab14562043517fb755d85158811f39f82d34%2F240425-TextureShareBlueprints.png?alt=media" alt=""></div>

When you enable **Texture Share** plugin, you get access to 2 actors that come with this plugin: **BP\_TextureShare** and **BP\_TextureShare\_CustomData**.

We are going to use **BP\_TextureSharein** this article, however depending on what you are trying to do, you might want to use *BP\_TextureShare\_CustomData* as wel&#x6C;**.**

![](https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-7854b103bac1116bc7337c3478767fc10f152cf1%2Fimage.png?alt=media)

If you don’t see these 2 classes, you need to enable **Show Plugin Content** in the *View Options*.

![](https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-442a6b6fb620f6fc4cbb482c469feb2326167396%2Fimage.png?alt=media)

Either make a copy of BP\_TextureShare or drag the original into your level. If you open its blueprint, you will see something similar to the image above. It’s been set up so that the moment you hit play, Unreal is going to stream the content of your viewport.

Please take note of the value of **Share Name** variable. This is the handle of the texture and you will use it on LightAct’s side as well.

<div align="left"><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-15c7cbda24dd0859da1c72e5d09873aa18099cb7%2Fimage.png?alt=media" alt=""></div>

Type in the same viewport name as the value of **Share Name** on Unreal Engine's side.
