Extensible viewport effect #1165
chengenzhao
started this conversation in
Ideas
Replies: 1 comment
-
Hi, I don't think this is possible with existing API. It sounds useful and should be feasible to implement, so I'm going to move this to an issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi:
Is there any way to extend effects on viewport?
currently there are only 3 ways of viewport effect: shake, fade and flash which works perfectly nice
and is it possible for developers to create their own viewport effect?
like if the protagonist gets hit the viewport border becomes red and then fade out to warn the player
we read the source code and seems like we have to get the camera first
but camera is the internal variable so it can't be used outside the viewport class
is it possible to provide a public method to allow developer to extend the effect then add in the camera view components?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions