用户工具

站点工具


侧边栏

script:unityengine:classes:webcamtexture:webcamtexture

WebCamTexture 网络相机贴图

class in UnityEngine/Inherits from: Texture

Description 描述

WebCam Textures are textures onto which the live video input is rendered.

网络摄像头纹理是时实视频输入上呈现的的纹理。

Static Variables 静态变量

devicesReturn a list of available devices.
返回可用的设备列表。

Variables 变量

deviceNameSet this to specify the name of the device to use.
该属性设置指定设备使用的名称。
didUpdateThisFrameDid the video buffer update this frame?
视频缓存区是否更新此帧?
isPlayingReturns if the camera is currently playing.
返回当前摄像机是否播放。
requestedFPSSet the requested frame rate of the camera device (in frames per second).
设置摄像机设备要求的帧率(帧/秒)。
requestedHeightSet the requested height of the camera device.
设置摄像机设备要求的高度。
requestedWidthSet the requested width of the camera device.
设置相机设备要求的宽度。
videoRotationAngleReturns an clockwise angle (in degrees), which can be used to rotate a polygon so camera contents are shown in correct orientation.
返回顺时针方向的角度(度),这可以用于旋转多边形,使相机内容显示在正确的方
script/unityengine/classes/webcamtexture/webcamtexture.txt · 最后更改: 2016/08/02 05:24 (外部编辑)