C# Class FSO.Client.UI.Controls.UISim

Renders a sim in the UI, this class just helps translate the UI world into the 3D world for sim rendering
Inheritance: FSO.Client.UI.Framework.UIElement
Show file Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
AutoRotate bool
Avatar FSO.Vitaboy.AdultVitaboyModel
HeadXPos float
RotationRange float
RotationSpeed float
RotationStartAngle float
SimScale float
ViewScale float

Protected Properties

Property Type Description
m_BodyOutfitID ulong
m_City CityInfo
m_CreatedThisSession bool
m_Description string
m_GUID Guid
m_HeadOutfitID ulong
m_HouseX short
m_LotID int
m_Name string
m_Sex string
m_Timestamp string

Public Methods

Method Description
AssignGUID ( string GUID ) : void

Received a server-generated GUID.

Draw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void
PreDraw ( UISpriteBatch batch ) : void
UISim ( Guid GUID ) : System
UISim ( Guid GUID, bool AddScene ) : System
UISim ( string GUID ) : System
UISim ( string GUID, bool AddScene ) : System
Update ( UpdateState state ) : void

Private Methods

Method Description
GraphicsDevice_DeviceReset ( object sender, EventArgs e ) : void
UISimInit ( ) : void

Method Details

AssignGUID() public method

Received a server-generated GUID.
public AssignGUID ( string GUID ) : void
GUID string The GUID to assign to this sim.
return void

Draw() public method

public Draw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void
batch FSO.Client.UI.Framework.UISpriteBatch
return void

PreDraw() public method

public PreDraw ( UISpriteBatch batch ) : void
batch UISpriteBatch
return void

UISim() public method

public UISim ( Guid GUID ) : System
GUID Guid
return System

UISim() public method

public UISim ( Guid GUID, bool AddScene ) : System
GUID Guid
AddScene bool
return System

UISim() public method

public UISim ( string GUID ) : System
GUID string
return System

UISim() public method

public UISim ( string GUID, bool AddScene ) : System
GUID string
AddScene bool
return System

Update() public method

public Update ( UpdateState state ) : void
state UpdateState
return void

Property Details

AutoRotate public property

public bool AutoRotate
return bool

Avatar public property

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

HeadXPos public property

public float HeadXPos
return float

RotationRange public property

public float RotationRange
return float

RotationSpeed public property

public float RotationSpeed
return float

RotationStartAngle public property

public float RotationStartAngle
return float

SimScale public property

public float SimScale
return float

ViewScale public property

public float ViewScale
return float

m_BodyOutfitID protected property

protected ulong m_BodyOutfitID
return ulong

m_City protected property

protected CityInfo m_City
return CityInfo

m_CreatedThisSession protected property

protected bool m_CreatedThisSession
return bool

m_Description protected property

protected string m_Description
return string

m_GUID protected property

protected Guid m_GUID
return Guid

m_HeadOutfitID protected property

protected ulong m_HeadOutfitID
return ulong

m_HouseX protected property

protected short m_HouseX
return short

m_LotID protected property

protected int m_LotID
return int

m_Name protected property

protected string m_Name
return string

m_Sex protected property

protected string m_Sex
return string

m_Timestamp protected property

protected string m_Timestamp
return string