← 返回函数库

@StartRule

Annotation 关键字 已实现

说明

标记起始规则。

语法

@StartRule()

示例

@StartRule 

🎨 3D 预览 — 起始规则

@StartRule
Lot --> primitiveCube(6, 4, 6)
        extrude(8)
        comp(f) { top: Roof | side: Wall }
Roof --> color(0.5, 0.25, 0.15)
Wall --> color(0.75, 0.72, 0.68)