Navigation
API > API/Runtime > API/Runtime/ISMPool
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.
| Name | UISMPoolComponent |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/ISMPool/Public/ISMPool/ISMPoolComponent.h |
| Include Path | #include "ISMPool/ISMPoolComponent.h" |
Syntax
UCLASS (Meta=(BlueprintSpawnableComponent), MinimalAPI)
class UISMPoolComponent : public USceneComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UISMPoolComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UISMPoolComponent
(
const FObjectInitializer& ObjectInitializer |
ISMPool/ISMPoolComponent.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FMeshGroupId | int32 | ISMPool/ISMPoolComponent.h | |
| FMeshId | int32 | ISMPool/ISMPoolComponent.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MeshGroups | TMap< FMeshGroupId, FISMPoolMeshGroup > | ISMPool/ISMPoolComponent.h | ||
| NextMeshGroupId | uint32 | ISMPool/ISMPoolComponent.h | ||
| Pool | FISMPool | ISMPool/ISMPoolComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMeshId AddMeshToGroup
(
FMeshGroupId MeshGroupId, |
Add a static mesh for a mesh group | ISMPool/ISMPoolComponent.h | |
bool BatchUpdateInstanceCustomData
(
FMeshGroupId MeshGroupId, |
Update a single slot of custom instance data for all instances in a mesh group | ISMPool/ISMPoolComponent.h | |
bool BatchUpdateInstancesTransforms
(
FMeshGroupId MeshGroupId, |
Update transforms for a mesh group | ISMPool/ISMPoolComponent.h | |
bool BatchUpdateInstancesTransforms
(
FMeshGroupId MeshGroupId, |
ISMPool/ISMPoolComponent.h | ||
FMeshGroupId CreateMeshGroup
(
bool bAllowPerInstanceRemoval |
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 | ISMPool/ISMPoolComponent.h | |
void DestroyMeshGroup
(
FMeshGroupId MeshGroupId |
Destroy a mesh group and its associated resources | ISMPool/ISMPoolComponent.h | |
void PreallocateMeshInstance
(
const FISMPoolStaticMeshInstance& MeshInstance |
Preallocate an ISM in the pool. | ISMPool/ISMPoolComponent.h | |
void SetOverrideTransformUpdates
(
bool bOverrideUpdates |
ISMPool/ISMPoolComponent.h | ||
void SetTickablePoolManagement
(
bool bEnablePoolManagement |
ISMPool/ISMPoolComponent.h | ||
void UpdateAbsoluteTransforms
(
const FTransform& BaseTransform, |
ISMPool/ISMPoolComponent.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void TickComponent
(
float DeltaTime, |
ISMPool/ISMPoolComponent.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
ISMPool/ISMPoolComponent.h |