C# 클래스 Tango.YUVTexture

Wraps separate textures for Y, U, and V planes.
파일 보기 프로젝트 열기: ashomk/beerpong 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_videoOverlayTextureCb UnityEngine.Texture2D
m_videoOverlayTextureCr UnityEngine.Texture2D
m_videoOverlayTextureY UnityEngine.Texture2D

공개 메소드들

메소드 설명
ResizeAll ( int yPlaneWidth, int yPlaneHeight, int uvPlaneWidth, int uvPlaneHeight ) : void

Resizes all yuv texture planes.

YUVTexture ( int yPlaneWidth, int yPlaneHeight, int uvPlaneWidth, int uvPlaneHeight, TextureFormat format, bool mipmap ) : System

Initializes a new instance of the Tango.YUVTexture class. NOTE : Texture resolutions will be reset by the API. The sizes passed into the constructor are not guaranteed to persist when running on device.

메소드 상세

ResizeAll() 공개 메소드

Resizes all yuv texture planes.
public ResizeAll ( int yPlaneWidth, int yPlaneHeight, int uvPlaneWidth, int uvPlaneHeight ) : void
yPlaneWidth int Y plane width.
yPlaneHeight int Y plane height.
uvPlaneWidth int Uv plane width.
uvPlaneHeight int Uv plane height.
리턴 void

YUVTexture() 공개 메소드

Initializes a new instance of the Tango.YUVTexture class. NOTE : Texture resolutions will be reset by the API. The sizes passed into the constructor are not guaranteed to persist when running on device.
public YUVTexture ( int yPlaneWidth, int yPlaneHeight, int uvPlaneWidth, int uvPlaneHeight, TextureFormat format, bool mipmap ) : System
yPlaneWidth int Y plane width.
yPlaneHeight int Y plane height.
uvPlaneWidth int UV plane width.
uvPlaneHeight int UV plane height.
format TextureFormat Texture format.
mipmap bool If set to true mipmap.
리턴 System

프로퍼티 상세

m_videoOverlayTextureCb 공개적으로 프로퍼티

The m_video overlay texture cb. Columns 640/4 [bytes packed in RGBA channels] Rows 360 This size is for a 1280x720 screen.
public Texture2D,UnityEngine m_videoOverlayTextureCb
리턴 UnityEngine.Texture2D

m_videoOverlayTextureCr 공개적으로 프로퍼티

The m_video overlay texture cr. Columns 640 * 2 / 4 [bytes packed in RGBA channels] Rows 360 This size is for a 1280x720 screen.
public Texture2D,UnityEngine m_videoOverlayTextureCr
리턴 UnityEngine.Texture2D

m_videoOverlayTextureY 공개적으로 프로퍼티

The m_video overlay texture y. Columns 1280/4 [bytes packed in RGBA channels] Rows 720 This size is for a 1280x720 screen.
public Texture2D,UnityEngine m_videoOverlayTextureY
리턴 UnityEngine.Texture2D