添加编辑模式

This commit is contained in:
2025-05-09 19:29:09 +08:00
parent d92cdedc57
commit 37158e7cb1
9 changed files with 105 additions and 26 deletions

View File

@@ -3,6 +3,7 @@ import type { MaterialRequest } from "../components/MaterialAdjuster.vue"
let _libOutputConfig = {
textureSrc: "",
file: undefined,
submitCallback: undefined,
cancelCallback: undefined,
envTextureSrc: ['./right.webp', './left.webp', './top.webp', './bottom.webp', './front.webp', './back.webp'],
@@ -19,6 +20,8 @@ export function ConfigureLibOutput(config: Partial<LibOutputConfig>) {
export type LibOutputConfig = {
/** 材质贴图链接 */
textureSrc: string,
/** 材质预设数据base64编码 */
file?: string,
/** 环境贴图链接(立方体贴图,按照顺序输入[右左上下前后] */
envTextureSrc: string[],
/** 灰度环境贴图链接,输入格式与环境贴图一致 */