![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SMInstanceElementId.h>
Inheritance diagram for FSMInstanceElementIdMap:Static Public Member Functions | |
| static ENGINE_API FSMInstanceElementIdMap & | Get () |
Static Public Member Functions inherited from FGCObject | |
| static COREUOBJECT_API void | StaticInit () |
Additional Inherited Members | |
Public Types inherited from FGCObject | |
| enum class | EFlags : uint32 { None = 0 , RegisterLater = 1 << 0 , AddStableNativeReferencesOnly = 1 << 1 } |
Static Public Attributes inherited from FGCObject | |
| static COREUOBJECT_API UGCObjectReferencer * | GGCObjectReferencer = nullptr |
Mapping between the instance ID used by typed elements and the corresponding instance index on the ISM components. This mapping will be kept up-to-date via the add/remove operations of the ISM components, as well as undo/redo.
| FSMInstanceElementIdMap::~FSMInstanceElementIdMap | ( | ) |
|
overridevirtual |
Pure virtual that must be overloaded by the inheriting class. Use this method to serialize any UObjects contained that you wish to keep around.
| Collector | The collector of referenced objects. |
Implements FGCObject.
| FSMInstanceElementIdMap::DECLARE_MULTICAST_DELEGATE_ThreeParams | ( | FOnInstanceRemapped | , |
| const FSMInstanceElementId & | , | ||
| int32 | , | ||
| int32 | |||
| ) |
Delegate called when a static mesh instance has been relocated within the instances array on its component (eg, because another instance was removed or added to the array).
| FSMInstanceElementIdMap::DECLARE_MULTICAST_DELEGATE_TwoParams | ( | FOnInstancePreRemoval | , |
| const FSMInstanceElementId & | , | ||
| int32 | |||
| ) |
Delegate called when a static mesh instance is about to be removed from the instances array on its component, and the associated ID for a SMInstance element will be unmapped.
| FSMInstanceElementIdMap::DECLARE_MULTICAST_DELEGATE_TwoParams | ( | FOnInstanceRemoved | , |
| const FSMInstanceElementId & | , | ||
| int32 | |||
| ) |
Delegate called when a static mesh instance has been removed from the instances array on its component, and the associated ID for a SMInstance element has been unmapped.
|
static |
|
inlineoverridevirtual |
Overload this method to report a name for your referencer
Implements FGCObject.
| FSMInstanceElementId FSMInstanceElementIdMap::GetSMInstanceElementIdFromSMInstanceId | ( | const FSMInstanceId & | InSMInstanceId, |
| const bool | bAllowCreate = true |
||
| ) |
Given a FSMInstanceId, attempt to convert it into a FSMInstanceElementId.
| TArray< FSMInstanceElementId > FSMInstanceElementIdMap::GetSMInstanceElementIdsForComponent | ( | UInstancedStaticMeshComponent * | InComponent | ) | const |
Given an ISM component, get all FSMInstanceElementId values that are currently mapped for it.
| FSMInstanceId FSMInstanceElementIdMap::GetSMInstanceIdFromSMInstanceElementId | ( | const FSMInstanceElementId & | InSMInstanceElementId | ) |
Given a FSMInstanceElementId, attempt to convert it into a FSMInstanceId.
| void FSMInstanceElementIdMap::OnComponentReplaced | ( | UInstancedStaticMeshComponent * | InOldComponent, |
| UInstancedStaticMeshComponent * | InNewComponent | ||
| ) |
Called when one ISM component is replaced with another, and attempts to copy the ID mapping of the old component to the new.
|
inline |
|
inline |
|
inline |
| void FSMInstanceElementIdMap::SerializeIdMappings | ( | FSMInstanceElementIdMapEntry * | InEntry, |
| FArchive & | Ar | ||
| ) |