-
Hi! I keep working on the blaze sample. I was wondering which script should I modify to be able to change the size and the position of the webcam view, for example to project it half size in one side of the canvas and display something else like a background on the other. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @ascoider In the BlazePose example, the webcam texture is rendered in fullscreen by the You can replace it with another component, such as |
Beta Was this translation helpful? Give feedback.
-
Thanks! Your advice works perfect and I also discovered I can modify the output field in the camera for the same purpose. |
Beta Was this translation helpful? Give feedback.
Hi @ascoider
In the BlazePose example, the webcam texture is rendered in fullscreen by the
CameraTextureBackground.cs
attached to the main camera. And theWebCamInput
sets the texture via theOn Texture Updagte
event.You can replace it with another component, such as
RawImage
👍