Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine
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.
| Name | FGeometryCollectionMeshGroup |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionISMPoolComponent.h |
| Include Path | #include "GeometryCollection/GeometryCollectionISMPoolComponent.h" |
Syntax
struct FGeometryCollectionMeshGroup
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FMeshId | int32 | GeometryCollection/GeometryCollectionISMPoolComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAllowPerInstanceRemoval | bool | Flag for whether we allow removal of instances when transform scale is set to zero. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
| MeshInfos | TArray< FGeometryCollectionMeshInfo > | Array of allocated mesh infos. | GeometryCollection/GeometryCollectionISMPoolComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMeshId AddMesh
(
const FGeometryCollectionStaticMeshInstance& MeshInstance, |
Adds a new mesh with instance count. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
void BatchUpdateInstanceCustomData
(
FGeometryCollectionISMPool& ISMPool, |
GeometryCollection/GeometryCollectionISMPoolComponent.h | ||
bool BatchUpdateInstancesTransforms
(
FGeometryCollectionISMPool& ISMPool, |
Update instance transforms for a group of instances. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
void RemoveAllMeshes
(
FGeometryCollectionISMPool& ISMPool |
Remove all of our managed meshes and associated instances. | GeometryCollection/GeometryCollectionISMPoolComponent.h |