Property | Type | Description | |
---|---|---|---|
isClockwise | bool | ||
style | PGraphics.PStyle |
Method | Description | |
---|---|---|
PShape ( ShapeType type = ShapeType.NONE ) : UnityEditor | ||
apply ( |
||
applyMesh ( |
||
beginShape ( ShapeType type, bool isClockwise = true ) : void | ||
beginShape ( int type, bool isClockwise = true ) : void | ||
createEllipse ( float x, float y, float w, float h ) : |
||
createQuad ( float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4 ) : |
||
createRect ( float x, float y, float w, float h ) : |
||
disableStyle ( ) : void | ||
enableStyle ( ) : void | ||
endShape ( CloseType closeType = CloseType.NONE ) : void | ||
endShape ( int closeType ) : void | ||
fill ( |
||
fill ( int gray, int alpha = 255 ) : void | ||
fill ( int r, int g, int b, int a = 255 ) : void | ||
noFill ( ) : void | ||
noTint ( ) : void | ||
recalc ( |
||
saveAssetDB ( |
||
setFill ( |
||
setFill ( bool isFill ) : void | ||
setFill ( int gray, int alpha = 255 ) : void | ||
setFill ( int r, int g, int b, int a = 255 ) : void | ||
setTint ( |
||
setTint ( bool isTint ) : void | ||
setTint ( int gray, int alpha = 255 ) : void | ||
setTint ( int r, int g, int b, int a = 255 ) : void | ||
tint ( |
||
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 |
public PShape ( ShapeType type = ShapeType.NONE ) : UnityEditor | ||
type | ShapeType | |
return | UnityEditor |
public apply ( |
||
gameObject | ||
return | void |
public applyMesh ( |
||
gameObject | ||
return | void |
public beginShape ( ShapeType type, bool isClockwise = true ) : void | ||
type | ShapeType | |
isClockwise | bool | |
return | void |
public beginShape ( int type, bool isClockwise = true ) : void | ||
type | int | |
isClockwise | bool | |
return | void |
public createEllipse ( float x, float y, float w, float h ) : |
||
x | float | |
y | float | |
w | float | |
h | float | |
return |
public createQuad ( float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4 ) : |
||
x1 | float | |
y1 | float | |
x2 | float | |
y2 | float | |
x3 | float | |
y3 | float | |
x4 | float | |
y4 | float | |
return |
public createRect ( float x, float y, float w, float h ) : |
||
x | float | |
y | float | |
w | float | |
h | float | |
return |
public endShape ( CloseType closeType = CloseType.NONE ) : void | ||
closeType | CloseType | |
return | void |
public fill ( int gray, int alpha = 255 ) : void | ||
gray | int | |
alpha | int | |
return | void |
public fill ( int r, int g, int b, int a = 255 ) : void | ||
r | int | |
g | int | |
b | int | |
a | int | |
return | void |
public saveAssetDB ( |
||
mesh | ||
return | void |
public setFill ( int gray, int alpha = 255 ) : void | ||
gray | int | |
alpha | int | |
return | void |
public setFill ( int r, int g, int b, int a = 255 ) : void | ||
r | int | |
g | int | |
b | int | |
a | int | |
return | void |
public setTint ( int gray, int alpha = 255 ) : void | ||
gray | int | |
alpha | int | |
return | void |
public setTint ( int r, int g, int b, int a = 255 ) : void | ||
r | int | |
g | int | |
b | int | |
a | int | |
return | void |
public tint ( int gray, int alpha = 255 ) : void | ||
gray | int | |
alpha | int | |
return | void |
public tint ( int r, int g, int b, int a = 255 ) : void | ||
r | int | |
g | int | |
b | int | |
a | int | |
return | void |
public vertex ( float x, float y, float z = 0.0f ) : void | ||
x | float | |
y | float | |
z | float | |
return | void |
public vertex ( float x, float y, float u, float v ) : void | ||
x | float | |
y | float | |
u | float | |
v | float | |
return | void |
public vertex ( float x, float y, float z, float u, float v ) : void | ||
x | float | |
y | float | |
z | float | |
u | float | |
v | float | |
return | void |