Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

35 lines
983 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/Array.h"
#include "Customizations/MathStructCustomizations.h"
#include "Templates/SharedPointer.h"
#define UE_API DETAILCUSTOMIZATIONS_API
class IPropertyHandle;
class IPropertyTypeCustomization;
/**
* Customizes FVector structs.
*/
class FVectorStructCustomization
: public FMathStructCustomization
{
public:
/** @return A new instance of this class */
static UE_API TSharedRef<IPropertyTypeCustomization> MakeInstance();
private:
/** IPropertyTypeCustomization interface */
UE_API virtual void CustomizeChildren(TSharedRef<IPropertyHandle> StructPropertyHandle, IDetailChildrenBuilder& StructBuilder, IPropertyTypeCustomizationUtils& StructCustomizationUtils) override;
/** FMathStructCustomization interface */
UE_API virtual void GetSortedChildren(TSharedRef<IPropertyHandle> StructPropertyHandle, TArray<TSharedRef<IPropertyHandle>>& OutChildren) override;
};
#undef UE_API