UBot Medium Cell
感知介质中的一个球形单元。位置直接取自 UE,单位是 cm。
| 字段 | 类型 | 蓝图 | 说明 |
|---|---|---|---|
World Position CentimetersWorldPositionCentimeters | Vector | 读写 | 单元中心的世界坐标,单位 cm。 |
Radius CentimetersRadiusCentimeters | Float | 读写 | 单元半径,单位 cm;求交计算把小于 1 cm 的值按 1 cm 处理。 |
DensityDensity | Float | 读写 | 单元的浓度,范围 0 到 1。 |
Edge FactorEdgeFactor | Float | 读写 | 范围 0 到 1,默认 1。有效密度 = Density × Edge Factor,值越小衰减越强,用来让靠近介质边缘的单元变淡。 |
Break UBot Medium Cell
Section titled “Break UBot Medium Cell”Break UBot Medium CellUBot Medium CellWorld Position CentimetersRadius CentimetersDensityEdge Factor
把 UBot Medium Cell 拆成世界位置、半径、密度和边缘系数。
| 引脚 | 方向 | 类型 | 说明 |
|---|---|---|---|
| UBot Medium Cell | 输入 | UBot Medium Cell结构体 | |
| World Position Centimeters | 输出 | Vector | |
| Radius Centimeters | 输出 | Float | Values below 1 cm are treated as 1 cm by the intersection math. |
| Density | 输出 | Float | 0..1 |
| Edge Factor | 输出 | Float | 0..1, attenuates Density towards the border of the medium. |
Make UBot Medium Cell
Section titled “Make UBot Medium Cell”Make UBot Medium CellWorld Position Centimeters0.0, 0.0, 0.0Radius Centimeters150.0Density0.0Edge Factor1.0UBot Medium Cell
用世界位置、半径、密度和边缘系数构造一个 UBot Medium Cell。
| 引脚 | 方向 | 类型 | 默认值 | 说明 |
|---|---|---|---|---|
| World Position Centimeters | 输入 | Vector | 0.000000,0.000000,0.000000 | |
| Radius Centimeters | 输入 | Float | 150.0 | Values below 1 cm are treated as 1 cm by the intersection math. |
| Density | 输入 | Float | 0.0 | 0..1 |
| Edge Factor | 输入 | Float | 1.0 | 0..1, attenuates Density towards the border of the medium. |
| UBot Medium Cell | 输出 | UBot Medium Cell结构体 |