mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-15 22:32:13 +00:00
_**WAITING FOR THE SERVER UPDATE FOR END-TO-END TESTING**_ - created ui and queue communication for switching camera aspect ratio done - editor's render camera read queue to switch camera aspect ratio - letterbox now available in camera view mode for a better preview of the aspect ratios - updated ui to match figma design after design update - vertical camera styling updates (by bflat) - finalized our render resolutions at different aspect ratio --------- Co-authored-by: wil <wil@storyteller.ai>
44 lines
1.1 KiB
TypeScript
44 lines
1.1 KiB
TypeScript
export enum toEngineActions {
|
|
ADD_CLIP = "add_clip",
|
|
// data=QueueClip
|
|
ADD_KEYFRAME = "add_keyframe",
|
|
|
|
ADD_CHARACTER = "add_character",
|
|
|
|
ADD_OBJECT = "add_object",
|
|
|
|
ADD_SHAPE = "add_shape",
|
|
|
|
// data= QueueKeyframe
|
|
DELETE_CLIP = "delete_clip",
|
|
// data=QueueClip
|
|
DELETE_KEYFRAME = "delete_keyframe",
|
|
// data=QueueKeyframe
|
|
ENTER_EDIT_STATE = "enter_edit",
|
|
// data=null
|
|
ENTER_PREVIEW_STATE = "enter_preview",
|
|
// data=null
|
|
GENERATE_VIDEO = "generate_video",
|
|
// data=null
|
|
MUTE = "mute",
|
|
// data={version, type, group, object_uuid} if lipsync
|
|
// data={version, type, group} if global_audio
|
|
REFRESH_PREVIEW = "refresh_preview",
|
|
// data=QueueClip
|
|
TOGGLE_CAMERA_STATE = "toggle_camera",
|
|
// data=null
|
|
|
|
CHANGE_CAMERA_ASPECT_RATIO = "change_camera_aspect_ratio",
|
|
// data=CamperaAspectRatio
|
|
|
|
UNMUTE = "unmute",
|
|
// data={version, type, group, object_uuid} if lipsync
|
|
// data={version, type, group} if global_audio
|
|
UPDATE_CLIP = "update_clip",
|
|
// data=QueueClip
|
|
UPDATE_KEYFRAME = "update_keyframe",
|
|
// data=QueueKeyframe
|
|
UPDATE_TIME = "update_time",
|
|
// data={currentTime: number}
|
|
}
|