Files
UnrealEngineUWP/Engine/Source/Editor/DetailCustomizations/Private/RotatorStructCustomization.h
Chris Gagnon 1dd3e0189f Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4730305 by Chris Gagnon in Dev-Editor branch]
2019-01-15 18:47:22 -05:00

26 lines
650 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "IPropertyTypeCustomization.h"
#include "PropertyHandle.h"
#include "Customizations/MathStructCustomizations.h"
/**
* Customizes FRotator structs.
*/
class FRotatorStructCustomization
: public FMathStructCustomization
{
public:
/** @return A new instance of this class */
static TSharedRef<IPropertyTypeCustomization> MakeInstance();
private:
/** FMathStructCustomization interface */
virtual void GetSortedChildren(TSharedRef<IPropertyHandle> StructPropertyHandle, TArray<TSharedRef<IPropertyHandle>>& OutChildren) override;
};