You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get blur without UIEffectSnapshot component, just using API UIEffectSnapshot.CaptureForGlobal. But there is no option to get RenderTexture in callback.
The Script usage section says that I need to use UIEffectSnapshot.globalCapturedTexture but it is unpossible bacause it is non-static. So I see two possible options here:
Make property UIEffectSnapshot.globalCapturedTexture static
Make property UIEffectSnapshotRequest.renderTexture public
For now I'm using reflection as temporary solution:
I'm trying to get blur without UIEffectSnapshot component, just using API
UIEffectSnapshot.CaptureForGlobal
. But there is no option to get RenderTexture in callback.The Script usage section says that I need to use
UIEffectSnapshot.globalCapturedTexture
but it is unpossible bacause it is non-static. So I see two possible options here:UIEffectSnapshot.globalCapturedTexture
staticUIEffectSnapshotRequest.renderTexture
publicFor now I'm using reflection as temporary solution:
The text was updated successfully, but these errors were encountered: