Navigation
API > API/Developer > API/Developer/NaniteUtilities
References
| Module | NaniteUtilities |
| Header | /Engine/Source/Developer/NaniteUtilities/Public/DisplacementMap.h |
| Include | #include "DisplacementMap.h" |
Syntax
class FDisplacementMap
Variables
| Type | Name | Description | |
|---|---|---|---|
| TextureAddress | AddressX | ||
| TextureAddress | AddressY | ||
| int32 | BytesPerPixel | ||
| float | Center | ||
| float | Magnitude | ||
| uint32 | NumLevels | ||
| int32 | SizeX | ||
| int32 | SizeY | ||
| ETextureSourceFormat | SourceFormat |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| NANITEUTILITIES_API | |||
| NANITEUTILITIES_API | FDisplacementMap
(
FImage&& TextureSourceImage, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | Load
(
int32 x, |
||
| FVector2f | Load
(
int32 x, |
||
| float | Sample
(
FVector2f UV |
Bilinear filtered. | |
| FVector2f | Sample
(
FVector2f MinUV, |
Bilinear filtered. | |
| float | Sample
(
int32 x, |
||
| FVector2f | Sample
(
int32 x, |
Bilinear filtered. |