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

#include <TextureInstanceView.h>

Public Member Functions

FORCEINLINE FBounds4 ()
 
 MS_ALIGN (16) FUintVector4 PackedRelativeBox
 
void Set (int32 Index, const FBoxSphereBounds &InBounds, uint32 InPackedRelativeBox, float InLastRenderTime, const FVector &InRangeOrigin, float InMinDistanceSq, float InMinRangeSq, float InMaxRangeSq)
 
void Set (int32 Index, const FBoxSphereBounds &InBounds, uint32 InPackedRelativeBox, float InRadiusOrComponentScale, float InLastRenderTime, const FVector &InRangeOrigin, float InMinDistanceSq, float InMinRangeSq, float InMaxRangeSq)
 
void UnpackBounds (int32 Index, const UPrimitiveComponent *Component)
 
void FullUpdate (int32 Index, const FVector &NewOrigin, const FVector &NewBoxExtent, float NewSphereRadius, float LastRenderTime)
 
FORCEINLINE void UpdateLastRenderTime (int32 Index, float LastRenderTime)
 
FORCEINLINE void UpdateMaxDrawDistanceSquared (int32 Index, float InMaxRangeSq)
 
FORCEINLINE void Clear (int32 Index)
 
FORCEINLINE void OffsetBounds (int32 Index, const FVector &Offset)
 

Public Attributes

FVector4 OriginX
 
FVector4 OriginY
 
FVector4 OriginZ
 
FVector4 RangeOriginX
 
FVector4 RangeOriginY
 
FVector4 RangeOriginZ
 
FVector4f ExtentX
 
FVector4f ExtentY
 
FVector4f ExtentZ
 
FVector4f RadiusOrComponentScale
 
FVector4f MinDistanceSq
 
FVector4f MinRangeSq
 
FVector4f MaxRangeSq
 
FVector4f LastRenderTime
 

Constructor & Destructor Documentation

◆ FBounds4()

FBounds4::FBounds4 ( )

Member Function Documentation

◆ Clear()

void FBounds4::Clear ( int32  Index)

◆ FullUpdate()

void FBounds4::FullUpdate ( int32  Index,
const FVector NewOrigin,
const FVector NewBoxExtent,
float  NewSphereRadius,
float  InLastRenderTime 
)

Dynamic Path, this needs to reset all members since the dynamic data is rebuilt from scratch every update (the previous data is given to the async task)

◆ MS_ALIGN()

FBounds4::MS_ALIGN ( 16  )

The relative box the bound was computed with. Aligned to be interpreted as FVector4

◆ OffsetBounds()

void FBounds4::OffsetBounds ( int32  Index,
const FVector Offset 
)

◆ Set() [1/2]

void FBounds4::Set ( int32  Index,
const FBoxSphereBounds InBounds,
uint32  InPackedRelativeBox,
float  InLastRenderTime,
const FVector InRangeOrigin,
float  InMinDistanceSq,
float  InMinRangeSq,
float  InMaxRangeSq 
)

◆ Set() [2/2]

void FBounds4::Set ( int32  Index,
const FBoxSphereBounds InBounds,
uint32  InPackedRelativeBox,
float  InRadiusOrComponentScale,
float  InLastRenderTime,
const FVector InRangeOrigin,
float  InMinDistanceSq,
float  InMinRangeSq,
float  InMaxRangeSq 
)

◆ UnpackBounds()

void FBounds4::UnpackBounds ( int32  Index,
const UPrimitiveComponent *  Component 
)

◆ UpdateLastRenderTime()

void FBounds4::UpdateLastRenderTime ( int32  Index,
float  LastRenderTime 
)

◆ UpdateMaxDrawDistanceSquared()

void FBounds4::UpdateMaxDrawDistanceSquared ( int32  Index,
float  InMaxRangeSq 
)

Member Data Documentation

◆ ExtentX

FVector4f FBounds4::ExtentX

X size of the bounds box extent of 4 texture/mesh instances

◆ ExtentY

FVector4f FBounds4::ExtentY

Y size of the bounds box extent of 4 texture/mesh instances

◆ ExtentZ

FVector4f FBounds4::ExtentZ

Z size of the bounds box extent of 4 texture/mesh instances

◆ LastRenderTime

FVector4f FBounds4::LastRenderTime

Last visibility time for this bound, used for priority

◆ MaxRangeSq

FVector4f FBounds4::MaxRangeSq

Maximal range distance (between the bounding sphere origin and the view origin) for which this entry is valid

◆ MinDistanceSq

FVector4f FBounds4::MinDistanceSq

Minimal distance (between the bounding sphere origin and the view origin) for which this entry is valid

◆ MinRangeSq

FVector4f FBounds4::MinRangeSq

Minimal range distance (between the bounding sphere origin and the view origin) for which this entry is valid

◆ OriginX

FVector4 FBounds4::OriginX

X coordinates for the bounds origin of 4 texture/mesh instances

◆ OriginY

FVector4 FBounds4::OriginY

Y coordinates for the bounds origin of 4 texture/mesh instances

◆ OriginZ

FVector4 FBounds4::OriginZ

Z coordinates for the bounds origin of 4 texture/mesh instances

◆ RadiusOrComponentScale

FVector4f FBounds4::RadiusOrComponentScale

Sphere radii for the bounding sphere of 4 texture/mesh static instances or component scale for dynamic instances

◆ RangeOriginX

FVector4 FBounds4::RangeOriginX

X coordinates for used to compute the distance condition between min and max

◆ RangeOriginY

FVector4 FBounds4::RangeOriginY

Y coordinates for used to compute the distance condition between min and max

◆ RangeOriginZ

FVector4 FBounds4::RangeOriginZ

Z coordinates for used to compute the distance condition between min and max


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