UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
GeometryCollection::Facades::FCollectionMeshFacade Class Reference

#include <CollectionMeshFacade.h>

+ Inheritance diagram for GeometryCollection::Facades::FCollectionMeshFacade:

Public Member Functions

CHAOS_API FCollectionMeshFacade (FManagedArrayCollection &InCollection)
 
CHAOS_API FCollectionMeshFacade (const FManagedArrayCollection &InCollection)
 
CHAOS_API bool IsValid () const
 
CHAOS_API void DefineSchema ()
 
CHAOS_API const TArray< int32GetVertexIndices (int32 BoneIdx) const
 
CHAOS_API const TArrayView< const FVector3fGetVertexPositions (int32 BoneIdx) const
 
CHAOS_API const TArray< int32GetFaceIndices (int32 BoneIdx) const
 
CHAOS_API void BakeTransform (int32 TransformIdx, const FTransform &InTransform)
 
CHAOS_API const TArray< int32GetGeometryGroupIndexArray () const
 
- Public Member Functions inherited from GeometryCollection::Facades::FCollectionUVFacade
 FCollectionUVFacade (FManagedArrayCollection &InCollection)
 
 FCollectionUVFacade (const FManagedArrayCollection &InCollection)
 
bool IsValid () const
 
void DefineSchema ()
 
bool SetNumUVLayers (int32 UVLayers)
 
int32 GetNumUVLayers () const
 
const TManagedArray< FVector2f > & GetUVLayer (int32 UVLayer) const
 
TManagedArray< FVector2f > & ModifyUVLayer (int32 UVLayer)
 
const TManagedArray< FVector2f > * FindUVLayer (int32 UVLayer) const
 
TManagedArray< FVector2f > * FindUVLayer (int32 UVLayer)
 
FVector2fModifyUV (int32 VertexIdx, int32 LayerIdx)
 
const FVector2fGetUV (int32 VertexIdx, int32 LayerIdx) const
 
void SetUV (int32 VertexIdx, int32 LayerIdx, const FVector2f &UV)
 
GeometryCollection::UV::FUVLayers FindActiveUVLayers ()
 
GeometryCollection::UV::FConstUVLayers FindActiveUVLayers () const
 
void SetUVs (int32 VertexIdx, TArrayView< const FVector2f > UVs)
 

Public Attributes

TManagedArrayAccessor< int32TransformToGeometryIndexAttribute
 
TManagedArrayAccessor< int32TransformIndexAttribute
 
TManagedArrayAccessor< FVector3fVertexAttribute
 
TManagedArrayAccessor< FVector3fTangentUAttribute
 
TManagedArrayAccessor< FVector3fTangentVAttribute
 
TManagedArrayAccessor< FVector3fNormalAttribute
 
TManagedArrayAccessor< FLinearColorColorAttribute
 
TManagedArrayAccessor< int32BoneMapAttribute
 
TManagedArrayAccessor< int32VertexStartAttribute
 
TManagedArrayAccessor< int32VertexCountAttribute
 
TManagedArrayAccessor< FIntVectorIndicesAttribute
 
TManagedArrayAccessor< boolVisibleAttribute
 
TManagedArrayAccessor< int32MaterialIndexAttribute
 
TManagedArrayAccessor< int32MaterialIDAttribute
 
TManagedArrayAccessor< boolInternalAttribute
 
TManagedArrayAccessor< int32FaceStartAttribute
 
TManagedArrayAccessor< int32FaceCountAttribute
 

Constructor & Destructor Documentation

◆ FCollectionMeshFacade() [1/2]

GeometryCollection::Facades::FCollectionMeshFacade::FCollectionMeshFacade ( FManagedArrayCollection InCollection)

◆ FCollectionMeshFacade() [2/2]

GeometryCollection::Facades::FCollectionMeshFacade::FCollectionMeshFacade ( const FManagedArrayCollection InCollection)

Member Function Documentation

◆ BakeTransform()

void GeometryCollection::Facades::FCollectionMeshFacade::BakeTransform ( int32  TransformIdx,
const FTransform InTransform 
)

Returns the vertex indices of the face for the bone Bakes the transforms into the vertex positions and sets the bone transforms to identity

◆ DefineSchema()

void GeometryCollection::Facades::FCollectionMeshFacade::DefineSchema ( )

Add the necessary attributes if they are missing

◆ GetFaceIndices()

const TArray< int32 > GeometryCollection::Facades::FCollectionMeshFacade::GetFaceIndices ( int32  BoneIdx) const

Returns the face indices for the bone

◆ GetGeometryGroupIndexArray()

const TArray< int32 > GeometryCollection::Facades::FCollectionMeshFacade::GetGeometryGroupIndexArray ( ) const

◆ GetVertexIndices()

const TArray< int32 > GeometryCollection::Facades::FCollectionMeshFacade::GetVertexIndices ( int32  BoneIdx) const

Returns the vertex indicies for the bone

◆ GetVertexPositions()

const TArrayView< const FVector3f > GeometryCollection::Facades::FCollectionMeshFacade::GetVertexPositions ( int32  BoneIdx) const

Returns the vertex positions for the bone in bone space

◆ IsValid()

bool GeometryCollection::Facades::FCollectionMeshFacade::IsValid ( ) const

returns true if all the necessary attributes are present if not then the API can be used to create

Member Data Documentation

◆ BoneMapAttribute

TManagedArrayAccessor<int32> GeometryCollection::Facades::FCollectionMeshFacade::BoneMapAttribute

◆ ColorAttribute

TManagedArrayAccessor<FLinearColor> GeometryCollection::Facades::FCollectionMeshFacade::ColorAttribute

◆ FaceCountAttribute

TManagedArrayAccessor<int32> GeometryCollection::Facades::FCollectionMeshFacade::FaceCountAttribute

◆ FaceStartAttribute

TManagedArrayAccessor<int32> GeometryCollection::Facades::FCollectionMeshFacade::FaceStartAttribute

◆ IndicesAttribute

TManagedArrayAccessor<FIntVector> GeometryCollection::Facades::FCollectionMeshFacade::IndicesAttribute

◆ InternalAttribute

TManagedArrayAccessor<bool> GeometryCollection::Facades::FCollectionMeshFacade::InternalAttribute

◆ MaterialIDAttribute

TManagedArrayAccessor<int32> GeometryCollection::Facades::FCollectionMeshFacade::MaterialIDAttribute

◆ MaterialIndexAttribute

TManagedArrayAccessor<int32> GeometryCollection::Facades::FCollectionMeshFacade::MaterialIndexAttribute

◆ NormalAttribute

TManagedArrayAccessor<FVector3f> GeometryCollection::Facades::FCollectionMeshFacade::NormalAttribute

◆ TangentUAttribute

TManagedArrayAccessor<FVector3f> GeometryCollection::Facades::FCollectionMeshFacade::TangentUAttribute

◆ TangentVAttribute

TManagedArrayAccessor<FVector3f> GeometryCollection::Facades::FCollectionMeshFacade::TangentVAttribute

◆ TransformIndexAttribute

TManagedArrayAccessor<int32> GeometryCollection::Facades::FCollectionMeshFacade::TransformIndexAttribute

◆ TransformToGeometryIndexAttribute

TManagedArrayAccessor<int32> GeometryCollection::Facades::FCollectionMeshFacade::TransformToGeometryIndexAttribute

◆ VertexAttribute

TManagedArrayAccessor<FVector3f> GeometryCollection::Facades::FCollectionMeshFacade::VertexAttribute

◆ VertexCountAttribute

TManagedArrayAccessor<int32> GeometryCollection::Facades::FCollectionMeshFacade::VertexCountAttribute

◆ VertexStartAttribute

TManagedArrayAccessor<int32> GeometryCollection::Facades::FCollectionMeshFacade::VertexStartAttribute

◆ VisibleAttribute

TManagedArrayAccessor<bool> GeometryCollection::Facades::FCollectionMeshFacade::VisibleAttribute

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