← 返回函数库

@Description

Annotation 关键字 已实现

说明

为规则添加描述。

语法

@Description("text")

示例

@Description "text"

🎨 3D 预览 — 描述注解

@Description("Generates a residential building")
@StartRule
Lot --> primitiveCube(6, 0.2, 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)