C# 클래스 UHSampleGame.CoreObjects.AnimatedModel

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

보호된 프로퍼티들

프로퍼티 타입 설명
animationPlayer SkinnedModel.AnimationPlayer
model Microsoft.Xna.Framework.Graphics.Model
scale float

공개 메소드들

메소드 설명
AnimatedModel ( ) : System

Default Constructor to setup Model

AnimatedModel ( Model model ) : System

Constructor consisting of a given model

Draw ( GameTime gameTime ) : void
PlayClip ( string take ) : void

Play a particular animation

SetupModel ( Model model ) : void

Adds a model to the Animated Model and performs setup

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

보호된 메소드들

메소드 설명
SetupCamera ( ) : void

Sets up default camera information

SetupModel ( ) : void

Performs required setup sequence for model

메소드 상세

AnimatedModel() 공개 메소드

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

AnimatedModel() 공개 메소드

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

Draw() 공개 메소드

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

PlayClip() 공개 메소드

Play a particular animation
public PlayClip ( string take ) : void
take string Animation to play
리턴 void

SetupCamera() 보호된 메소드

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

SetupModel() 보호된 메소드

Performs required setup sequence for model
protected SetupModel ( ) : void
리턴 void

SetupModel() 공개 메소드

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

Update() 공개 메소드

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

UpdateView() 공개 메소드

public UpdateView ( ) : void
리턴 void

프로퍼티 상세

animationPlayer 보호되어 있는 프로퍼티

protected AnimationPlayer,SkinnedModel animationPlayer
리턴 SkinnedModel.AnimationPlayer

model 보호되어 있는 프로퍼티

protected Model,Microsoft.Xna.Framework.Graphics model
리턴 Microsoft.Xna.Framework.Graphics.Model

scale 보호되어 있는 프로퍼티

protected float scale
리턴 float