Files
UnrealEngineUWP/Engine/Source/Editor/EnvironmentQueryEditor/Classes/EnvironmentQueryGraphNode_Test.h
Lukasz Furman dcd7345250 unified shared parts of AI editors (nested nodes, copy/paste/drag operations)
[CL 2456137 by Lukasz Furman in Main branch]
2015-02-23 10:30:16 -05:00

29 lines
679 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "EnvironmentQueryGraphNode_Test.generated.h"
UCLASS()
class UEnvironmentQueryGraphNode_Test : public UEnvironmentQueryGraphNode
{
GENERATED_UCLASS_BODY()
/** weight percent for display */
UPROPERTY()
float TestWeightPct;
/** weight is passed as named param */
UPROPERTY()
uint32 bHasNamedWeight : 1;
/** toggles test */
UPROPERTY()
uint32 bTestEnabled : 1;
virtual void InitializeInstance() override;
virtual FText GetNodeTitle(ENodeTitleType::Type TitleType) const override;
virtual FText GetDescription() const override;
void SetDisplayedWeight(float Pct, bool bNamed);
};