Version: 2020.2
언어: 한국어

PhotoCaptureFrame.UploadImageDataToTexture

매뉴얼로 전환
public void UploadImageDataToTexture (Texture2D targetTexture);

파라미터

targetTexture The target texture that the captured image data will be copied to.

설명

This method will copy the captured image data into a user supplied texture for use in Unity.

You may only use this method if you specified the BGRA32 format in your CameraParameters. Keep in mind that this operation will happen on the main thread and therefore be slow. The captured image will also appear flipped on the HoloLens. You can reorient the image by using a custom shader.