feat(web): add view layer lightgroup authoring
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-08-30 07:08:55 +08:00
parent 0a0f36a358
commit 49b42a0f99
46 changed files with 1907 additions and 38 deletions

View File

@@ -98,4 +98,7 @@ export const animationRenderCommands = Object.freeze({
setSceneViewLayerAOVs(dataId: string, layerName: string, aovs: AnimationCommand<"setSceneViewLayerAOVs">["aovs"]): AnimationCommand<"setSceneViewLayerAOVs"> {
return { type: "setSceneViewLayerAOVs", dataId, layerName, aovs: aovs.map((aov) => ({ ...aov })) };
},
setSceneViewLayerLightgroups(dataId: string, layerName: string, lightgroups: string[]): AnimationCommand<"setSceneViewLayerLightgroups"> {
return { type: "setSceneViewLayerLightgroups", dataId, layerName, lightgroups: [...lightgroups] };
},
} satisfies Record<string, (...args: never[]) => WebEngineEditCommand>);