C# Class uP5.PShape

Afficher le fichier Open project: nryota/uProcessing Class Usage Examples

Méthodes publiques

Свойство Type Description
isClockwise bool
style PGraphics.PStyle

Méthodes publiques

Méthode Description
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

Method Details

PShape() public méthode

public PShape ( ShapeType type = ShapeType.NONE ) : UnityEditor
type ShapeType
Résultat UnityEditor

apply() public méthode

public apply ( GameObject gameObject ) : void
gameObject UnityEngine.GameObject
Résultat void

applyMesh() public méthode

public applyMesh ( GameObject gameObject ) : void
gameObject UnityEngine.GameObject
Résultat void

beginShape() public méthode

public beginShape ( ShapeType type, bool isClockwise = true ) : void
type ShapeType
isClockwise bool
Résultat void

beginShape() public méthode

public beginShape ( int type, bool isClockwise = true ) : void
type int
isClockwise bool
Résultat void

createEllipse() public méthode

public createEllipse ( float x, float y, float w, float h ) : Mesh
x float
y float
w float
h float
Résultat UnityEngine.Mesh

createQuad() public méthode

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
Résultat UnityEngine.Mesh

createRect() public méthode

public createRect ( float x, float y, float w, float h ) : Mesh
x float
y float
w float
h float
Résultat UnityEngine.Mesh

disableStyle() public méthode

public disableStyle ( ) : void
Résultat void

enableStyle() public méthode

public enableStyle ( ) : void
Résultat void

endShape() public méthode

public endShape ( CloseType closeType = CloseType.NONE ) : void
closeType CloseType
Résultat void

endShape() public méthode

public endShape ( int closeType ) : void
closeType int
Résultat void

fill() public méthode

public fill ( Color col ) : void
col UnityEngine.Color
Résultat void

fill() public méthode

public fill ( int gray, int alpha = 255 ) : void
gray int
alpha int
Résultat void

fill() public méthode

public fill ( int r, int g, int b, int a = 255 ) : void
r int
g int
b int
a int
Résultat void

noFill() public méthode

public noFill ( ) : void
Résultat void

noTint() public méthode

public noTint ( ) : void
Résultat void

recalc() public méthode

public recalc ( Mesh mesh ) : void
mesh UnityEngine.Mesh
Résultat void

saveAssetDB() public méthode

public saveAssetDB ( Mesh mesh ) : void
mesh UnityEngine.Mesh
Résultat void

setFill() public méthode

public setFill ( Color col ) : void
col UnityEngine.Color
Résultat void

setFill() public méthode

public setFill ( bool isFill ) : void
isFill bool
Résultat void

setFill() public méthode

public setFill ( int gray, int alpha = 255 ) : void
gray int
alpha int
Résultat void

setFill() public méthode

public setFill ( int r, int g, int b, int a = 255 ) : void
r int
g int
b int
a int
Résultat void

setTint() public méthode

public setTint ( Color col ) : void
col UnityEngine.Color
Résultat void

setTint() public méthode

public setTint ( bool isTint ) : void
isTint bool
Résultat void

setTint() public méthode

public setTint ( int gray, int alpha = 255 ) : void
gray int
alpha int
Résultat void

setTint() public méthode

public setTint ( int r, int g, int b, int a = 255 ) : void
r int
g int
b int
a int
Résultat void

tint() public méthode

public tint ( Color col ) : void
col UnityEngine.Color
Résultat void

tint() public méthode

public tint ( int gray, int alpha = 255 ) : void
gray int
alpha int
Résultat void

tint() public méthode

public tint ( int r, int g, int b, int a = 255 ) : void
r int
g int
b int
a int
Résultat void

vertex() public méthode

public vertex ( float x, float y, float z = 0.0f ) : void
x float
y float
z float
Résultat void

vertex() public méthode

public vertex ( float x, float y, float u, float v ) : void
x float
y float
u float
v float
Résultat void

vertex() public méthode

public vertex ( float x, float y, float z, float u, float v ) : void
x float
y float
z float
u float
v float
Résultat void

Property Details

isClockwise public_oe property

public bool isClockwise
Résultat bool

style public_oe property

public PGraphics.PStyle style
Résultat PGraphics.PStyle