Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/GeometryCollection
References
| Module | GeometryCollectionEngine |
| Header | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionEngineConversion.h |
| Include | #include "GeometryCollection/GeometryCollectionEngineConversion.h" |
Syntax
class FGeometryCollectionEngineConversion
Remarks
The public interface to this module
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AppendAutoInstanceMeshIndices
(
UGeometryCollection* GeometryCollectionObject, |
Appends instanced mesh indices | |
| void | AppendGeometryCollection
(
const UGeometryCollection* SourceGeometryCollection, |
Appends a GeometryCollection to a GeometryCollectionComponent. | |
| bool | AppendGeometryCollection
(
const FGeometryCollection* SourceGeometryCollection, |
Appends a GeometryCollection to another GeometryCollection. | |
| void | AppendGeometryCollection
(
const UGeometryCollection* SourceGeometryCollection, |
Appends a GeometryCollection to a GeometryCollectionComponent. | |
| void | AppendGeometryCollectionInstancedMeshes
(
const UGeometryCollection* SourceGeometryCollectionObject, |
||
| int32 | AppendGeometryCollectionMaterials
(
const UGeometryCollection* SourceGeometryCollection, |
||
| void | AppendGeometryCollectionSource
(
const FGeometryCollectionSource& GeometryCollectionSource, |
||
| void | AppendGeometryCollectionSource
(
const FGeometryCollectionSource& GeometryCollectionSource, |
Appends a GeometryCollectionSource to a GeometryCollection | |
| int32 | AppendMaterials
(
const TArray< UMaterialInterface* >& Materials, |
Appends materials to a GeometryCollectionComponent. | |
| void | AppendMeshDescription
(
const FMeshDescription* MeshDescription, |
Appends a MeshDescription to a GeometryCollection. | |
| void | AppendSkeletalMesh
(
const USkeletalMesh* SkeletalMesh, |
Appends a skeletal mesh to a GeometryCollectionComponent. | |
| bool | AppendSkeletalMesh
(
const USkeletalMesh* SkeletalMesh, |
Appends a skeletal mesh to a GeometryCollection. | |
| int32 | AppendSkeletalMeshMaterials
(
const USkeletalMesh* SkeletalMesh, |
Appends a skeletal mesh to a GeometryCollectionComponent. | |
| void | AppendSkeleton
(
const USkeleton* Skeleton, |
Appends a skeleton mesh to a GeometryCollection. | |
| bool | AppendStaticMesh
(
const UStaticMesh* StaticMesh, |
Appends a static mesh to a GeometryCollectionComponent. | |
| 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 ... | |
| void | AppendStaticMesh
(
const UStaticMesh* StaticMesh, |
Appends a static mesh to a GeometryCollectionComponent. | |
| void | ConvertActorToGeometryCollection
(
const AActor* Actor, |
Converts an actor to an FManagedArrayCollection, and arrays of materials and instanced meshes | |
| void | ConvertActorToGeometryCollection
(
const AActor* Actor, |
||
| void | ConvertCollectionToSkeleton
(
const FManagedArrayCollection& InCollection, |
Converts an FManagedArrayCollection to a USkeleton | |
| void | ConvertGeometryCollectionToGeometryCollection
(
const TObjectPtr< UGeometryCollection > InGeometryCollectionAssetPtr, |
||
| void | ConvertGeometryCollectionToGeometryCollection
(
const TObjectPtr< UGeometryCollection > InGeometryCollectionAssetPtr, |
Converts a UGeometryCollection asset to an FManagedArrayCollection, and arrays of materials and instanced meshes | |
| void | ConvertStaticMeshToGeometryCollection
(
const TObjectPtr< UStaticMesh > StaticMesh, |
Converts a StaticMesh to a GeometryCollection | |
| void | ConvertStaticMeshToGeometryCollection
(
const TObjectPtr< UStaticMesh > StaticMesh, |
||
| void | ConvertStaticMeshToGeometryCollection
(
const TObjectPtr< UStaticMesh > StaticMesh, |
||
| void | GetMaterialsFromInstances
(
const TArray< TObjectPtr< UMaterialInterface > >& MaterialInstances, |
Utility function to convert an array of material instances to an array of material | |
| 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. | |
| const FSkeletalMeshLODRenderData * | GetSkeletalMeshLOD
(
const USkeletalMesh* SkeletalMesh, |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FSkeletalMeshToCollectionConversionParameters |