Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

针对单个组件是否有可能setTransition? #437

Open
gubeils opened this issue Jul 25, 2024 · 4 comments
Open

针对单个组件是否有可能setTransition? #437

gubeils opened this issue Jul 25, 2024 · 4 comments

Comments

@gubeils
Copy link

gubeils commented Jul 25, 2024

是否可能对FFVideo或FFImage组件setTransition?(看到多个scene可以支持setTransition,在我们的场景下只能使用1个scene)

@gubeils
Copy link
Author

gubeils commented Jul 25, 2024

或者是否有可能 对于一个scene,增加api:

// type, duration, params
// startTime为新加参数,表示转场的开始时间
scene.addTransition({
  name: 'TricolorCircle',
  duration: 1.5,
  startTime: 1,
  params: {},
});
scene.addTransition({
  name: 'TricolorCircle',
  duration: 1.2,
  startTime: 5, 
  params: {},
});

@drawcall
Copy link
Member

mark, 精力有限 加入后续计划

@gubeils
Copy link
Author

gubeils commented Jul 25, 2024

是否有可行性呢?大概在哪修改,可以pr

@drawcall
Copy link
Member

drawcall commented Aug 1, 2024

scene Transition使用的是postprocessing, FFImage可使用filters模拟简单效果,复杂效果暂不支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants