UTextureRenderTargetVolume::ConstructTextureVolume

Utility for creating a new [UVolumeTexture](API\Runtime\Engine\Engine\UVolumeTexture) from a TextureRenderTargetVolume.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/TextureRenderTargetVolume.h

Include

#include "Engine/TextureRenderTargetVolume.h"

Source

/Engine/Source/Runtime/Engine/Private/TextureRenderTargetVolume.cpp

Syntax

UVolumeTexture * ConstructTextureVolume
(
    UObject * InOuter,
    const FString & NewTexName,
    EObjectFlags InFlags
)

Remarks

Utility for creating a new UVolumeTexture from a TextureRenderTargetVolume. TextureRenderTargetVolume must be square and a power of two size.

Returns

New UVolumeTexture object.

Parameters

Parameter

Description

Outer

Outer to use when constructing the new VolumeTexture.

NewTexName

Name of new UVolumeTexture object.

Flags

Various control flags for operation (see EObjectFlags)