UBot Medium Snapshot
某种介质(烟、雾等)在采样时刻的状态。
| 字段 | 类型 | 蓝图 | 说明 |
|---|---|---|---|
Medium TypeMediumType | Name | 读写 | 介质的类型名,默认为 Smoke。 |
ActivebActive | Boolean | 读写 | 为 false 时,求交计算忽略这份快照。 |
TintTint | Linear Color结构体 | 读写 | 介质的显示颜色。 |
CellsCells | UBot Medium Cell结构体数组 | 读写 | 组成这团介质的球形单元。 |
Break UBot Medium Snapshot
Section titled “Break UBot Medium Snapshot”Break UBot Medium SnapshotUBot Medium SnapshotMedium TypeActiveTintCells
把 UBot Medium Snapshot 拆成介质类型、是否有效、颜色和单元列表。
| 引脚 | 方向 | 类型 |
|---|---|---|
| UBot Medium Snapshot | 输入 | UBot Medium Snapshot结构体 |
| Medium Type | 输出 | Name |
ActivebActive | 输出 | Boolean |
| Tint | 输出 | Linear Color结构体 |
| Cells | 输出 | UBot Medium Cell结构体数组 |
Make UBot Medium Snapshot
Section titled “Make UBot Medium Snapshot”Make UBot Medium SnapshotMedium TypeSmokeActiveTintCellsUBot Medium Snapshot
用介质类型、是否有效、颜色和单元列表构造一个 UBot Medium Snapshot。
| 引脚 | 方向 | 类型 | 默认值 |
|---|---|---|---|
| Medium Type | 输入 | Name | Smoke |
ActivebActive | 输入 | Boolean | true |
| 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结构体 |