|
ArticyXImporter
ArticyXImporter for Unreal Engine
|
#include <PredefinedTypes.h>
Public Types | |
| typedef PropType(* | TDeserializer) (PROP_SETTER_PARAMS) |
Public Member Functions | |
| ArticyPredefinedTypeInfo (const FString &TypeName, const FString &PropTypeName, const FString &DefaultValue, PropType(*Deserializer)(PROP_SETTER_PARAMS)) | |
| virtual void | SetProp (const FName Property, PROP_SETTER_PARAMS) override |
| virtual void | SetArray (FName ArrayProperty, ARRAY_SETTER_PARAMS) override |
| Public Member Functions inherited from FArticyPredefinedTypeBase | |
| FArticyPredefinedTypeBase (const FString &TypeName, const FString &PropTypeName, const FString &DefaultValue) | |
Public Attributes | |
| TDeserializer | Deserializer = nullptr |
| Public Attributes inherited from FArticyPredefinedTypeBase | |
| FString | CppType = "" |
| FString | CppPropertyType = "" |
| FString | CppDefaultValue = "" |
This struct contains information about the type (as C++ type and as string) used to declare a class/struct/enum as well as the type to expose an instance of that type. It also defines how to initialize a property on a UArticyObject from JSON, using UArticyObject->setProp.
|
inlineoverridevirtual |
This is used to set an array property with ItemType = PropType.
Reimplemented from FArticyPredefinedTypeBase.
|
inlineoverridevirtual |
This is used to set a property of type PropType.
Reimplemented from FArticyPredefinedTypeBase.
| TDeserializer ArticyPredefinedTypeInfo< Type, PropType >::Deserializer = nullptr |
The deserializer used to deserialize JSON to PropType.