添加编辑模式
This commit is contained in:
@@ -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[],
|
||||
/** 灰度环境贴图链接,输入格式与环境贴图一致 */
|
||||
|
Reference in New Issue
Block a user