C# 클래스 Project2.GameObjects.Abstract.GameObject

상속: IUpdateable, IDrawable, INode
파일 보기 프로젝트 열기: nuclearpidgeon/graphicsproj2

보호된 프로퍼티들

프로퍼티 타입 설명
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

메소드 상세

AddChild() 공개 메소드

public AddChild ( INode childNode ) : void
childNode INode
리턴 void

BeginDraw() 공개 메소드

public BeginDraw ( ) : bool
리턴 bool

Draw() 공개 메소드

Sets up basicEffect parameters for drawing
public Draw ( SharpDX.Toolkit.GameTime gametime ) : void
gametime SharpDX.Toolkit.GameTime
리턴 void

EndDraw() 공개 메소드

public EndDraw ( ) : void
리턴 void

GameObject() 보호된 메소드

Create new GameObject with default orientation and size.
protected GameObject ( Project2Game game, System.Vector3 position ) : System
game Project2Game
position System.Vector3
리턴 System

GameObject() 보호된 메소드

Create a new GameObject with default orientation.
protected GameObject ( Project2Game game, System.Vector3 position, System.Vector3 scale ) : System
game Project2Game
position System.Vector3
scale System.Vector3
리턴 System

GameObject() 보호된 메소드

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

LoadContent() 공개 메소드

public LoadContent ( ) : void
리턴 void

RemoveChild() 공개 메소드

public RemoveChild ( INode childNode ) : void
childNode INode
리턴 void

Update() 공개 메소드

public Update ( SharpDX.Toolkit.GameTime gametime ) : void
gametime SharpDX.Toolkit.GameTime
리턴 void

UpdateWorldMatrix() 보호된 메소드

protected UpdateWorldMatrix ( ) : void
리턴 void

프로퍼티 상세

basicEffect 보호되어 있는 프로퍼티

protected BasicEffect,SharpDX.Toolkit.Graphics basicEffect
리턴 SharpDX.Toolkit.Graphics.BasicEffect

game 보호되어 있는 프로퍼티

protected Project2Game game
리턴 Project2Game

inputLayout 보호되어 있는 프로퍼티

protected VertexInputLayout inputLayout
리턴 VertexInputLayout