增加环境背景参数
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yinsx
2026-01-07 15:23:21 +08:00
parent b238139773
commit ae59fbe68b
6 changed files with 123 additions and 12 deletions

View File

@ -16,12 +16,11 @@ type InitParams = {
container?: string | HTMLCanvasElement;
modelUrlList?: string[];
apiConfig?: ConfiguratorParams;
onSuccess?: () => void;
onError?: (error?: unknown) => void;
env?: {
hdrPath?: string;
intensity?: number;
rotationY?: number;
background?: boolean;
};
};