UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::FImageTile Class Reference

#include <ImageTile.h>

Public Member Functions

 FImageTile ()=default
 
 FImageTile (const FVector2i &InStart, const FVector2i &InEnd)
 
FVector2i GetStart () const
 
FVector2i GetEnd () const
 
int32 GetWidth () const
 
int32 GetHeight () const
 
int64 Num () const
 
int64 GetIndex (const int32 X, const int32 Y) const
 
int64 GetIndex (const FVector2i &LocalCoords) const
 
FVector2i GetCoords (const int64 LinearIdx) const
 
bool Contains (const int32 X, const int32 Y) const
 
int64 GetIndexFromSourceCoords (const int32 X, const int32 Y) const
 
int64 GetIndexFromSourceCoords (const FVector2i &SourceCoords) const
 
FVector2i GetSourceCoords (const int64 LinearIdx) const
 
FVector2i GetSourceCoords (const int32 X, const int32 Y) const
 
FVector2i GetSourceCoords (const FVector2i &LocalCoords) const
 

Constructor & Destructor Documentation

◆ FImageTile() [1/2]

UE::Geometry::FImageTile::FImageTile ( )
default

◆ FImageTile() [2/2]

UE::Geometry::FImageTile::FImageTile ( const FVector2i InStart,
const FVector2i InEnd 
)
inline

Member Function Documentation

◆ Contains()

bool UE::Geometry::FImageTile::Contains ( const int32  X,
const int32  Y 
) const
inline
Returns
true if the given source coordinates are contained by this tile.

◆ GetCoords()

FVector2i UE::Geometry::FImageTile::GetCoords ( const int64  LinearIdx) const
inline
Returns
the coordinates into this tile given the linear index into this tile.

◆ GetEnd()

FVector2i UE::Geometry::FImageTile::GetEnd ( ) const
inline

◆ GetHeight()

int32 UE::Geometry::FImageTile::GetHeight ( ) const
inline

◆ GetIndex() [1/2]

int64 UE::Geometry::FImageTile::GetIndex ( const FVector2i LocalCoords) const
inline
Returns
the linear index for the given local coordinates into this tile.

◆ GetIndex() [2/2]

int64 UE::Geometry::FImageTile::GetIndex ( const int32  X,
const int32  Y 
) const
inline
Returns
the linear index for the given local XY coordinates into this tile.

◆ GetIndexFromSourceCoords() [1/2]

int64 UE::Geometry::FImageTile::GetIndexFromSourceCoords ( const FVector2i SourceCoords) const
inline
Returns
the linear index for the given source coordinates.

◆ GetIndexFromSourceCoords() [2/2]

int64 UE::Geometry::FImageTile::GetIndexFromSourceCoords ( const int32  X,
const int32  Y 
) const
inline
Returns
the linear index for the given source coordinates.

◆ GetSourceCoords() [1/3]

FVector2i UE::Geometry::FImageTile::GetSourceCoords ( const FVector2i LocalCoords) const
inline
Returns
the source image's coordinates given local coordinates into this tile.

◆ GetSourceCoords() [2/3]

FVector2i UE::Geometry::FImageTile::GetSourceCoords ( const int32  X,
const int32  Y 
) const
inline
Returns
the source image's coordinates given local XY coordinates into this tile.

◆ GetSourceCoords() [3/3]

FVector2i UE::Geometry::FImageTile::GetSourceCoords ( const int64  LinearIdx) const
inline
Returns
the source image's coordinates given linear index into this tile.

◆ GetStart()

FVector2i UE::Geometry::FImageTile::GetStart ( ) const
inline

◆ GetWidth()

int32 UE::Geometry::FImageTile::GetWidth ( ) const
inline

◆ Num()

int64 UE::Geometry::FImageTile::Num ( ) const
inline

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