Navigation
API > API/Plugins > API/Plugins/VirtualHeightfieldMesh
Container for a UTexture2D that can be built from a FHeightfieldMinMaxTextureBuildDesc description.
| Name | UHeightfieldMinMaxTexture |
| Type | class |
| Header File | /Engine/Plugins/Experimental/VirtualHeightfieldMesh/Source/VirtualHeightfieldMesh/Public/HeightfieldMinMaxTexture.h |
| Include Path | #include "HeightfieldMinMaxTexture.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup=Rendering, BlueprintType)
class UHeightfieldMinMaxTexture : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UHeightfieldMinMaxTexture
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UHeightfieldMinMaxTexture
(
const FObjectInitializer& ObjectInitializer |
HeightfieldMinMaxTexture.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LodBiasMinMaxTexture | TObjectPtr< class UTexture2D > | A LodBias MinMax texture derived from the LodBias texture | HeightfieldMinMaxTexture.h |
|
| LodBiasTexture | TObjectPtr< class UTexture2D > | A LodBias texture derived from the Height MinMax texture | HeightfieldMinMaxTexture.h |
|
| Texture | TObjectPtr< class UTexture2D > | The Height MinMax texture. | HeightfieldMinMaxTexture.h |
|
| TextureData | TArray< FVector2D > | The raw MinMax data from the low resolution mip levels of Texture. | HeightfieldMinMaxTexture.h | |
| TextureDataMips | TArray< int32 > | The starting array index for the data of each mip stored in TextureData. | HeightfieldMinMaxTexture.h | |
| TextureDataSize | FIntPoint | The size of the largest mip stored in TextureData. | HeightfieldMinMaxTexture.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildTexture
(
FHeightfieldMinMaxTextureBuildDesc const& InBuildDesc |
Creates a new UTexture2D and stores it in the contained Texture. | HeightfieldMinMaxTexture.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
HeightfieldMinMaxTexture.h | ||
void RebuildCPUTextureData() |
Rebuild the contents of TextureData for the specified number of CPU mip levels. | HeightfieldMinMaxTexture.h | |
void RebuildLodBiasTexture
(
FHeightfieldMinMaxTextureBuildDesc const& InBuildDesc |
Rebuild the contents of LodBiasTexture from the MinMaxTexture. | HeightfieldMinMaxTexture.h | |
void RebuildMinMaxTexture
(
FHeightfieldMinMaxTextureBuildDesc const& InBuildDesc |
Rebuild the contents of Texture using the passed in build description. | HeightfieldMinMaxTexture.h |