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 | |
|---|---|---|---|
| bool | bAllowPerInstanceRemoval | Flag for whether we allow removal of instances when transform scale is set to zero. | |
| TArray< FGeometryCollectionMeshInfo > | MeshInfos | Array of allocated mesh infos. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FMeshId | AddMesh
(
const FGeometryCollectionStaticMeshInstance& MeshInstance, |
Adds a new mesh with instance count. | |
| void | BatchUpdateInstanceCustomData
(
FGeometryCollectionISMPool& ISMPool, |
||
| 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 |