26 lines
564 B
C++
26 lines
564 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
#include "UObject/ScriptMacros.h"
|
|
#include "Binding/PropertyBinding.h"
|
|
#include "FloatBinding.generated.h"
|
|
|
|
UCLASS(MinimalAPI)
|
|
class UFloatBinding : public UPropertyBinding
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
|
|
UMG_API UFloatBinding();
|
|
|
|
UMG_API virtual bool IsSupportedSource(FProperty* Property) const override;
|
|
UMG_API virtual bool IsSupportedDestination(FProperty* Property) const override;
|
|
|
|
UFUNCTION()
|
|
UMG_API float GetValue() const;
|
|
};
|