C# 클래스 uP5.PShape

파일 보기 프로젝트 열기: nryota/uProcessing 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
isClockwise bool
style PGraphics.PStyle

공개 메소드들

메소드 설명
PShape ( ShapeType type = ShapeType.NONE ) : UnityEditor
apply ( GameObject gameObject ) : void
applyMesh ( GameObject gameObject ) : void
beginShape ( ShapeType type, bool isClockwise = true ) : void
beginShape ( int type, bool isClockwise = true ) : void
createEllipse ( float x, float y, float w, float h ) : Mesh
createQuad ( float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4 ) : Mesh
createRect ( float x, float y, float w, float h ) : Mesh
disableStyle ( ) : void
enableStyle ( ) : void
endShape ( CloseType closeType = CloseType.NONE ) : void
endShape ( int closeType ) : void
fill ( Color col ) : void
fill ( int gray, int alpha = 255 ) : void
fill ( int r, int g, int b, int a = 255 ) : void
noFill ( ) : void
noTint ( ) : void
recalc ( Mesh mesh ) : void
saveAssetDB ( Mesh mesh ) : void
setFill ( Color col ) : void
setFill ( bool isFill ) : void
setFill ( int gray, int alpha = 255 ) : void
setFill ( int r, int g, int b, int a = 255 ) : void
setTint ( Color col ) : void
setTint ( bool isTint ) : void
setTint ( int gray, int alpha = 255 ) : void
setTint ( int r, int g, int b, int a = 255 ) : void
tint ( Color col ) : void
tint ( int gray, int alpha = 255 ) : void
tint ( int r, int g, int b, int a = 255 ) : void
vertex ( float x, float y, float z = 0.0f ) : void
vertex ( float x, float y, float u, float v ) : void
vertex ( float x, float y, float z, float u, float v ) : void

메소드 상세

PShape() 공개 메소드

public PShape ( ShapeType type = ShapeType.NONE ) : UnityEditor
type ShapeType
리턴 UnityEditor

apply() 공개 메소드

public apply ( GameObject gameObject ) : void
gameObject UnityEngine.GameObject
리턴 void

applyMesh() 공개 메소드

public applyMesh ( GameObject gameObject ) : void
gameObject UnityEngine.GameObject
리턴 void

beginShape() 공개 메소드

public beginShape ( ShapeType type, bool isClockwise = true ) : void
type ShapeType
isClockwise bool
리턴 void

beginShape() 공개 메소드

public beginShape ( int type, bool isClockwise = true ) : void
type int
isClockwise bool
리턴 void

createEllipse() 공개 메소드

public createEllipse ( float x, float y, float w, float h ) : Mesh
x float
y float
w float
h float
리턴 UnityEngine.Mesh

createQuad() 공개 메소드

public createQuad ( float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4 ) : Mesh
x1 float
y1 float
x2 float
y2 float
x3 float
y3 float
x4 float
y4 float
리턴 UnityEngine.Mesh

createRect() 공개 메소드

public createRect ( float x, float y, float w, float h ) : Mesh
x float
y float
w float
h float
리턴 UnityEngine.Mesh

disableStyle() 공개 메소드

public disableStyle ( ) : void
리턴 void

enableStyle() 공개 메소드

public enableStyle ( ) : void
리턴 void

endShape() 공개 메소드

public endShape ( CloseType closeType = CloseType.NONE ) : void
closeType CloseType
리턴 void

endShape() 공개 메소드

public endShape ( int closeType ) : void
closeType int
리턴 void

fill() 공개 메소드

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

fill() 공개 메소드

public fill ( int gray, int alpha = 255 ) : void
gray int
alpha int
리턴 void

fill() 공개 메소드

public fill ( int r, int g, int b, int a = 255 ) : void
r int
g int
b int
a int
리턴 void

noFill() 공개 메소드

public noFill ( ) : void
리턴 void

noTint() 공개 메소드

public noTint ( ) : void
리턴 void

recalc() 공개 메소드

public recalc ( Mesh mesh ) : void
mesh UnityEngine.Mesh
리턴 void

saveAssetDB() 공개 메소드

public saveAssetDB ( Mesh mesh ) : void
mesh UnityEngine.Mesh
리턴 void

setFill() 공개 메소드

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

setFill() 공개 메소드

public setFill ( bool isFill ) : void
isFill bool
리턴 void

setFill() 공개 메소드

public setFill ( int gray, int alpha = 255 ) : void
gray int
alpha int
리턴 void

setFill() 공개 메소드

public setFill ( int r, int g, int b, int a = 255 ) : void
r int
g int
b int
a int
리턴 void

setTint() 공개 메소드

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

setTint() 공개 메소드

public setTint ( bool isTint ) : void
isTint bool
리턴 void

setTint() 공개 메소드

public setTint ( int gray, int alpha = 255 ) : void
gray int
alpha int
리턴 void

setTint() 공개 메소드

public setTint ( int r, int g, int b, int a = 255 ) : void
r int
g int
b int
a int
리턴 void

tint() 공개 메소드

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

tint() 공개 메소드

public tint ( int gray, int alpha = 255 ) : void
gray int
alpha int
리턴 void

tint() 공개 메소드

public tint ( int r, int g, int b, int a = 255 ) : void
r int
g int
b int
a int
리턴 void

vertex() 공개 메소드

public vertex ( float x, float y, float z = 0.0f ) : void
x float
y float
z float
리턴 void

vertex() 공개 메소드

public vertex ( float x, float y, float u, float v ) : void
x float
y float
u float
v float
리턴 void

vertex() 공개 메소드

public vertex ( float x, float y, float z, float u, float v ) : void
x float
y float
z float
u float
v float
리턴 void

프로퍼티 상세

isClockwise 공개적으로 프로퍼티

public bool isClockwise
리턴 bool

style 공개적으로 프로퍼티

public PGraphics.PStyle style
리턴 PGraphics.PStyle