Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FPrimitiveInstanceDataManager
Description
Called by the corresponding function in the owner UPrimitiveComponent Because of the multifarious ways the engine shoves data into the properties it is possible for the count to get out of sync. Also at this point we may assume that we have no idea of the state of individual members. Thus, this function will reset tracking state to force a full update as well as, conditionally - if the counts are mismatched - reset the ID mapping.
| Name | OnRegister |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/InstancedStaticMesh/ISMInstanceDataManager.h |
| Include Path | #include "InstancedStaticMesh/ISMInstanceDataManager.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstancedStaticMesh/ISMInstanceDataManager.cpp |
void OnRegister
(
int32 InNumInstances
)