Свойство | Тип | Описание | |
---|---|---|---|
basicEffect | SharpDX.Toolkit.Graphics.BasicEffect | ||
game | Project2Game | ||
inputLayout | VertexInputLayout |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 AddChild ( INode childNode ) : void | ||
childNode | INode | |
Результат | void |
public Draw ( SharpDX.Toolkit.GameTime gametime ) : void | ||
gametime | SharpDX.Toolkit.GameTime | |
Результат | void |
protected GameObject ( Project2Game game, System.Vector3 position ) : System | ||
game | Project2Game | |
position | System.Vector3 | |
Результат | System |
protected GameObject ( Project2Game game, System.Vector3 position, System.Vector3 scale ) : System | ||
game | Project2Game | |
position | System.Vector3 | |
scale | System.Vector3 | |
Результат | 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 | |
Результат | System |
public RemoveChild ( INode childNode ) : void | ||
childNode | INode | |
Результат | void |
public Update ( SharpDX.Toolkit.GameTime gametime ) : void | ||
gametime | SharpDX.Toolkit.GameTime | |
Результат | void |
protected BasicEffect,SharpDX.Toolkit.Graphics basicEffect | ||
Результат | SharpDX.Toolkit.Graphics.BasicEffect |