C# 클래스 UHSampleGame.CoreObjects.StaticModel

파일 보기 프로젝트 열기: holtkampw/UH-Sample-XNA-Project 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Position Vector3
currentGlowScale float
elapsedGlowTime int
endGlowScale float
glow bool
maxGlowTime int
startGlowScale float

보호된 프로퍼티들

프로퍼티 타입 설명
game Microsoft.Xna.Framework.Game
scale float

공개 메소드들

메소드 설명
Draw ( GameTime gameTime ) : void
RotateX ( float rotation ) : void
RotateY ( float rotation ) : void
RotateZ ( float rotation ) : void
SetupModel ( Model model ) : void

Adds a model to the Static Model and performs setup

SetupModel ( Model newModel, Vector3 position ) : void

Adds a model to the Static Model and performs setup

StaticModel ( ) : System

Default Constructor to setup Model

StaticModel ( Model model ) : System

Constructor consisting of a given model

StaticModel ( Model newModel, Vector3 position ) : System

Constructor consisting of a given model

StaticModel ( Vector3 position ) : System

Default Constructor to setup Model

Update ( GameTime gameTime ) : void
UpdateTransforms ( GameTime gameTime ) : void
UpdateView ( ) : void

보호된 메소드들

메소드 설명
SetupCamera ( ) : void

Sets up default camera information

SetupModel ( ) : void
SetupModel ( Vector3 position ) : void

메소드 상세

Draw() 공개 메소드

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

RotateX() 공개 메소드

public RotateX ( float rotation ) : void
rotation float
리턴 void

RotateY() 공개 메소드

public RotateY ( float rotation ) : void
rotation float
리턴 void

RotateZ() 공개 메소드

public RotateZ ( float rotation ) : void
rotation float
리턴 void

SetupCamera() 보호된 메소드

Sets up default camera information
protected SetupCamera ( ) : void
리턴 void

SetupModel() 보호된 메소드

protected SetupModel ( ) : void
리턴 void

SetupModel() 공개 메소드

Adds a model to the Static Model and performs setup
public SetupModel ( Model model ) : void
model Microsoft.Xna.Framework.Graphics.Model Model for this instance
리턴 void

SetupModel() 공개 메소드

Adds a model to the Static Model and performs setup
public SetupModel ( Model newModel, Vector3 position ) : void
newModel Microsoft.Xna.Framework.Graphics.Model
position Vector3
리턴 void

SetupModel() 보호된 메소드

protected SetupModel ( Vector3 position ) : void
position Vector3
리턴 void

StaticModel() 공개 메소드

Default Constructor to setup Model
public StaticModel ( ) : System
리턴 System

StaticModel() 공개 메소드

Constructor consisting of a given model
public StaticModel ( Model model ) : System
model Microsoft.Xna.Framework.Graphics.Model Model for use
리턴 System

StaticModel() 공개 메소드

Constructor consisting of a given model
public StaticModel ( Model newModel, Vector3 position ) : System
newModel Microsoft.Xna.Framework.Graphics.Model
position Vector3
리턴 System

StaticModel() 공개 메소드

Default Constructor to setup Model
public StaticModel ( Vector3 position ) : System
position Vector3
리턴 System

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

UpdateTransforms() 공개 메소드

public UpdateTransforms ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

UpdateView() 공개 메소드

public UpdateView ( ) : void
리턴 void

프로퍼티 상세

Position 공개적으로 프로퍼티

The position of the object in 3D space
public Vector3 Position
리턴 Vector3

currentGlowScale 공개적으로 프로퍼티

public float currentGlowScale
리턴 float

elapsedGlowTime 공개적으로 프로퍼티

public int elapsedGlowTime
리턴 int

endGlowScale 공개적으로 프로퍼티

public float endGlowScale
리턴 float

game 보호되어 있는 프로퍼티

The Game the object is in
protected Game,Microsoft.Xna.Framework game
리턴 Microsoft.Xna.Framework.Game

glow 공개적으로 프로퍼티

public bool glow
리턴 bool

maxGlowTime 공개적으로 프로퍼티

public int maxGlowTime
리턴 int

scale 보호되어 있는 프로퍼티

protected float scale
리턴 float

startGlowScale 공개적으로 프로퍼티

public float startGlowScale
리턴 float