- Home /
Question by
govi627 · Jan 31, 2013 at 03:27 AM ·
texturewebcamtexturewebcamsnapshot
Creating Snapshots or Images with WebCamTexture?
Can this be done? I don't want a live feed texture but rather still images. Any help is appreciated!
Thank you
Joe
Comment
What exactly do you mean? Do you want to save a copy of the current frame the webcam is showing?
Best Answer
Answer by govi627 · Jan 31, 2013 at 01:43 PM
I have come across GetPixels before but I really have no Idea how to use it. Could you show me a coded example of how to use webcamTexture.GetPixels32? I usually expect there to be a SetPixels somewhere in the code, but I really do not understand it from the docs alone. Thank you for the reply!
Answer by DaveA · Jan 31, 2013 at 06:17 AM
I'm guessing this: http://docs.unity3d.com/Documentation/ScriptReference/WebCamTexture.GetPixels32.html