Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine
A pool of ISMs.
| Name | FGeometryCollectionISMPool |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionISMPoolComponent.h |
| Include Path | #include "GeometryCollection/GeometryCollectionISMPoolComponent.h" |
Syntax
struct FGeometryCollectionISMPool
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGeometryCollectionISMPool() |
GeometryCollection/GeometryCollectionISMPoolComponent.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FISMIndex | int32 | GeometryCollection/GeometryCollectionISMPoolComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCachedKeepAlive | bool | Cached state of lifecycle cvars from the last Tick() | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
| bCachedRecycle | bool | GeometryCollection/GeometryCollectionISMPoolComponent.h | ||
| bDisableBoundsAndTransformUpdate | bool | Whether we force ISMs to use parent bounds and disable transform updates. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
| FreeList | TArray< int32 > | Free list of indices in ISMs that are empty. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
| FreeListISM | TArray< int32 > | Free list of indices in ISMs that have registered ISM components. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
| ISMs | TArray< FGeometryCollectionISM > | Array of ISM objects. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
| MeshToISMIndex | TMap< FGeometryCollectionStaticMeshInstance, FISMIndex > | Mapping from mesh description to ISMs array slot. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
| PrellocationQueue | TSet< FGeometryCollectionStaticMeshInstance > | Set of ISM descriptions that we would like to preallocate. | GeometryCollection/GeometryCollectionISMPoolComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
PRAGMA_DISABLE_DEPRECATION_WARNINGSFGeometryCollectionMeshInfo AddInstancesToISM
(
UGeometryCollectionISMPoolComponent* OwningComponent, |
Add instances to ISM and return a mesh info handle. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
void BatchUpdateInstanceCustomData
(
FGeometryCollectionMeshInfo const& MeshInfo, |
GeometryCollection/GeometryCollectionISMPoolComponent.h | ||
bool BatchUpdateInstancesTransforms
(
FGeometryCollectionMeshInfo& MeshInfo, |
Update ISM contents. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
void Clear() |
Clear all ISM components and associated data. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
PRAGMA_DISABLE_DEPRECATION_WARNINGSFISMIndex GetOrAddISM
(
UGeometryCollectionISMPoolComponent* OwningComponent, |
Find or add an ISM and return an ISM index handle. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
PRAGMA_DISABLE_DEPRECATION_WARNINGS void ProcessPreallocationRequests
(
UGeometryCollectionISMPoolComponent* OwningComponent, |
Process the preallocation queue. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
void RemoveInstancesFromISM
(
const FGeometryCollectionMeshInfo& MeshInfo |
Remove instances from an ISM. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
void RemoveISM
(
FISMIndex ISMIndex, |
Remove an ISM. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
void RequestPreallocateMeshInstance
(
const FGeometryCollectionStaticMeshInstance& MeshInstances |
Add an ISM description to the preallocation queue. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
PRAGMA_DISABLE_DEPRECATION_WARNINGS void Tick
(
UGeometryCollectionISMPoolComponent* OwningComponent |
Tick maintenance of free list and preallocation. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
void UpdateAbsoluteTransforms
(
const FTransform& BaseTransform, |
GeometryCollection/GeometryCollectionISMPoolComponent.h |