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

#include <GeometryCollectionObject.h>

Public Member Functions

 FGeometryCollectionSource ()
 
 FGeometryCollectionSource (const FSoftObjectPath &SourceSoftObjectPath, const FTransform &ComponentTransform, const TArray< TObjectPtr< UMaterialInterface > > &SourceMaterials, bool bSplitComponents=false, bool bSetInternalFromMaterialIndex=false)
 

Public Attributes

FSoftObjectPath SourceGeometryObject
 
FTransform LocalTransform
 
TArray< TObjectPtr< UMaterialInterface > > SourceMaterial
 
TArray< floatInstanceCustomData
 
bool bAddInternalMaterials = true
 
bool bSplitComponents = false
 
bool bSetInternalFromMaterialIndex = false
 

Constructor & Destructor Documentation

◆ FGeometryCollectionSource() [1/2]

FGeometryCollectionSource::FGeometryCollectionSource ( )
inline

◆ FGeometryCollectionSource() [2/2]

FGeometryCollectionSource::FGeometryCollectionSource ( const FSoftObjectPath SourceSoftObjectPath,
const FTransform ComponentTransform,
const TArray< TObjectPtr< UMaterialInterface > > &  SourceMaterials,
bool  bSplitComponents = false,
bool  bSetInternalFromMaterialIndex = false 
)
inline

Member Data Documentation

◆ bAddInternalMaterials

bool FGeometryCollectionSource::bAddInternalMaterials = true

(Legacy) Whether source materials will be duplicated to create new slots for internal materials, or existing odd materials will be considered internal. (For non-Geometry Collection inputs only.)

◆ bSetInternalFromMaterialIndex

bool FGeometryCollectionSource::bSetInternalFromMaterialIndex = false

Whether to set the 'internal' flag for faces with odd-numbered materials slots.

◆ bSplitComponents

bool FGeometryCollectionSource::bSplitComponents = false

Whether individual source mesh components should be split into separate pieces of geometry based on mesh connectivity. If checked, triangles that are not topologically connected will be assigned separate bones. (For non-Geometry Collection inputs only.)

◆ InstanceCustomData

TArray<float> FGeometryCollectionSource::InstanceCustomData

◆ LocalTransform

FTransform FGeometryCollectionSource::LocalTransform

◆ SourceGeometryObject

FSoftObjectPath FGeometryCollectionSource::SourceGeometryObject

◆ SourceMaterial

TArray<TObjectPtr<UMaterialInterface> > FGeometryCollectionSource::SourceMaterial

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