19 lines
529 B
C++
Executable file
19 lines
529 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "Components/WidgetComponent.h"
|
|
#include "WidgetComponentCustomMaterial.generated.h"
|
|
|
|
class UMaterialInterface;
|
|
|
|
UCLASS(Blueprintable, EditInlineNew, ClassGroup=Custom, meta=(BlueprintSpawnableComponent))
|
|
class UWidgetComponentCustomMaterial : public UWidgetComponent {
|
|
GENERATED_BODY()
|
|
public:
|
|
private:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
UMaterialInterface* CustomMaterial;
|
|
|
|
public:
|
|
UWidgetComponentCustomMaterial();
|
|
};
|
|
|