UTextureRenderTargetCube::ConstructTextureCube

Utility for creating a new [UTextureCube](API\Runtime\Engine\Engine\UTextureCube) from a TextureRenderTargetCube.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/TextureRenderTargetCube.h

Include

#include "Engine/TextureRenderTargetCube.h"

Source

/Engine/Source/Runtime/Engine/Private/TextureRenderTargetCube.cpp

Syntax

UTextureCube * ConstructTextureCube
(
    UObject * InOuter,
    const FString & NewTexName,
    EObjectFlags InFlags
)

Remarks

Utility for creating a new UTextureCube from a TextureRenderTargetCube. TextureRenderTargetCube must be square and a power of two size.

Returns

New UTextureCube object.

Parameters

Parameter

Description

Outer

Outer to use when constructing the new TextureCube.

NewTexName

Name of new UTextureCube object.

Flags

Various control flags for operation (see EObjectFlags)