Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/GeometryCollection
References
| Module | GeometryCollectionEngine |
| Header | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionISMPoolComponent.h |
| Include | #include "GeometryCollection/GeometryCollectionISMPoolComponent.h" |
Syntax
struct FGeometryCollectionMeshGroup
Remarks
A mesh group which is a collection of meshes and their related FGeometryCollectionMeshInfo. We group these with a single handle with the expectation that a client will want to own multiple meshs and release them together.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FGeometryCollectionStaticMeshInstance, FMeshId > | Meshes | Map from mesh instance description to the its index in the MeshInfo array. | |
| TArray< FGeometryCollectionMeshInfo > | MeshInfos | Array of allocated mesh infos. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FMeshId | AddMesh
(
const FGeometryCollectionStaticMeshInstance& MeshInstance, |
Adds a new mesh with instance count. | |
| bool | BatchUpdateInstancesTransforms
(
FGeometryCollectionISMPool& ISMPool, |
Update instance transforms for a group of instances. | |
| bool | BatchUpdateInstancesTransforms
(
FGeometryCollectionISMPool& ISMPool, |
Update instance transforms for a group of instances. | |
| void | RemoveAllMeshes
(
FGeometryCollectionISMPool& ISMPool |
Remove all of our managed meshes and associated instances. |
Typedefs
| Name | Description |
|---|---|
| FMeshId |