You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
21 lines
661 B
C
21 lines
661 B
C
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "CoreMinimal.h"
|
||
|
|
#include "Templates/SharedPointer.h"
|
||
|
|
#include "SubobjectDataFactory.h"
|
||
|
|
|
||
|
|
/**
|
||
|
|
* This is the default subobject data factory that will provide a simple
|
||
|
|
*/
|
||
|
|
class FChildSubobjectDataFactory : public ISubobjectDataFactory
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
|
||
|
|
// Begin ISubobjectDataFactory interface
|
||
|
|
virtual FName GetID() const { return TEXT("ChildSubobjectFactory"); }
|
||
|
|
virtual TSharedPtr<FSubobjectData> CreateSubobjectData(const FCreateSubobjectParams& Params) override;
|
||
|
|
virtual bool ShouldCreateSubobjectData(const FCreateSubobjectParams& Params) const override;
|
||
|
|
// End ISubobjectDataFactory
|
||
|
|
};
|