UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GeometryCollection::UV Namespace Reference

Classes

struct  TArrayOfAttributesAccessor
 

Typedefs

using FUVLayers = TArrayOfAttributesAccessor< TManagedArray< FVector2f >, 8 >
 
using FConstUVLayers = TArrayOfAttributesAccessor< const TManagedArray< FVector2f >, 8 >
 

Functions

bool HasValidUVs (const FManagedArrayCollection &Collection)
 
void DefineUVSchema (FManagedArrayCollection &Collection)
 
bool SetNumUVLayers (FManagedArrayCollection &Collection, int32 NumLayers)
 
int32 GetNumUVLayers (const FManagedArrayCollection &Collection)
 
const TManagedArray< FVector2f > * FindUVLayer (const FManagedArrayCollection &Collection, int32 UVLayer)
 
TManagedArray< FVector2f > * FindUVLayer (FManagedArrayCollection &Collection, int32 UVLayer)
 
const TManagedArray< FVector2f > & GetUVLayer (const FManagedArrayCollection &Collection, int32 UVLayer)
 
TManagedArray< FVector2f > & ModifyUVLayer (FManagedArrayCollection &Collection, int32 UVLayer)
 
FUVLayers FindActiveUVLayers (FManagedArrayCollection &Collection)
 
FConstUVLayers FindActiveUVLayers (const FManagedArrayCollection &Collection)
 
void SetUVs (FManagedArrayCollection &Collection, int32 VertexIdx, TArrayView< const FVector2f > UVs)
 
void MatchUVLayerCount (FManagedArrayCollection &ToCollection, const FManagedArrayCollection &FromCollection)
 

Variables

const FName UVLayerNames [GeometryCollectionUV::MAX_NUM_UV_CHANNELS]
 
const FName VerticesGroupName = "Vertices"
 

Typedef Documentation

◆ FConstUVLayers

◆ FUVLayers

Function Documentation

◆ DefineUVSchema()

void CHAOS_API GeometryCollection::UV::DefineUVSchema ( FManagedArrayCollection Collection)

◆ FindActiveUVLayers() [1/2]

FConstUVLayers GeometryCollection::UV::FindActiveUVLayers ( const FManagedArrayCollection Collection)
inline

Find the currently-valid UV layers for a given collection

Returns
A temporary accessor for all the active UV layers. Must be recreated if the collection attributes are changed / the number of UV layers is changed.

◆ FindActiveUVLayers() [2/2]

FUVLayers GeometryCollection::UV::FindActiveUVLayers ( FManagedArrayCollection Collection)
inline

Find the currently-valid UV layers for a given collection

Returns
A temporary accessor for all the active UV layers. Must be recreated if the collection attributes are changed / the number of UV layers is changed.

◆ FindUVLayer() [1/2]

const TManagedArray< FVector2f > * GeometryCollection::UV::FindUVLayer ( const FManagedArrayCollection Collection,
int32  UVLayer 
)
inline

◆ FindUVLayer() [2/2]

TManagedArray< FVector2f > * GeometryCollection::UV::FindUVLayer ( FManagedArrayCollection Collection,
int32  UVLayer 
)
inline

◆ GetNumUVLayers()

int32 CHAOS_API GeometryCollection::UV::GetNumUVLayers ( const FManagedArrayCollection Collection)

◆ GetUVLayer()

const TManagedArray< FVector2f > & GeometryCollection::UV::GetUVLayer ( const FManagedArrayCollection Collection,
int32  UVLayer 
)
inline

◆ HasValidUVs()

bool CHAOS_API GeometryCollection::UV::HasValidUVs ( const FManagedArrayCollection Collection)

◆ MatchUVLayerCount()

void GeometryCollection::UV::MatchUVLayerCount ( FManagedArrayCollection ToCollection,
const FManagedArrayCollection FromCollection 
)
inline

◆ ModifyUVLayer()

TManagedArray< FVector2f > & GeometryCollection::UV::ModifyUVLayer ( FManagedArrayCollection Collection,
int32  UVLayer 
)
inline

◆ SetNumUVLayers()

bool CHAOS_API GeometryCollection::UV::SetNumUVLayers ( FManagedArrayCollection Collection,
int32  NumLayers 
)

◆ SetUVs()

void GeometryCollection::UV::SetUVs ( FManagedArrayCollection Collection,
int32  VertexIdx,
TArrayView< const FVector2f UVs 
)
inline

Variable Documentation

◆ UVLayerNames

CHAOS_API const FName GeometryCollection::UV::UVLayerNames
Initial value:
= {
"UVLayer0",
"UVLayer1",
"UVLayer2",
"UVLayer3",
"UVLayer4",
"UVLayer5",
"UVLayer6",
"UVLayer7"
}

◆ VerticesGroupName

CHAOS_API const FName GeometryCollection::UV::VerticesGroupName = "Vertices"