Files
UnrealEngine/Engine/Plugins/AI/MassAI/Source/MassAIBehavior/Public/MassZoneGraphAnnotationFragments.h
2025-05-18 13:04:45 +08:00

32 lines
730 B
C

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "MassEntityTypes.h"
#include "ZoneGraphTypes.h"
#include "MassZoneGraphAnnotationFragments.generated.h"
struct FMassExecutionContext;
USTRUCT()
struct FMassZoneGraphAnnotationFragment : public FMassFragment
{
GENERATED_BODY()
/** Behavior tags for current lane */
UPROPERTY()
FZoneGraphTagMask Tags;
};
USTRUCT()
struct FMassZoneGraphAnnotationVariableTickChunkFragment : public FMassChunkFragment
{
GENERATED_BODY();
/** Update the ticking frequency of the chunk and return if this chunk should be process this frame */
static bool UpdateChunk(FMassExecutionContext& Context);
float TimeUntilNextTick = 0.0f;
bool bInitialized = false;
};