Navigation
Unreal Engine C++ API Reference > Plugins > VirtualHeightfieldMesh
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&40;ClassGroup&61;Rendering, BlueprintType&41;
class UHeightfieldMinMaxTexture : public UObject
Remarks
Container for a UTexture2D that can be built from a FHeightfieldMinMaxTextureBuildDesc description.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() ![]() |
TObjectPtr< class UTexture2D > | LodBiasMinMaxTexture | A LodBias MinMax texture derived from the LodBias texture |
![]() ![]() ![]() ![]() ![]() |
TObjectPtr< class UTexture2D > | LodBiasTexture | A LodBias texture derived from the Height MinMax texture |
![]() ![]() ![]() ![]() |
int32 | MaxCPULevels | The number of mip levels to clone for CPU access. |
![]() ![]() ![]() ![]() ![]() |
TObjectPtr< class UTexture2D > | Texture | The Height MinMax texture. |
![]() ![]() |
TArray< FVector2D > | TextureData | The raw MinMax data from the low resolution mip levels of Texture. |
![]() ![]() |
TArray< int32 > | TextureDataMips | The starting array index for the data of each mip stored in TextureData. |
![]() ![]() |
FIntPoint | TextureDataSize | The size of the largest mip stored in TextureData. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UHeightfieldMinMaxTexture
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | BuildTexture
(
FHeightfieldMinMaxTextureBuildDesc const& InBuildDesc |
Creates a new UTexture2D and stores it in the contained Texture. |
![]() |
void | Rebuild the contents of TextureData for the specified number of CPU mip levels. | |
![]() |
void | RebuildLodBiasTexture
(
FHeightfieldMinMaxTextureBuildDesc const& InBuildDesc |
Rebuild the contents of LodBiasTexture from the MinMaxTexture. |
![]() |
void | RebuildMinMaxTexture
(
FHeightfieldMinMaxTextureBuildDesc const& InBuildDesc |
Rebuild the contents of Texture using the passed in build description. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |