UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FWeightmapLayerAllocationInfo Struct Reference

#include <LandscapeComponent.h>

Public Member Functions

 FWeightmapLayerAllocationInfo ()
 
 FWeightmapLayerAllocationInfo (ULandscapeLayerInfoObject *InLayerInfo)
 
bool operator== (const FWeightmapLayerAllocationInfo &RHS) const
 
FName GetLayerName () const
 
uint32 GetHash () const
 
void Free ()
 
bool IsAllocated () const
 

Public Attributes

TObjectPtr< ULandscapeLayerInfoObjectLayerInfo
 
uint8 WeightmapTextureIndex
 
uint8 WeightmapTextureChannel
 

Detailed Description

Stores information about which weightmap texture and channel each layer is stored

Constructor & Destructor Documentation

◆ FWeightmapLayerAllocationInfo() [1/2]

FWeightmapLayerAllocationInfo::FWeightmapLayerAllocationInfo ( )
inline

◆ FWeightmapLayerAllocationInfo() [2/2]

FWeightmapLayerAllocationInfo::FWeightmapLayerAllocationInfo ( ULandscapeLayerInfoObject InLayerInfo)
inline

Member Function Documentation

◆ Free()

void FWeightmapLayerAllocationInfo::Free ( )
inline

◆ GetHash()

uint32 FWeightmapLayerAllocationInfo::GetHash ( ) const

◆ GetLayerName()

FName FWeightmapLayerAllocationInfo::GetLayerName ( ) const

◆ IsAllocated()

bool FWeightmapLayerAllocationInfo::IsAllocated ( ) const
inline

◆ operator==()

bool FWeightmapLayerAllocationInfo::operator== ( const FWeightmapLayerAllocationInfo RHS) const
inline

Member Data Documentation

◆ LayerInfo

TObjectPtr<ULandscapeLayerInfoObject> FWeightmapLayerAllocationInfo::LayerInfo

◆ WeightmapTextureChannel

uint8 FWeightmapLayerAllocationInfo::WeightmapTextureChannel

◆ WeightmapTextureIndex

uint8 FWeightmapLayerAllocationInfo::WeightmapTextureIndex

The documentation for this struct was generated from the following files: