C# Class FSO.Common.Rendering.Framework._3DLayer

Inheritance: IGraphicsLayer
ファイルを表示 Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
Device Microsoft.Xna.Framework.Graphics.GraphicsDevice
External List<_3DAbstract>
Scenes List<_3DAbstract>

Public Methods

Method Description
Add ( _3DAbstract scene ) : void
AddExternal ( _3DAbstract scene ) : void

Adds a scene to the draw stack. The system will not call Draw on the scene but it will be initialized and given updates

Draw ( Microsoft device ) : void
Initialize ( Microsoft device ) : void
PreDraw ( Microsoft device ) : void
Remove ( _3DAbstract scene ) : void
RemoveExternal ( _3DAbstract scene ) : void
Update ( FSO state ) : void

Method Details

Add() public method

public Add ( _3DAbstract scene ) : void
scene _3DAbstract
return void

AddExternal() public method

Adds a scene to the draw stack. The system will not call Draw on the scene but it will be initialized and given updates
public AddExternal ( _3DAbstract scene ) : void
scene _3DAbstract
return void

Draw() public method

public Draw ( Microsoft device ) : void
device Microsoft
return void

Initialize() public method

public Initialize ( Microsoft device ) : void
device Microsoft
return void

PreDraw() public method

public PreDraw ( Microsoft device ) : void
device Microsoft
return void

Remove() public method

public Remove ( _3DAbstract scene ) : void
scene _3DAbstract
return void

RemoveExternal() public method

public RemoveExternal ( _3DAbstract scene ) : void
scene _3DAbstract
return void

Update() public method

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

Property Details

Device public_oe property

public GraphicsDevice,Microsoft.Xna.Framework.Graphics Device
return Microsoft.Xna.Framework.Graphics.GraphicsDevice

External public_oe property

public List<_3DAbstract> External
return List<_3DAbstract>

Scenes public_oe property

public List<_3DAbstract> Scenes
return List<_3DAbstract>