Volume自动生成
分类:类型
三维 Field:体,coord() 给出列、行、层。
Volume<T>A volume of elements, coord() the column, row and layer of one.
接受此类型的内置函数
Section titled “接受此类型的内置函数”| 返回 | 函数 | 分类 |
|---|---|---|
T |
at(field: Volume<T>, at: Vec3) |
Field 读取 |
T |
at(field: Volume<T>, at: IVec3) |
Field 读取 |
T |
at_linear(field: Volume<T>, position: Vec3) |
Field 读取 |
Int |
count(field: Volume<T>) |
Field 读取 |
T |
fetch(field: Volume<T>, at: Vec3) |
Field 读取 |
T |
fetch(field: Volume<T>, at: IVec3) |
Field 读取 |
IVec3 |
isize(field: Volume<T>) |
Field 读取 |
T |
put(memory: Volume<T>, at: Vec3, value: T) |
memory 写入 |
T |
put(memory: Volume<T>, at: IVec3, value: T) |
memory 写入 |
T |
sample(field: Volume<T>) |
Field 读取 |
Vec3 |
size(field: Volume<T>) |
Field 读取 |

