UTextureRenderTargetCube::ConstructTextureCube

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

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)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss