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

Public Member Functions

FVector GetCellSize (int Level) const
 
 FClipmapGeometry (FVector InOrigin, int InMaxLevel, FVector InLevel0CellSize, FIntVector InCellsPerLevel)
 
 FClipmapGeometry (FVector InOrigin, int InMaxLevel, double InLevel0CellSize, int InCellsPerLevel)
 
FClipmapLevelGeometry GetLevel (int Level) const
 
FVector GetRootOrigin () const
 

Static Public Member Functions

static FVector SnapToGrid (const FVector &Position, const FVector &GridCellSize)
 

Public Attributes

FVector Origin
 
FVector Level0CellSize
 
FIntVector CellsPerLevel
 
int MaxLevel
 

Constructor & Destructor Documentation

◆ FClipmapGeometry() [1/2]

FClipmapGeometry::FClipmapGeometry ( FVector  InOrigin,
int  InMaxLevel,
FVector  InLevel0CellSize,
FIntVector  InCellsPerLevel 
)
inline
Parameters
InOriginClipmap origin, in absolute world space

◆ FClipmapGeometry() [2/2]

FClipmapGeometry::FClipmapGeometry ( FVector  InOrigin,
int  InMaxLevel,
double  InLevel0CellSize,
int  InCellsPerLevel 
)
inline
Parameters
InOriginClipmap origin, in absolute world space

Member Function Documentation

◆ GetCellSize()

FVector FClipmapGeometry::GetCellSize ( int  Level) const
inline

◆ GetLevel()

FClipmapLevelGeometry FClipmapGeometry::GetLevel ( int  Level) const
inline

◆ GetRootOrigin()

FVector FClipmapGeometry::GetRootOrigin ( ) const
inline

Return the root origin of this clipmap, which is the origin of the last level. This point is guaranteed to line up with the cell grid on every level.

◆ SnapToGrid()

static FVector FClipmapGeometry::SnapToGrid ( const FVector Position,
const FVector GridCellSize 
)
inlinestatic

Member Data Documentation

◆ CellsPerLevel

FIntVector FClipmapGeometry::CellsPerLevel

Resolution of the grid on each level

◆ Level0CellSize

FVector FClipmapGeometry::Level0CellSize

Worldspace length of each cell on the level.

◆ MaxLevel

int FClipmapGeometry::MaxLevel

The maximum level present in this clipmap. Levels may also go below 0.

◆ Origin

FVector FClipmapGeometry::Origin

Origin of this clipmap before snapping, so this point may not lie on the cell grid


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