Class WebCamTexture
Inheritance
WebCamTexture
Assembly: UnityEngine.dll
Syntax
public sealed class WebCamTexture : Texture
Constructors
|
Improve this Doc
View Source
WebCamTexture()
Declaration
|
Improve this Doc
View Source
WebCamTexture(Int32, Int32)
Declaration
public WebCamTexture(int requestedWidth, int requestedHeight)
Parameters
Type |
Name |
Description |
Int32 |
requestedWidth |
|
Int32 |
requestedHeight |
|
|
Improve this Doc
View Source
WebCamTexture(Int32, Int32, Int32)
Declaration
public WebCamTexture(int requestedWidth, int requestedHeight, int requestedFPS)
Parameters
Type |
Name |
Description |
Int32 |
requestedWidth |
|
Int32 |
requestedHeight |
|
Int32 |
requestedFPS |
|
|
Improve this Doc
View Source
WebCamTexture(String)
Declaration
public WebCamTexture(string deviceName)
Parameters
Type |
Name |
Description |
String |
deviceName |
|
|
Improve this Doc
View Source
WebCamTexture(String, Int32, Int32)
Declaration
public WebCamTexture(string deviceName, int requestedWidth, int requestedHeight)
Parameters
Type |
Name |
Description |
String |
deviceName |
|
Int32 |
requestedWidth |
|
Int32 |
requestedHeight |
|
|
Improve this Doc
View Source
WebCamTexture(String, Int32, Int32, Int32)
Declaration
public WebCamTexture(string deviceName, int requestedWidth, int requestedHeight, int requestedFPS)
Parameters
Properties
|
Improve this Doc
View Source
autoFocusPoint
Declaration
public Vector2? autoFocusPoint { get; set; }
Property Value
deviceName
Declaration
public string deviceName { get; set; }
Property Value
devices
Declaration
public static WebCamDevice[] devices { get; }
Property Value
didUpdateThisFrame
Declaration
public bool didUpdateThisFrame { get; }
Property Value
isDepth
Declaration
public bool isDepth { get; }
Property Value
isPlaying
Declaration
public bool isPlaying { get; }
Property Value
requestedFPS
Declaration
public float requestedFPS { get; set; }
Property Value
requestedHeight
Declaration
public int requestedHeight { get; set; }
Property Value
requestedWidth
Declaration
public int requestedWidth { get; set; }
Property Value
videoRotationAngle
Declaration
public int videoRotationAngle { get; }
Property Value
videoVerticallyMirrored
Declaration
public bool videoVerticallyMirrored { get; }
Property Value
Methods
|
Improve this Doc
View Source
GetPixel(Int32, Int32)
Declaration
public Color GetPixel(int x, int y)
Parameters
Returns
|
Improve this Doc
View Source
GetPixels()
Declaration
public Color[] GetPixels()
Returns
GetPixels(Int32, Int32, Int32, Int32)
Declaration
public Color[] GetPixels(int x, int y, int blockWidth, int blockHeight)
Parameters
Returns
|
Improve this Doc
View Source
GetPixels32()
Declaration
[ExcludeFromDocs]
public Color32[] GetPixels32()
Returns
GetPixels32(Color32[])
Declaration
public Color32[] GetPixels32([DefaultValue("null")] Color32[] colors)
Parameters
Type |
Name |
Description |
Color32[] |
colors |
|
Returns
|
Improve this Doc
View Source
Pause()
Declaration
|
Improve this Doc
View Source
Play()
Declaration
|
Improve this Doc
View Source
Stop()
Declaration
Extension Methods