UStereoLayerComponent::SetTexture

Change the texture displayed on the stereo layer.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/StereoLayerComponent.h

Include

#include "Components/StereoLayerComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/StereoLayerComponent.cpp

Syntax

void SetTexture
(
    UTexture * InTexture
)

Remarks

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.

Parameters

Parameter

Description

InTexture

new Texture2D