C# Class uP5.PGameObject

Inheritance: UnityEngine.MonoBehaviour
Datei anzeigen Open project: nryota/uProcessing Class Usage Examples

Public Properties

Property Type Description
customData System.Object
primitiveType PrimitiveType

Public Methods

Method Description
Awake ( ) : void
addChild ( PGameObject obj ) : PGameObject
addRigid ( ) : Rigidbody
addRigid2D ( ) : Rigidbody2D
animHash ( string name ) : int
animStateInfo ( int index ) : AnimatorStateInfo
beginDraw ( ) : PGraphics
beginKeepDraw ( ) : PGraphics
beginNoRecycleDraw ( ) : PGraphics
beginRecycleDraw ( short id ) : PGraphics
destroy ( ) : void
draw ( ) : void
endDraw ( ) : void
endKeepDraw ( ) : void
endRecycleDraw ( ) : void
fill ( Color col ) : void
fill ( int gray, int alpha = 255 ) : void
fill ( int r, int g, int b, int a = 255 ) : void
isAnimState ( string name ) : bool
noFill ( Color col ) : void
noStroke ( Color col ) : void
noTint ( Color col ) : void
raycastScreen ( float x, float y, float distance = PGraphics.INFINITY, int layerMask = -1 ) : RaycastHit
raycastScreen ( float distance = PGraphics.INFINITY, int layerMask = -1 ) : RaycastHit
rotate ( float angle ) : void
rotate ( float angle, float x, float y, float z ) : void
rotateX ( float angle ) : void
rotateY ( float angle ) : void
rotateZ ( float angle ) : void
scale ( float s ) : void
scale ( float x, float y, float z = 1.0f ) : void
setup ( ) : void
stroke ( Color col ) : void
stroke ( int gray, int alpha = 255 ) : void
stroke ( int r, int g, int b, int a = 255 ) : void
strokeWeight ( float weight ) : void
tint ( Color col ) : void
tint ( int gray, int alpha = 255 ) : void
tint ( int r, int g, int b, int a = 255 ) : void
translate ( float x, float y, float z = 0.0f ) : void

Protected Methods

Method Description
Start ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

Start() protected method

protected Start ( ) : void
return void

addChild() public method

public addChild ( PGameObject obj ) : PGameObject
obj PGameObject
return PGameObject

addRigid() public method

public addRigid ( ) : Rigidbody
return UnityEngine.Rigidbody

addRigid2D() public method

public addRigid2D ( ) : Rigidbody2D
return UnityEngine.Rigidbody2D

animHash() public method

public animHash ( string name ) : int
name string
return int

animStateInfo() public method

public animStateInfo ( int index ) : AnimatorStateInfo
index int
return UnityEngine.AnimatorStateInfo

beginDraw() public method

public beginDraw ( ) : PGraphics
return PGraphics

beginKeepDraw() public method

public beginKeepDraw ( ) : PGraphics
return PGraphics

beginNoRecycleDraw() public method

public beginNoRecycleDraw ( ) : PGraphics
return PGraphics

beginRecycleDraw() public method

public beginRecycleDraw ( short id ) : PGraphics
id short
return PGraphics

destroy() public method

public destroy ( ) : void
return void

draw() public method

public draw ( ) : void
return void

endDraw() public method

public endDraw ( ) : void
return void

endKeepDraw() public method

public endKeepDraw ( ) : void
return void

endRecycleDraw() public method

public endRecycleDraw ( ) : void
return void

fill() public method

public fill ( Color col ) : void
col UnityEngine.Color
return void

fill() public method

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

fill() public method

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

isAnimState() public method

public isAnimState ( string name ) : bool
name string
return bool

noFill() public method

public noFill ( Color col ) : void
col Color
return void

noStroke() public method

public noStroke ( Color col ) : void
col Color
return void

noTint() public method

public noTint ( Color col ) : void
col Color
return void

raycastScreen() public method

public raycastScreen ( float x, float y, float distance = PGraphics.INFINITY, int layerMask = -1 ) : RaycastHit
x float
y float
distance float
layerMask int
return RaycastHit

raycastScreen() public method

public raycastScreen ( float distance = PGraphics.INFINITY, int layerMask = -1 ) : RaycastHit
distance float
layerMask int
return RaycastHit

rotate() public method

public rotate ( float angle ) : void
angle float
return void

rotate() public method

public rotate ( float angle, float x, float y, float z ) : void
angle float
x float
y float
z float
return void

rotateX() public method

public rotateX ( float angle ) : void
angle float
return void

rotateY() public method

public rotateY ( float angle ) : void
angle float
return void

rotateZ() public method

public rotateZ ( float angle ) : void
angle float
return void

scale() public method

public scale ( float s ) : void
s float
return void

scale() public method

public scale ( float x, float y, float z = 1.0f ) : void
x float
y float
z float
return void

setup() public method

public setup ( ) : void
return void

stroke() public method

public stroke ( Color col ) : void
col Color
return void

stroke() public method

public stroke ( int gray, int alpha = 255 ) : void
gray int
alpha int
return void

stroke() public method

public stroke ( int r, int g, int b, int a = 255 ) : void
r int
g int
b int
a int
return void

strokeWeight() public method

public strokeWeight ( float weight ) : void
weight float
return void

tint() public method

public tint ( Color col ) : void
col Color
return void

tint() public method

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

tint() public method

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

translate() public method

public translate ( float x, float y, float z = 0.0f ) : void
x float
y float
z float
return void

Property Details

customData public_oe property

public System.Object customData
return System.Object

primitiveType public_oe property

public PrimitiveType primitiveType
return PrimitiveType