feat(web): continue source-backed implementation waves
This commit is contained in:
@@ -14,6 +14,12 @@ export const animationRenderCommands = Object.freeze({
|
||||
setConstraint(objectId: string, constraintName: string, enabled: boolean, influence: number): AnimationCommand<"setConstraint"> {
|
||||
return { type: "setConstraint", objectId, constraintName, enabled, influence };
|
||||
},
|
||||
setActiveAction(objectId: string, actionId: string | null): AnimationCommand<"setActiveAction"> {
|
||||
return { type: "setActiveAction", objectId, actionId };
|
||||
},
|
||||
setNLAStack(objectId: string, tracks: AnimationCommand<"setNLAStack">["tracks"], baseRevision?: number): AnimationCommand<"setNLAStack"> {
|
||||
return { type: "setNLAStack", objectId, tracks, ...(baseRevision === undefined ? {} : { baseRevision }) };
|
||||
},
|
||||
setLightProperties(dataId: string, properties: AnimationCommand<"setLightProperties">["properties"]): AnimationCommand<"setLightProperties"> {
|
||||
return { type: "setLightProperties", dataId, properties };
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user