Property | Type | Description | |
---|---|---|---|
GetPixels | UnityEngine.Color[] | ||
GetPixels32 | UnityEngine.Color32[] | ||
GetPixels32 | UnityEngine.Color32[] | ||
INTERNAL_CALL_GetPixel | void | ||
INTERNAL_CALL_Pause | void | ||
INTERNAL_CALL_Play | void | ||
INTERNAL_CALL_Stop | void | ||
Internal_CreateWebCamTexture | void | ||
MarkNonReadable | void |
Method | Description | |
---|---|---|
GetPixel ( int x, int y ) : |
Returns pixel color at coordinates (x, y).
|
|
GetPixels ( ) : UnityEngine.Color[] |
Get a block of pixel colors.
|
|
Pause ( ) : void |
Pauses the camera.
|
|
Play ( ) : void |
Starts the camera.
|
|
Stop ( ) : void |
Stops the camera.
|
|
WebCamTexture ( ) : System |
Create a WebCamTexture.
|
|
WebCamTexture ( int requestedWidth, int requestedHeight ) : System |
Create a WebCamTexture.
|
|
WebCamTexture ( int requestedWidth, int requestedHeight, int requestedFPS ) : System |
Create a WebCamTexture.
|
|
WebCamTexture ( string deviceName ) : System |
Create a WebCamTexture.
|
|
WebCamTexture ( string deviceName, int requestedWidth, int requestedHeight ) : System |
Create a WebCamTexture.
|
|
WebCamTexture ( string deviceName, int requestedWidth, int requestedHeight, int requestedFPS ) : System |
Create a WebCamTexture.
|
Method | Description | |
---|---|---|
GetPixels ( int x, int y, int blockWidth, int blockHeight ) : UnityEngine.Color[] | ||
GetPixels32 ( ) : UnityEngine.Color32[] | ||
GetPixels32 ( [ colors ) : UnityEngine.Color32[] | ||
INTERNAL_CALL_GetPixel ( |
||
INTERNAL_CALL_Pause ( |
||
INTERNAL_CALL_Play ( |
||
INTERNAL_CALL_Stop ( |
||
Internal_CreateWebCamTexture ( [ self, string scriptingDevice, int requestedWidth, int requestedHeight, int maxFramerate ) : void | ||
MarkNonReadable ( ) : void |
public WebCamTexture ( int requestedWidth, int requestedHeight ) : System | ||
requestedWidth | int | The requested width of the texture. |
requestedHeight | int | The requested height of the texture. |
return | System |
public WebCamTexture ( int requestedWidth, int requestedHeight, int requestedFPS ) : System | ||
requestedWidth | int | The requested width of the texture. |
requestedHeight | int | The requested height of the texture. |
requestedFPS | int | The requested frame rate of the texture. |
return | System |
public WebCamTexture ( string deviceName ) : System | ||
deviceName | string | The name of the video input device to be used. |
return | System |
public WebCamTexture ( string deviceName, int requestedWidth, int requestedHeight ) : System | ||
deviceName | string | The name of the video input device to be used. |
requestedWidth | int | The requested width of the texture. |
requestedHeight | int | The requested height of the texture. |
return | System |
public WebCamTexture ( string deviceName, int requestedWidth, int requestedHeight, int requestedFPS ) : System | ||
deviceName | string | The name of the video input device to be used. |
requestedWidth | int | The requested width of the texture. |
requestedHeight | int | The requested height of the texture. |
requestedFPS | int | The requested frame rate of the texture. |
return | System |