Skip to content
New issue

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

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

Already on GitHub? # to your account

NodeOutputView and NodeRollingView cannot have transparent backgrounds #42

Open
ViaJables opened this issue Jan 14, 2022 · 3 comments · May be fixed by #92
Open

NodeOutputView and NodeRollingView cannot have transparent backgrounds #42

ViaJables opened this issue Jan 14, 2022 · 3 comments · May be fixed by #92

Comments

@ViaJables
Copy link

Correct me if this is an error but I cannot get them to be transparent.

@NickCulbertson
Copy link
Member

NickCulbertson commented Jan 14, 2022

NodeOutputView is not transparent, but you can set the background color like this:

NodeOutputView(conductor.mixer, color: .purple, backgroundColor: .white, bufferSize: 1024)

NodeRollingView has not been updated to give access to the background color.

@ViaJables
Copy link
Author

Is there a hack to make it transparent? I'm trying to add it to a visualeffectsview

@NickCulbertson
Copy link
Member

Not that I know of. You can take a look at the FragmentBuilder or MetalFragment to see if something there allows the parent view layer to be transparent. It is using MetalKit to render.

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

Successfully merging a pull request may close this issue.

2 participants