Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include | #include "SmartObjectSubsystem.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectSubsystem.cpp |
void BindComponentToSimulationInternal
(
USmartObjectComponent & SmartObjectComponent,
FSmartObjectRuntime & SmartObjectRuntime
) const
Remarks
Binds a smartobject component to an existing instance in the simulation and notifies that it has been bound. If a given SmartObjectComponent has not been registered yet an ensure will trigger.
Parameters
| Name | Description |
|---|---|
| SmartObjectComponent | The component to add to the simulation and for which a runtime instance must exist |
| SmartObjectRuntime | Associated runtime structure |