Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine
The public interface to this module
| Name | FGeometryCollectionEngineConversion |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionEngineConversion.h |
| Include Path | #include "GeometryCollection/GeometryCollectionEngineConversion.h" |
Syntax
class FGeometryCollectionEngineConversion
Structs
| Name | Remarks |
|---|---|
| FSkeletalMeshToCollectionConversionParameters |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AppendAutoInstanceMeshIndices
(
UGeometryCollection* GeometryCollectionObject, |
Appends instanced mesh indices | GeometryCollection/GeometryCollectionEngineConversion.h | |
static void AppendGeometryCollection
(
const UGeometryCollection* SourceGeometryCollection, |
Appends a GeometryCollection to a GeometryCollectionComponent. | GeometryCollection/GeometryCollectionEngineConversion.h | |
static bool AppendGeometryCollection
(
const FGeometryCollection* SourceGeometryCollection, |
Appends a GeometryCollection to another GeometryCollection. | GeometryCollection/GeometryCollectionEngineConversion.h | |
static void AppendGeometryCollection
(
const UGeometryCollection* SourceGeometryCollection, |
Appends a GeometryCollection to a GeometryCollectionComponent. | GeometryCollection/GeometryCollectionEngineConversion.h | |
static void AppendGeometryCollectionInstancedMeshes
(
const UGeometryCollection* SourceGeometryCollectionObject, |
GeometryCollection/GeometryCollectionEngineConversion.h | ||
static int32 AppendGeometryCollectionMaterials
(
const UGeometryCollection* SourceGeometryCollection, |
GeometryCollection/GeometryCollectionEngineConversion.h | ||
static void AppendGeometryCollectionSource
(
const FGeometryCollectionSource& GeometryCollectionSource, |
GeometryCollection/GeometryCollectionEngineConversion.h | ||
static void AppendGeometryCollectionSource
(
const FGeometryCollectionSource& GeometryCollectionSource, |
Appends a GeometryCollectionSource to a GeometryCollection | GeometryCollection/GeometryCollectionEngineConversion.h | |
static bool AppendGeometryCollectionSourceNoMaterial
(
const FGeometryCollectionSource& GeometryCollectionSource, |
Appends a GeometryCollectionSource to a GeometryCollection ignoring the materials this is meant to be used by the AppendGeometryCollectionSource variants | GeometryCollection/GeometryCollectionEngineConversion.h | |
static int32 AppendMaterials
(
const TArray< UMaterialInterface* >& Materials, |
Appends materials to a GeometryCollectionComponent. | GeometryCollection/GeometryCollectionEngineConversion.h | |
static void AppendMeshDescription
(
const FMeshDescription* MeshDescription, |
Appends a MeshDescription to a GeometryCollection. | GeometryCollection/GeometryCollectionEngineConversion.h | |
static void AppendSkeletalMesh
(
const USkeletalMesh* SkeletalMesh, |
Appends a skeletal mesh to a GeometryCollectionComponent. | GeometryCollection/GeometryCollectionEngineConversion.h | |
static bool AppendSkeletalMesh
(
const USkeletalMesh* SkeletalMesh, |
Appends a skeletal mesh to a GeometryCollection. | GeometryCollection/GeometryCollectionEngineConversion.h | |
static int32 AppendSkeletalMeshMaterials
(
const USkeletalMesh* SkeletalMesh, |
Appends a skeletal mesh to a GeometryCollectionComponent. | GeometryCollection/GeometryCollectionEngineConversion.h | |
static void AppendSkeleton
(
const USkeleton* Skeleton, |
Appends a skeleton mesh to a GeometryCollection. | GeometryCollection/GeometryCollectionEngineConversion.h | |
static bool AppendStaticMesh
(
const UStaticMesh* StaticMesh, |
Appends a static mesh to a GeometryCollectionComponent. | GeometryCollection/GeometryCollectionEngineConversion.h | |
static bool AppendStaticMesh
(
const UStaticMesh* StaticMesh, |
TODO: consider having the below fn return bool, and have a helper that returns the StartMaterialIndex from UGeometryCollection before any materials are actually added, so we can call the AppendMaterial function after, and not need to use its return value ... | GeometryCollection/GeometryCollectionEngineConversion.h | |
static void AppendStaticMesh
(
const UStaticMesh* StaticMesh, |
Appends a static mesh to a GeometryCollectionComponent. | GeometryCollection/GeometryCollectionEngineConversion.h | |
static void ConvertActorToGeometryCollection
(
const AActor* Actor, |
Converts an actor to an FManagedArrayCollection, and arrays of materials and instanced meshes | GeometryCollection/GeometryCollectionEngineConversion.h | |
static void ConvertActorToGeometryCollection
(
const AActor* Actor, |
GeometryCollection/GeometryCollectionEngineConversion.h | ||
static void ConvertCollectionToSkeleton
(
const FManagedArrayCollection& InCollection, |
Converts an FManagedArrayCollection to a USkeleton | GeometryCollection/GeometryCollectionEngineConversion.h | |
static void ConvertGeometryCollectionToGeometryCollection
(
const TObjectPtr< UGeometryCollection > InGeometryCollectionAssetPtr, |
GeometryCollection/GeometryCollectionEngineConversion.h | ||
static void ConvertGeometryCollectionToGeometryCollection
(
const TObjectPtr< UGeometryCollection > InGeometryCollectionAssetPtr, |
Converts a UGeometryCollection asset to an FManagedArrayCollection, and arrays of materials and instanced meshes | GeometryCollection/GeometryCollectionEngineConversion.h | |
static void ConvertStaticMeshToGeometryCollection
(
const TObjectPtr< UStaticMesh > StaticMesh, |
Converts a StaticMesh to a GeometryCollection | GeometryCollection/GeometryCollectionEngineConversion.h | |
static void ConvertStaticMeshToGeometryCollection
(
const TObjectPtr< UStaticMesh > StaticMesh, |
GeometryCollection/GeometryCollectionEngineConversion.h | ||
static void ConvertStaticMeshToGeometryCollection
(
const TObjectPtr< UStaticMesh > StaticMesh, |
GeometryCollection/GeometryCollectionEngineConversion.h | ||
static void GetMaterialsFromInstances
(
const TArray< TObjectPtr< UMaterialInterface > >& MaterialInstances, |
Utility function to convert an array of material instances to an array of material | GeometryCollection/GeometryCollectionEngineConversion.h | |
static FMeshDescription * GetMaxResMeshDescriptionWithNormalsAndTangents
(
const UStaticMesh* StaticMesh |
Get a HiRes (or LOD 0 if no HiRes available) MeshDescription for the given static mesh, and make sure it includes normals and tangents. | GeometryCollection/GeometryCollectionEngineConversion.h | |
static const FSkeletalMeshLODRenderData * GetSkeletalMeshLOD
(
const USkeletalMesh* SkeletalMesh, |
GeometryCollection/GeometryCollectionEngineConversion.h |