Navigation
API > API/Runtime > API/Runtime/Landscape
Stores information about which weightmap texture and channel each layer is stored
| Name | FWeightmapLayerAllocationInfo |
| Type | struct |
| Header File | /Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
| Include Path | #include "LandscapeComponent.h" |
Syntax
USTRUCT ()
struct FWeightmapLayerAllocationInfo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| LandscapeComponent.h | |||
FWeightmapLayerAllocationInfo
(
ULandscapeLayerInfoObject* InLayerInfo |
LandscapeComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LayerInfo | TObjectPtr< ULandscapeLayerInfoObject > | LandscapeComponent.h | ||
| WeightmapTextureChannel | uint8 | LandscapeComponent.h | ||
| WeightmapTextureIndex | uint8 | LandscapeComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Free() |
LandscapeComponent.h | ||
uint32 GetHash() |
LandscapeComponent.h | ||
FName GetLayerName() |
LandscapeComponent.h | ||
bool IsAllocated() |
LandscapeComponent.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FWeightmapLayerAllocationInfo& RHS |
LandscapeComponent.h |