C# 클래스 UnityEngine.WebCamTexture

상속: Texture
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

Private Properties

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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

메소드 상세

GetPixel() 공개 메소드

Returns pixel color at coordinates (x, y).

public GetPixel ( int x, int y ) : Color
x int
y int
리턴 Color

GetPixels() 공개 메소드

Get a block of pixel colors.

public GetPixels ( ) : UnityEngine.Color[]
리턴 UnityEngine.Color[]

Pause() 공개 메소드

Pauses the camera.

public Pause ( ) : void
리턴 void

Play() 공개 메소드

Starts the camera.

public Play ( ) : void
리턴 void

Stop() 공개 메소드

Stops the camera.

public Stop ( ) : void
리턴 void

WebCamTexture() 공개 메소드

Create a WebCamTexture.

public WebCamTexture ( ) : System
리턴 System

WebCamTexture() 공개 메소드

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.
리턴 System

WebCamTexture() 공개 메소드

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.
리턴 System

WebCamTexture() 공개 메소드

Create a WebCamTexture.

public WebCamTexture ( string deviceName ) : System
deviceName string The name of the video input device to be used.
리턴 System

WebCamTexture() 공개 메소드

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.
리턴 System

WebCamTexture() 공개 메소드

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.
리턴 System