C# Class FSO.LotView.Components.AvatarComponent

Inheritance: EntityComponent
显示文件 Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
Avatar FSO.Vitaboy.Avatar
DisplayFlags AvatarDisplayFlags
RadianDirection double

Public Methods

Method Description
Draw ( GraphicsDevice device, WorldState world ) : void
GetPelvisPosition ( ) : Vector3
GetSLOTPosition ( int slot ) : Vector3
GetScreenPos ( WorldState world ) : Vector2
Initialize ( GraphicsDevice device, WorldState world ) : void

Method Details

Draw() public method

public Draw ( GraphicsDevice device, WorldState world ) : void
device GraphicsDevice
world WorldState
return void

GetPelvisPosition() public method

public GetPelvisPosition ( ) : Vector3
return Vector3

GetSLOTPosition() public method

public GetSLOTPosition ( int slot ) : Vector3
slot int
return Vector3

GetScreenPos() public method

public GetScreenPos ( WorldState world ) : Vector2
world WorldState
return Vector2

Initialize() public method

public Initialize ( GraphicsDevice device, WorldState world ) : void
device GraphicsDevice
world WorldState
return void

Property Details

Avatar public_oe property

public Avatar,FSO.Vitaboy Avatar
return FSO.Vitaboy.Avatar

DisplayFlags public_oe property

public AvatarDisplayFlags DisplayFlags
return AvatarDisplayFlags

RadianDirection public_oe property

public double RadianDirection
return double