![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ISMPoolComponent.h>
Inheritance diagram for UISMPoolComponent:Public Types | |
| using | FMeshGroupId = int32 |
| using | FMeshId = int32 |
Friends | |
| class | UISMPoolDebugDrawComponent |
UISMPoolComponent. Component that manages a pool of ISM components in order to allow multiple client components that use the same meshes to the share ISMs.
| using UISMPoolComponent::FMeshGroupId = int32 |
| using UISMPoolComponent::FMeshId = int32 |
| UISMPoolComponent::FMeshId UISMPoolComponent::AddMeshToGroup | ( | FMeshGroupId | MeshGroupId, |
| const FISMPoolStaticMeshInstance & | MeshInstance, | ||
| int32 | InstanceCount, | ||
| TArrayView< const float > | CustomDataFloats | ||
| ) |
Add a static mesh for a mesh group
| bool UISMPoolComponent::BatchUpdateInstanceCustomData | ( | FMeshGroupId | MeshGroupId, |
| int32 | CustomFloatIndex, | ||
| float | CustomFloatValue | ||
| ) |
Update a single slot of custom instance data for all instances in a mesh group
| bool UISMPoolComponent::BatchUpdateInstancesTransforms | ( | FMeshGroupId | MeshGroupId, |
| FMeshId | MeshId, | ||
| int32 | StartInstanceIndex, | ||
| const TArray< FTransform > & | NewInstancesTransforms, | ||
| bool | bWorldSpace = false, |
||
| bool | bMarkRenderStateDirty = false, |
||
| bool | bTeleport = false |
||
| ) |
| bool UISMPoolComponent::BatchUpdateInstancesTransforms | ( | FMeshGroupId | MeshGroupId, |
| FMeshId | MeshId, | ||
| int32 | StartInstanceIndex, | ||
| TArrayView< const FTransform > | NewInstancesTransforms, | ||
| bool | bWorldSpace = false, |
||
| bool | bMarkRenderStateDirty = false, |
||
| bool | bTeleport = false |
||
| ) |
Update transforms for a mesh group
| UISMPoolComponent::FMeshGroupId UISMPoolComponent::CreateMeshGroup | ( | bool | bAllowPerInstanceRemoval = false | ) |
Create an Mesh group which represent an arbitrary set of mesh with their instance no resources are created until the meshes are added for this group return a mesh group Id used to add and update instances
| void UISMPoolComponent::DestroyMeshGroup | ( | FMeshGroupId | MeshGroupId | ) |
Destroy a mesh group and its associated resources
|
overridevirtual |
| void UISMPoolComponent::PreallocateMeshInstance | ( | const FISMPoolStaticMeshInstance & | MeshInstance | ) |
Preallocate an ISM in the pool. Doing this early for known mesh instance descriptions can reduce the component registration cost of AddMeshToGroup() for newly discovered mesh descriptions.
|
overridevirtual |
| void UISMPoolComponent::UpdateAbsoluteTransforms | ( | const FTransform & | BaseTransform, |
| EUpdateTransformFlags | UpdateTransformFlags, | ||
| ETeleportType | Teleport | ||
| ) |
|
friend |