← 返回函数库

assetBestSize

Asset 内置函数 部分实现

语法

assetBestSize(...)

示例

attr x = assetBestSize(...)

🎨 3D 预览 — 资源最佳尺寸

@StartRule
Lot --> primitiveCube(4, 4, 4)
        print(assetBestSize("example"))
        color(0.6, 0.7, 0.8)