You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Changed default value for entrance annotation ground check to true - Exposed common function to return preview validation filter - Added user capsule parameters for into the validation filter (can be optionally tied to nav params) - Display priority on the entrance slot if other than normal - Added option to FindEntranceLocationForSlot() to validate slot and entrance location using physics overlap check #jira UE-174418 #rb Yoan.StAmant #preflight 64197ec937382f6bf589eecf [CL 24730129 by mikko mononen in ue5-main branch]
31 lines
1003 B
C
31 lines
1003 B
C
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "SmartObjectAnnotation.h"
|
|
#include "SmartObjectSlotLinkAnnotation.generated.h"
|
|
|
|
/**
|
|
* Annotation to allow to find slots based on a Gameplay Tag.
|
|
* This can be used to reuse same behavior on different slots, allowing to use a tag to identify a related slot.
|
|
*/
|
|
USTRUCT(meta = (DisplayName="Slot Link"))
|
|
struct SMARTOBJECTSMODULE_API FSmartObjectSlotLinkAnnotation : public FSmartObjectSlotAnnotation
|
|
{
|
|
GENERATED_BODY()
|
|
virtual ~FSmartObjectSlotLinkAnnotation() override {}
|
|
|
|
#if WITH_EDITOR
|
|
virtual void DrawVisualization(FSmartObjectVisualizationContext& VisContext) const override;
|
|
virtual void DrawVisualizationHUD(FSmartObjectVisualizationContext& VisContext) const override;
|
|
#endif
|
|
|
|
/** Tag to identify this slot. */
|
|
UPROPERTY(EditAnywhere, Category="Default")
|
|
FGameplayTag Tag;
|
|
|
|
/** The slot the annotation points at. */
|
|
UPROPERTY(EditAnywhere, Category="Default")
|
|
FSmartObjectSlotReference LinkedSlot;
|
|
};
|