UTextureRenderTargetVolume::ConstructTextureVolume

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

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)

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