C# 클래스 FSO.Vitaboy.Avatar

The base class for all avatars in the game.
상속: FSO.Common.Rendering.Framework._3DComponent
파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Bindings List
Effect Microsoft.Xna.Framework.Graphics.Effect

공개 메소드들

메소드 설명
AddAccessory ( Appearance apr ) : void

Adds an accessory to this avatar.

Avatar ( Avatar old ) : System
Avatar ( Skeleton skel ) : System

Creates a new Avatar instance.

DeviceReset ( GraphicsDevice Device ) : void
Draw ( Microsoft device ) : void

Draws the meshes making up this Avatar instance.

DrawGeometry ( Microsoft device, Effect effect ) : void
Initialize ( ) : void

Initializes this Avatar instance.

ReloadSkeleton ( ) : void

When the skeleton changes (for example due to an animation) this method will recompute the meshes to adhere to the new skeleton positions.

RemoveAccessory ( Appearance apr ) : void

Remove an accessory from this avatar.

RemoveAppearance ( AvatarAppearanceInstance appearance, bool dispose ) : void

Removes an Appearance instance from this avatar.

StoreOnGPU ( GraphicsDevice device ) : void
Update ( FSO state ) : void

Updates this Avatar instance.

setVitaboyEffect ( Effect e ) : void

보호된 메소드들

메소드 설명
AddAppearance ( Appearance appearance ) : AvatarAppearanceInstance

Adds an Appearance instance to this avatar.

AddBinding ( Binding binding ) : AvatarBindingInstance

Adds a Binding instance to this avatar.

RemoveBinding ( AvatarBindingInstance instance, bool dispose ) : void

Removes a Binding instance from this avatar.

메소드 상세

AddAccessory() 공개 메소드

Adds an accessory to this avatar.
public AddAccessory ( Appearance apr ) : void
apr Appearance The Appearance instance of the accessory.
리턴 void

AddAppearance() 보호된 메소드

Adds an Appearance instance to this avatar.
protected AddAppearance ( Appearance appearance ) : AvatarAppearanceInstance
appearance Appearance The Appearance instance to add.
리턴 AvatarAppearanceInstance

AddBinding() 보호된 메소드

Adds a Binding instance to this avatar.
protected AddBinding ( Binding binding ) : AvatarBindingInstance
binding Binding The Binding instance to add.
리턴 AvatarBindingInstance

Avatar() 공개 메소드

public Avatar ( Avatar old ) : System
old Avatar
리턴 System

Avatar() 공개 메소드

Creates a new Avatar instance.
public Avatar ( Skeleton skel ) : System
skel Skeleton A Skeleton instance.
리턴 System

DeviceReset() 공개 메소드

public DeviceReset ( GraphicsDevice Device ) : void
Device GraphicsDevice
리턴 void

Draw() 공개 메소드

Draws the meshes making up this Avatar instance.
public Draw ( Microsoft device ) : void
device Microsoft A GraphicsDevice instance.
리턴 void

DrawGeometry() 공개 메소드

public DrawGeometry ( Microsoft device, Effect effect ) : void
device Microsoft
effect Microsoft.Xna.Framework.Graphics.Effect
리턴 void

Initialize() 공개 메소드

Initializes this Avatar instance.
public Initialize ( ) : void
리턴 void

ReloadSkeleton() 공개 메소드

When the skeleton changes (for example due to an animation) this method will recompute the meshes to adhere to the new skeleton positions.
public ReloadSkeleton ( ) : void
리턴 void

RemoveAccessory() 공개 메소드

Remove an accessory from this avatar.
public RemoveAccessory ( Appearance apr ) : void
apr Appearance The Appearance of the accessory to remove.
리턴 void

RemoveAppearance() 공개 메소드

Removes an Appearance instance from this avatar.
public RemoveAppearance ( AvatarAppearanceInstance appearance, bool dispose ) : void
appearance AvatarAppearanceInstance The Appearance instance to remove.
dispose bool Should the appearance be disposed?
리턴 void

RemoveBinding() 보호된 메소드

Removes a Binding instance from this avatar.
protected RemoveBinding ( AvatarBindingInstance instance, bool dispose ) : void
instance AvatarBindingInstance The Binding instance to remove.
dispose bool Should the binding be disposed?
리턴 void

StoreOnGPU() 공개 메소드

public StoreOnGPU ( GraphicsDevice device ) : void
device GraphicsDevice
리턴 void

Update() 공개 메소드

Updates this Avatar instance.
public Update ( FSO state ) : void
state FSO An UpdateState instance.
리턴 void

setVitaboyEffect() 공개 정적인 메소드

public static setVitaboyEffect ( Effect e ) : void
e Microsoft.Xna.Framework.Graphics.Effect
리턴 void

프로퍼티 상세

Bindings 공개적으로 프로퍼티

public List Bindings
리턴 List

Effect 공개적으로 정적으로 프로퍼티

public static Effect,Microsoft.Xna.Framework.Graphics Effect
리턴 Microsoft.Xna.Framework.Graphics.Effect