C# Class Tango.YUVTexture

Wraps separate textures for Y, U, and V planes.
Afficher le fichier Open project: ashomk/beerpong Class Usage Examples

Méthodes publiques

Свойство Type Description
m_videoOverlayTextureCb UnityEngine.Texture2D
m_videoOverlayTextureCr UnityEngine.Texture2D
m_videoOverlayTextureY UnityEngine.Texture2D

Méthodes publiques

Méthode Description
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.

Method Details

ResizeAll() public méthode

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.
Résultat void

YUVTexture() public méthode

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.
Résultat System

Property Details

m_videoOverlayTextureCb public_oe property

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
Résultat UnityEngine.Texture2D

m_videoOverlayTextureCr public_oe property

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
Résultat UnityEngine.Texture2D

m_videoOverlayTextureY public_oe property

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
Résultat UnityEngine.Texture2D