CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | Private 成员函数 | 所有成员列表
ARoadPainterWrapper类 参考

#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.h52 行定义.

构造及析构函数说明

◆ ARoadPainterWrapper()

ARoadPainterWrapper::ARoadPainterWrapper ( )

在文件 RoadPainterWrapper.cpp22 行定义.

成员函数说明

◆ BeginPlay()

void ARoadPainterWrapper::BeginPlay ( )
override

在文件 RoadPainterWrapper.cpp45 行定义.

◆ ReadConfigFile()

void ARoadPainterWrapper::ReadConfigFile ( const FString & CurrentMapName,
const TMap< FString, FString > & DecalNamesMap )

Function for reading the decals configuration file (in JSON format)

在文件 RoadPainterWrapper.cpp51 行定义.

引用了 FDecalsProperties::DecalMaterials, FDecalsProperties::DecalMaxScale, FDecalsProperties::DecalMinScale, FDecalsProperties::DecalNumToSpawn, DecalPropertiesConfig, FDecalsProperties::DecalRandomYaw, FDecalsProperties::DecalScale, FDecalsProperties::FixedDecalOffset, FDecalsProperties::RandomOffset , 以及 ReadVectorFromJsonObject().

+ 函数调用图:

◆ ReadVectorFromJsonObject()

FVector ARoadPainterWrapper::ReadVectorFromJsonObject ( TSharedPtr< FJsonObject > JsonObject)
private

Function to read 3D vectors from a JSON file

在文件 RoadPainterWrapper.cpp100 行定义.

被这些函数引用 ReadConfigFile().

+ 这是这个函数的调用关系图:

◆ SetBlueprintVariables()

void ARoadPainterWrapper::SetBlueprintVariables ( )

Event for setting the necessary variables in blueprint in order to paint the roads

◆ SpawnDecalsEvent()

void ARoadPainterWrapper::SpawnDecalsEvent ( )

Event used for spawning decals via blueprint

◆ SpawnMeshesEvent()

void ARoadPainterWrapper::SpawnMeshesEvent ( )

Event used for spawning meshes via blueprint

类成员变量说明

◆ DecalPropertiesConfig

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.h81 行定义.

被这些函数引用 ReadConfigFile().


该类的文档由以下文件生成: