#include <RoadPainterWrapper.h>
类 ARoadPainterWrapper 继承关系图:
ARoadPainterWrapper 的协作图:Public 成员函数 | |
| ARoadPainterWrapper () | |
| void | BeginPlay () override |
| void | ReadConfigFile (const FString &CurrentMapName, const TMap< FString, FString > &DecalNamesMap) |
| Function for reading the decals configuration file (in JSON format) 更多... | |
| void | SetBlueprintVariables () |
| Event for setting the necessary variables in blueprint in order to paint the roads 更多... | |
| void | SpawnDecalsEvent () |
| Event used for spawning decals via blueprint 更多... | |
| void | SpawnMeshesEvent () |
| Event used for spawning meshes via blueprint 更多... | |
Public 属性 | |
| FDecalsProperties | DecalPropertiesConfig |
| Variable used for storing the JSON values of the decals so it can be later used by the blueprint (Road Painter Preset) 更多... | |
Private 成员函数 | |
| FVector | ReadVectorFromJsonObject (TSharedPtr< FJsonObject > JsonObject) |
| Function to read 3D vectors from a JSON file 更多... | |
在文件 RoadPainterWrapper.h 第 52 行定义.
| ARoadPainterWrapper::ARoadPainterWrapper | ( | ) |
在文件 RoadPainterWrapper.cpp 第 22 行定义.
|
override |
在文件 RoadPainterWrapper.cpp 第 45 行定义.
| void ARoadPainterWrapper::ReadConfigFile | ( | const FString & | CurrentMapName, |
| const TMap< FString, FString > & | DecalNamesMap | ||
| ) |
Function for reading the decals configuration file (in JSON format)
在文件 RoadPainterWrapper.cpp 第 54 行定义.
引用了 FDecalsProperties::DecalMaterials, FDecalsProperties::DecalMaxScale, FDecalsProperties::DecalMinScale, FDecalsProperties::DecalNumToSpawn, DecalPropertiesConfig, FDecalsProperties::DecalRandomYaw, FDecalsProperties::DecalScale, FDecalsProperties::FixedDecalOffset, FDecalsProperties::RandomOffset , 以及 ReadVectorFromJsonObject().
函数调用图:
|
private |
Function to read 3D vectors from a JSON file
在文件 RoadPainterWrapper.cpp 第 103 行定义.
被这些函数引用 ReadConfigFile().
这是这个函数的调用关系图:| void ARoadPainterWrapper::SetBlueprintVariables | ( | ) |
Event for setting the necessary variables in blueprint in order to paint the roads
| void ARoadPainterWrapper::SpawnDecalsEvent | ( | ) |
Event used for spawning decals via blueprint
| void ARoadPainterWrapper::SpawnMeshesEvent | ( | ) |
Event used for spawning meshes via blueprint
| FDecalsProperties ARoadPainterWrapper::DecalPropertiesConfig |
Variable used for storing the JSON values of the decals so it can be later used by the blueprint (Road Painter Preset)
在文件 RoadPainterWrapper.h 第 81 行定义.
被这些函数引用 ReadConfigFile().