UHeightfieldMinMaxTexture

Container for a [UTexture2D](API\Runtime\Engine\Engine\UTexture2D) that can be built from a [FHeightfieldMinMaxTextureBuildDesc](API\Plugins\VirtualHeightfieldMesh\FHeightfieldMinMaxTextureBuildDe-) description.

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UHeightfieldMinMaxTexture

References

Module

VirtualHeightfieldMesh

Header

/Engine/Plugins/Experimental/VirtualHeightfieldMesh/Source/VirtualHeightfieldMesh/Public/HeightfieldMinMaxTexture.h

Include

#include "HeightfieldMinMaxTexture.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ClassGroup=Rendering, BlueprintType)
class UHeightfieldMinMaxTexture : public UObject

Remarks

Container for a UTexture2D that can be built from a FHeightfieldMinMaxTextureBuildDesc description.

Variables

Name Description

Public variable UProperty Category, Meta BlueprintReadOnly visibleanywhere

UTexture2D *...

 

LodBiasMinMaxTexture

A LodBias MinMax texture derived from the LodBias texture

Public variable UProperty Category, Meta BlueprintReadOnly visibleanywhere

UTexture2D *...

 

LodBiasTexture

A LodBias texture derived from the Height MinMax texture

Protected variable UProperty Category, EditAnywhere, Meta BlueprintReadOnly

int32

 

MaxCPULevels

The number of mip levels to clone for CPU access.

Public variable UProperty Category, Meta BlueprintReadOnly visibleanywhere

UTexture2D *...

 

Texture

The Height MinMax texture.

Public variable UProperty

TArray< FVector...

 

TextureData

The raw MinMax data from the low resolution mip levels of Texture.

Public variable UProperty

TArray< int32 >

 

TextureDataMips

The starting array index for the data of each mip stored in TextureData.

Public variable UProperty

FIntPoint

 

TextureDataSize

The size of the largest mip stored in TextureData.

Constructors

Name Description

Public function

UHeightfieldMinMaxTexture

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

BuildTexture

Creates a new UTexture2D and stores it in the contained Texture.

Protected function

void

 

RebuildCPUTextureData()

Rebuild the contents of TextureData for the specified number of CPU mip levels.

Protected function

void

 

RebuildLodBiasTexture

Rebuild the contents of LodBiasTexture from the MinMaxTexture.

Protected function

void

 

RebuildMinMaxTexture

Rebuild the contents of Texture using the passed in build description.

Overridden from UObject

Name Description

Protected function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

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