LEAP Documentation 40220
Documentation for the LEAP project
BTTask_GetRandomPointInSphere.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "BehaviorTree/BTTaskNode.h"
7#include "BTTask_GetRandomPointInSphere.generated.h"
8
9UCLASS()
10class PROJECTX_API UBTTask_GetRandomPointInSphere : public UBTTaskNode
11{
12 GENERATED_BODY()
13
15
17 UPROPERTY(Category = Node, EditAnywhere)
18 float Radius = 2000.0f;
20 UPROPERTY(Category = Blackboard, EditAnywhere)
21 struct FBlackboardKeySelector BlackboardKeyOriginQuery;
23 UPROPERTY(Category = Blackboard, EditAnywhere)
24 struct FBlackboardKeySelector BlackboardKeyTargetDestination;
25
26 virtual EBTNodeResult::Type ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory);
27 virtual void InitializeFromAsset(UBehaviorTree& Asset) override;
28 virtual FString GetStaticDescription() const override;
29};
Definition: BTTask_GetRandomPointInSphere.h:11