Property | Type | Description | |
---|---|---|---|
basicEffect | SharpDX.Toolkit.Graphics.BasicEffect | ||
game | Project2Game | ||
inputLayout | VertexInputLayout |
Method | Description | |
---|---|---|
AddChild ( INode childNode ) : void | ||
BeginDraw ( ) : bool | ||
Draw ( SharpDX.Toolkit.GameTime gametime ) : void |
Sets up basicEffect parameters for drawing
|
|
EndDraw ( ) : void | ||
LoadContent ( ) : void | ||
RemoveChild ( INode childNode ) : void | ||
Update ( SharpDX.Toolkit.GameTime gametime ) : void |
Method | Description | |
---|---|---|
GameObject ( Project2Game game, System.Vector3 position ) : System |
Create new GameObject with default orientation and size.
|
|
GameObject ( Project2Game game, System.Vector3 position, System.Vector3 scale ) : System |
Create a new GameObject with default orientation.
|
|
GameObject ( Project2Game game, System.Vector3 position, System.Vector3 orientation, System.Vector3 scale ) : System | ||
UpdateWorldMatrix ( ) : void |
public Draw ( SharpDX.Toolkit.GameTime gametime ) : void | ||
gametime | SharpDX.Toolkit.GameTime | |
return | void |
protected GameObject ( Project2Game game, System.Vector3 position ) : System | ||
game | Project2Game | |
position | System.Vector3 | |
return | System |
protected GameObject ( Project2Game game, System.Vector3 position, System.Vector3 scale ) : System | ||
game | Project2Game | |
position | System.Vector3 | |
scale | System.Vector3 | |
return | System |
protected GameObject ( Project2Game game, System.Vector3 position, System.Vector3 orientation, System.Vector3 scale ) : System | ||
game | Project2Game | |
position | System.Vector3 | |
orientation | System.Vector3 | |
scale | System.Vector3 | |
return | System |
public RemoveChild ( INode childNode ) : void | ||
childNode | INode | |
return | void |
public Update ( SharpDX.Toolkit.GameTime gametime ) : void | ||
gametime | SharpDX.Toolkit.GameTime | |
return | void |
protected BasicEffect,SharpDX.Toolkit.Graphics basicEffect | ||
return | SharpDX.Toolkit.Graphics.BasicEffect |