feat(web): add object lightgroup membership
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:21:38 +08:00
parent 49b42a0f99
commit cc8f805e76
46 changed files with 1900 additions and 35 deletions

View File

@@ -101,4 +101,7 @@ export const animationRenderCommands = Object.freeze({
setSceneViewLayerLightgroups(dataId: string, layerName: string, lightgroups: string[]): AnimationCommand<"setSceneViewLayerLightgroups"> {
return { type: "setSceneViewLayerLightgroups", dataId, layerName, lightgroups: [...lightgroups] };
},
setObjectLightgroup(objectId: string, lightgroup: string | null): AnimationCommand<"setObjectLightgroup"> {
return { type: "setObjectLightgroup", objectId, lightgroup };
},
} satisfies Record<string, (...args: never[]) => WebEngineEditCommand>);