![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GeometryCollectionISMPoolComponent.h>
Public Types | |
| using | FISMIndex = int32 |
A pool of ISMs.
| FGeometryCollectionISMPool::FGeometryCollectionISMPool | ( | ) |
| PRAGMA_DISABLE_DEPRECATION_WARNINGS FGeometryCollectionMeshInfo FGeometryCollectionISMPool::AddInstancesToISM | ( | UGeometryCollectionISMPoolComponent * | OwningComponent, |
| const FGeometryCollectionStaticMeshInstance & | MeshInstance, | ||
| int32 | InstanceCount, | ||
| TArrayView< const float > | CustomDataFloats | ||
| ) |
Add instances to ISM and return a mesh info handle.
| void FGeometryCollectionISMPool::BatchUpdateInstanceCustomData | ( | FGeometryCollectionMeshInfo const & | MeshInfo, |
| int32 | CustomFloatIndex, | ||
| float | CustomFloatValue | ||
| ) |
| bool FGeometryCollectionISMPool::BatchUpdateInstancesTransforms | ( | FGeometryCollectionMeshInfo & | MeshInfo, |
| int32 | StartInstanceIndex, | ||
| TArrayView< const FTransform > | NewInstancesTransforms, | ||
| bool | bWorldSpace, | ||
| bool | bMarkRenderStateDirty, | ||
| bool | bTeleport, | ||
| bool | bAllowPerInstanceRemoval | ||
| ) |
Update ISM contents.
| void FGeometryCollectionISMPool::Clear | ( | ) |
Clear all ISM components and associated data.
| PRAGMA_DISABLE_DEPRECATION_WARNINGS FGeometryCollectionISMPool::FISMIndex FGeometryCollectionISMPool::GetOrAddISM | ( | UGeometryCollectionISMPoolComponent * | OwningComponent, |
| const FGeometryCollectionStaticMeshInstance & | MeshInstance, | ||
| bool & | bOutISMCreated | ||
| ) |
Find or add an ISM and return an ISM index handle.
| PRAGMA_DISABLE_DEPRECATION_WARNINGS void FGeometryCollectionISMPool::ProcessPreallocationRequests | ( | UGeometryCollectionISMPoolComponent * | OwningComponent, |
| int32 | MaxPreallocations | ||
| ) |
Process the preallocation queue. Processing is timesliced so that only some of the queue will be processed in every call.
| void FGeometryCollectionISMPool::RemoveInstancesFromISM | ( | const FGeometryCollectionMeshInfo & | MeshInfo | ) |
Remove instances from an ISM.
Remove an ISM.
| void FGeometryCollectionISMPool::RequestPreallocateMeshInstance | ( | const FGeometryCollectionStaticMeshInstance & | MeshInstances | ) |
Add an ISM description to the preallocation queue.
| PRAGMA_DISABLE_DEPRECATION_WARNINGS void FGeometryCollectionISMPool::Tick | ( | UGeometryCollectionISMPoolComponent * | OwningComponent | ) |
Tick maintenance of free list and preallocation.
| void FGeometryCollectionISMPool::UpdateAbsoluteTransforms | ( | const FTransform & | BaseTransform, |
| EUpdateTransformFlags | UpdateTransformFlags, | ||
| ETeleportType | Teleport | ||
| ) |
Free list of indices in ISMs that have registered ISM components.
| TArray<FGeometryCollectionISM> FGeometryCollectionISMPool::ISMs |
Array of ISM objects.
| TMap<FGeometryCollectionStaticMeshInstance, FISMIndex> FGeometryCollectionISMPool::MeshToISMIndex |
Mapping from mesh description to ISMs array slot.
| TSet<FGeometryCollectionStaticMeshInstance> FGeometryCollectionISMPool::PrellocationQueue |
Set of ISM descriptions that we would like to preallocate.