Actor component that exposes target-definition interaction points at runtime and owns authority-side target state, including registration, enabled flags, cooldowns, busy state, variant overrides, routes, and save ids.
UCLASS(ClassGroup = (InteractionRuntime), meta = (BlueprintSpawnableComponent))
class INTERACTIONFRAMEWORKRUNTIME_API UInteractionRuntimeTargetComponent : public UActorComponent
Members
OnCommandEvent
Fires on the authority when any interaction command event (success, failure, cancel) is relayed through this target.
OnFocusedPointChanged
Fires locally when an interactor focuses, unfocuses, or switches points on this target.
ClearGameOwnedInteractionTargetSaveId
Clears a runtime-assigned game-owned target save id.
ClearPointVariantOverride
Clears a manual variant override, reverting to automatic selection (if configured).
ClearSavedPointVariantOverride
Clears a saved point variant override and reverts to automatic/default selection.
GetResolvedVariant
Returns the currently resolved variant ID for the given point (after override and automatic selection).
GetTargetReferenceId
Returns the authored stable reference id for cross-target interactions.
IsPointEnabledByIndex
Returns true if the point at the given index is currently enabled.
IsTargetEnabled
Returns true if this target is globally enabled (visible to all interactors).
RefreshRuntimeStateFromDefinition
Reloads the Definition asset and rebuilds all internal point/variant/command maps.
SetGameOwnedInteractionTargetSaveId
Sets a stable game-owned save id for persistent runtime-spawned targets.
IsReplicatedLayoutCompatible
Returns whether the target component replicated layout matches the current definition layout.
SetPointVariant
Sets the active variant override for a point on this target component.
Definition
Target definition asset that provides authored points, variants, commands, requirements, and UI settings.
Point Bindings
Actor-instance bindings from authored point ids to component/socket anchors.
Persistent Disabled Commands
Replicated disabled commands that are tracked outside the active shared command layout.
Replicated Command Layout Hash
Replicated hash used to verify client command layout compatibility.
Allowed Instigator Actors
Replicated actors allowed to act as instigators for this target.
Multi Participant Routes
Replicated shared-route states for active multi-participant interactions.
Auto Mark Dirty On Owner Movement
Automatically marks cached target location data dirty when the owning actor moves. Disable only for stationary targets or custom movement handling.
Use Cases
- Add to actors that expose authored interaction points.
- Configure in Blueprint defaults for designer-authored interaction actors.
Notes
- This is a runtime component, not an editor-only helper.
- Shared target state is owned by the authority path.