C# Class UnityEngine.WebCamTexture

Inheritance: Texture
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode Description
GetPixel ( int x, int y ) : Color

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.

Private Methods

Méthode Description
GetPixels ( int x, int y, int blockWidth, int blockHeight ) : UnityEngine.Color[]
GetPixels32 ( ) : UnityEngine.Color32[]
GetPixels32 ( [ colors ) : UnityEngine.Color32[]
INTERNAL_CALL_GetPixel ( WebCamTexture self, int x, int y, Color &value ) : void
INTERNAL_CALL_Pause ( WebCamTexture self ) : void
INTERNAL_CALL_Play ( WebCamTexture self ) : void
INTERNAL_CALL_Stop ( WebCamTexture self ) : void
Internal_CreateWebCamTexture ( [ self, string scriptingDevice, int requestedWidth, int requestedHeight, int maxFramerate ) : void
MarkNonReadable ( ) : void

Method Details

GetPixel() public méthode

Returns pixel color at coordinates (x, y).

public GetPixel ( int x, int y ) : Color
x int
y int
Résultat Color

GetPixels() public méthode

Get a block of pixel colors.

public GetPixels ( ) : UnityEngine.Color[]
Résultat UnityEngine.Color[]

Pause() public méthode

Pauses the camera.

public Pause ( ) : void
Résultat void

Play() public méthode

Starts the camera.

public Play ( ) : void
Résultat void

Stop() public méthode

Stops the camera.

public Stop ( ) : void
Résultat void

WebCamTexture() public méthode

Create a WebCamTexture.

public WebCamTexture ( ) : System
Résultat System

WebCamTexture() public méthode

Create a WebCamTexture.

public WebCamTexture ( int requestedWidth, int requestedHeight ) : System
requestedWidth int The requested width of the texture.
requestedHeight int The requested height of the texture.
Résultat System

WebCamTexture() public méthode

Create a WebCamTexture.

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

WebCamTexture() public méthode

Create a WebCamTexture.

public WebCamTexture ( string deviceName ) : System
deviceName string The name of the video input device to be used.
Résultat System

WebCamTexture() public méthode

Create a WebCamTexture.

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

WebCamTexture() public méthode

Create a WebCamTexture.

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