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 FGeometryCollectionISMPool
Remarks
A pool of ISMs.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCachedKeepAlive | Cached state of lifecycle cvars from the last Tick() | |
| bool | bCachedRecycle | ||
| bool | bDisableBoundsAndTransformUpdate | Whether we force ISMs to use parent bounds and disable transform updates. | |
| TArray< int32 > | FreeList | Free list of indices in ISMs that are empty. | |
| TArray< int32 > | FreeListISM | Free list of indices in ISMs that have registered ISM components. | |
| TArray< FGeometryCollectionISM > | ISMs | Array of ISM objects. | |
| TMap< FGeometryCollectionStaticMeshInstance, FISMIndex > | MeshToISMIndex | Mapping from mesh description to ISMs array slot. | |
| TSet< FGeometryCollectionStaticMeshInstance > | PrellocationQueue | Set of ISM descriptions that we would like to preallocate. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FGeometryCollectionMeshInfo | AddInstancesToISM
(
UGeometryCollectionISMPoolComponent* OwningComponent, |
Add instances to ISM and return a mesh info handle. | |
| void | BatchUpdateInstanceCustomData
(
FGeometryCollectionMeshInfo const& MeshInfo, |
||
| bool | BatchUpdateInstancesTransforms
(
FGeometryCollectionMeshInfo& MeshInfo, |
Update ISM contents. | |
| void | Clear () |
Clear all ISM components and associated data. | |
| FISMIndex | GetOrAddISM
(
UGeometryCollectionISMPoolComponent* OwningComponent, |
Find or add an ISM and return an ISM index handle. | |
| void | ProcessPreallocationRequests
(
UGeometryCollectionISMPoolComponent* OwningComponent, |
Process the preallocation queue. | |
| void | RemoveInstancesFromISM
(
const FGeometryCollectionMeshInfo& MeshInfo |
Remove instances from an ISM. | |
| void | Remove an ISM. | ||
| void | RequestPreallocateMeshInstance
(
const FGeometryCollectionStaticMeshInstance& MeshInstances |
Add an ISM description to the preallocation queue. | |
| void | Tick
(
UGeometryCollectionISMPoolComponent* OwningComponent |
Tick maintenance of free list and preallocation. | |
| void | UpdateAbsoluteTransforms
(
const FTransform& BaseTransform, |
Typedefs
| Name | Description |
|---|---|
| FISMIndex |