C# 클래스 uP5.PImage

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: nryota/uProcessing 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
customData System.Object
path string
pixels UnityEngine.Color32[]
texture UnityEngine.Texture2D
width int

공개 메소드들

메소드 설명
clear ( Color col ) : void
create ( int width, int height, TextureFormat texFormat = TextureFormat.ARGB32 ) : void
get ( float x, float y ) : Color
load ( PGraphics g, string path ) : void
loadPixels ( ) : bool
set ( PImage img ) : void
set ( Texture2D tex ) : void
set ( float x, float y, Color col, bool isApply = true ) : void
updatePixels ( ) : void

비공개 메소드들

메소드 설명
loadFromLocalFile ( string path ) : bool
loadFromResources ( PGraphics g, string path ) : bool
loadFromURL ( string url ) : IEnumerator

메소드 상세

clear() 공개 메소드

public clear ( Color col ) : void
col UnityEngine.Color
리턴 void

create() 공개 메소드

public create ( int width, int height, TextureFormat texFormat = TextureFormat.ARGB32 ) : void
width int
height int
texFormat TextureFormat
리턴 void

get() 공개 메소드

public get ( float x, float y ) : Color
x float
y float
리턴 UnityEngine.Color

load() 공개 메소드

public load ( PGraphics g, string path ) : void
g PGraphics
path string
리턴 void

loadPixels() 공개 메소드

public loadPixels ( ) : bool
리턴 bool

set() 공개 메소드

public set ( PImage img ) : void
img PImage
리턴 void

set() 공개 메소드

public set ( Texture2D tex ) : void
tex UnityEngine.Texture2D
리턴 void

set() 공개 메소드

public set ( float x, float y, Color col, bool isApply = true ) : void
x float
y float
col UnityEngine.Color
isApply bool
리턴 void

updatePixels() 공개 메소드

public updatePixels ( ) : void
리턴 void

프로퍼티 상세

customData 공개적으로 프로퍼티

public System.Object customData
리턴 System.Object

path 공개적으로 프로퍼티

public string path
리턴 string

pixels 공개적으로 프로퍼티

public Color32[],UnityEngine pixels
리턴 UnityEngine.Color32[]

texture 공개적으로 프로퍼티

public Texture2D,UnityEngine texture
리턴 UnityEngine.Texture2D

width 공개적으로 프로퍼티

public int width
리턴 int