Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UStereoLayerComponent
Description
Change the texture displayed on the stereo layer.
If stereoscopic layer textures are supported on the platform and LeftTexture is set, this property controls the texture for the right eye.
| Name | SetTexture |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/StereoLayerComponent.h |
| Include Path | #include "Components/StereoLayerComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/StereoLayerComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Components|Stereo Layer")
void SetTexture
(
UTexture * InTexture
)
Parameters
| Name | Remarks |
|---|---|
| InTexture | new Texture2D |