Returns a local point variant override for this interactor, when one exists.
Use this read path to get local point variant override from UInteractionRuntimeInteractorComponent. Check the return value before using OutVariantId.
UFUNCTION(BlueprintPure, Category = "InteractionRuntime|Variants")
bool GetLocalPointVariantOverride(FInteractionRuntimeTargetId TargetId, FInteractionRuntimePointId PointId, FInteractionRuntimeVariantId& OutVariantId) const;
Parameters
Inputs
TargetId
Runtime target id to query or modify.
PointId
Interaction point id to query or modify.
Outputs
OutVariantId
Receives the resolved variant id.
Return Value
bool
Returns a local point variant override for this interactor, when one exists.
Use Cases
- Read local point variant override and handle the missing-data case explicitly.