分布器(Distributor)
在地物配置中,分布器可以决定生成物分布在世界的哪些位置。
分布器运行在平面中。分布器会为每一对平面坐标分配一个 true 或 false 的值,前者表示分布器可以在这里生成一个结构。
类型
不同类型的 Distirbutor
有着不同的行为,有时还有额外的配置参数可以控制它们。
类型通过配置参数 type 决定。如果两个附属使用了同一种类型名称,你可以在类型前加上 附属名称:
区分。
可用的 Distirbutor
如下所示:
SAMPLER
* 配置类型需要 config-distributor
附属才可使用
默认值:0.0
PADDER_GRID
* 配置类型需要 config-distributor
附属才可使用
AND
* 配置类型需要 config-distributor
附属才可使用
OR
* 配置类型需要 config-distributor
附属才可使用
XOR
* 配置类型需要 config-distributor
附属才可使用
YES
* 配置类型需要 config-distributor
附属才可使用
NO
* 配置类型需要 config-distributor
附属才可使用
用途
有 4 个参数用到:
FEATURE 中的 base:
distributor 分布器Distributor 中的 OR:
distributors 列表<分布器>Distributor 中的 XOR:
distributors 列表<分布器>Distributor 中的 AND:
distributors 列表<分布器>
贡献者
页面历史
原文此处即无内容。下 OR 同。 ↩︎