跳转到内容

UBot Medium Snapshot

C++
FUBotMediumSnapshot
模块
UBotCore · UBotCore 0.1.2
节点
Break · Make
头文件
Source/UBotCore/Public/UBotPerceptionMedium.h

某种介质(烟、雾等)在采样时刻的状态。

字段类型蓝图说明
Medium TypeMediumTypeName读写介质的类型名,默认为 Smoke。
ActivebActiveBoolean读写为 false 时,求交计算忽略这份快照。
TintTintLinear Color结构体读写介质的显示颜色。
CellsCellsUBot Medium Cell结构体数组读写组成这团介质的球形单元。

拆分结构体 · Break:FUBotMediumSnapshot

把 UBot Medium Snapshot 拆成介质类型、是否有效、颜色和单元列表。

引脚方向类型
UBot Medium Snapshot输入UBot Medium Snapshot结构体
Medium Type输出Name
ActivebActive输出Boolean
Tint输出Linear Color结构体
Cells输出UBot Medium Cell结构体数组

构造结构体 · Make:FUBotMediumSnapshot

用介质类型、是否有效、颜色和单元列表构造一个 UBot Medium Snapshot。

引脚方向类型默认值
Medium Type输入NameSmoke
ActivebActive输入Booleantrue
Tint输入Linear Color结构体(R=0.550000,G=0.550000,B=0.550000,A=1.000000)
Cells输入UBot Medium Cell结构体数组
UBot Medium Snapshot输出UBot Medium Snapshot结构体