Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
Description
Binds a smart object component to an existing instance in the simulation. If a given SmartObjectComponent has not been registered yet an ensure will trigger.
| Name | BindComponentToSimulation |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include Path | #include "SmartObjectSubsystem.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectSubsystem.cpp |
void BindComponentToSimulation
(
USmartObjectComponent & SmartObjectComponent
)
Parameters
| Name | Remarks |
|---|---|
| SmartObjectComponent | The component to add to the simulation and for which a runtime instance must exist |