C# 클래스 UnityEngine.Networking.DownloadHandlerTexture

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

공개 메소드들

메소드 설명
DownloadHandlerTexture ( ) : System

Default constructor.

DownloadHandlerTexture ( bool readable ) : System

Constructor, allows TextureImporter.isReadable property to be set.

GetContent ( UnityWebRequest www ) : Texture2D

Returns the downloaded Texture, or null.

보호된 메소드들

메소드 설명
GetData ( ) : byte[]

Called by DownloadHandler.data. Returns a copy of the downloaded image data as raw bytes.

비공개 메소드들

메소드 설명
InternalGetData ( ) : byte[]
InternalGetTexture ( ) : Texture2D

메소드 상세

DownloadHandlerTexture() 공개 메소드

Default constructor.

public DownloadHandlerTexture ( ) : System
리턴 System

DownloadHandlerTexture() 공개 메소드

Constructor, allows TextureImporter.isReadable property to be set.

public DownloadHandlerTexture ( bool readable ) : System
readable bool Value to set for TextureImporter.isReadable.
리턴 System

GetContent() 공개 정적인 메소드

Returns the downloaded Texture, or null.

public static GetContent ( UnityWebRequest www ) : Texture2D
www UnityWebRequest A finished UnityWebRequest object with DownloadHandlerTexture attached.
리턴 UnityEngine.Texture2D

GetData() 보호된 메소드

Called by DownloadHandler.data. Returns a copy of the downloaded image data as raw bytes.

protected GetData ( ) : byte[]
리턴 byte[]