#include "Carla.h"
#include "Carla/Actor/CarlaBlueprintRegistry.h"
#include "Carla/Game/CarlaStatics.h"
#include "Dom/JsonObject.h"
#include "Misc/FileHelper.h"
#include "Serialization/JsonReader.h"
#include "Serialization/JsonSerializer.h"
命名空间 | |
namespace | CommonAttributes |
namespace | PropAttributes |
函数 | |
for (auto &PropParameter :PropParametersArray) | |
for (int32 i=0;i< ResultPropJsonArray.Num();++i) | |
static FString | PropSizeTypeToString (EPropSize PropSizeType) |
JsonObject | SetArrayField (CommonAttributes::DEFINITIONS, ResultPropJsonArray) |
static EPropSize | StringToPropSizeType (FString PropSize) |
变量 | |
static const FString | CommonAttributes::DEFAULT = TEXT("/Carla/Config/Default") |
static const FString | CommonAttributes::DEFINITIONS = TEXT("props") |
static const FString | PropAttributes::MESH_PATH = TEXT("path") |
static const FString | PropAttributes::NAME = TEXT("name") |
FString | OutputString |
static const FString | CommonAttributes::PATH = FPaths::ProjectContentDir() |
static const FString | PropAttributes::REGISTRY_FORMAT = TEXT(".Package.json") |
static const FString | PropAttributes::SIZE = TEXT("size") |
TSharedRef< TJsonWriter<> > | Writer = TJsonWriterFactory<>::Create(&OutputString) |
for | ( | auto &PropParameter :PropParametersArray | ) |
在文件 CarlaBlueprintRegistry.cpp 第 79 行定义.
引用了 PropAttributes::MESH_PATH, PropAttributes::NAME, PropSizeTypeToString() , 以及 PropAttributes::SIZE.
for | ( | ) |
在文件 CarlaBlueprintRegistry.cpp 第 71 行定义.
引用了 PropAttributes::NAME.
|
static |
JsonObject SetArrayField | ( | CommonAttributes::DEFINITIONS | , |
ResultPropJsonArray | ) |
|
static |
在文件 CarlaBlueprintRegistry.cpp 第 42 行定义.
被这些函数引用 UCarlaBlueprintRegistry::LoadPropDefinitions().
FString OutputString |
在文件 CarlaBlueprintRegistry.cpp 第 111 行定义.
TSharedRef<TJsonWriter<> > Writer = TJsonWriterFactory<>::Create(&OutputString) |
在文件 CarlaBlueprintRegistry.cpp 第 112 行定义.