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

Protected variable UProperty Category, EditAnywhere, Meta BlueprintReadOnly

int32

 

MaxCPULevels

The number of mip levels to clone for CPU access.

Public variable UProperty Category BlueprintReadOnly visibleanywhere

UTexture2D *...

 

Texture

The UTexture object.

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 UVirtualTexture2D and stores it in the contained Texture.

Protected function

void

 

RebuildCPUTextureData()

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

Overridden from UObject

Name Description

Protected function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent & PropertyCha...
)

Called when a property on this object has been modified externally

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback