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

Base class for scenes with 3D elements.
Mostrar archivo Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
Camera ICamera
ID string
IsInvalidated bool
Visible bool

Protected Properties

Property Type Description
m_Device GraphicsDevice

Public Methods

Method Description
Add ( _3DComponent item ) : void
DeviceReset ( GraphicsDevice Device ) : void
Draw ( GraphicsDevice device ) : void
GetElements ( ) : List<_3DComponent>
Initialize ( _3DLayer layer ) : void
PreDraw ( GraphicsDevice device ) : void
Update ( UpdateState Time ) : void
_3DAbstract ( GraphicsDevice Device ) : System

Creates a new _3DAbstract instance.

Private Methods

Method Description
m_Device_DeviceReset ( object sender, EventArgs e ) : void

Called when m_Device is reset.

Method Details

Add() public abstract method

public abstract Add ( _3DComponent item ) : void
item _3DComponent
return void

DeviceReset() public abstract method

public abstract DeviceReset ( GraphicsDevice Device ) : void
Device GraphicsDevice
return void

Draw() public abstract method

public abstract Draw ( GraphicsDevice device ) : void
device GraphicsDevice
return void

GetElements() public abstract method

public abstract GetElements ( ) : List<_3DComponent>
return List<_3DComponent>

Initialize() public method

public Initialize ( _3DLayer layer ) : void
layer _3DLayer
return void

PreDraw() public method

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

Update() public abstract method

public abstract Update ( UpdateState Time ) : void
Time FSO.Common.Rendering.Framework.Model.UpdateState
return void

_3DAbstract() public method

Creates a new _3DAbstract instance.
public _3DAbstract ( GraphicsDevice Device ) : System
Device GraphicsDevice A GraphicsDevice instance.
return System

Property Details

Camera public_oe property

public ICamera Camera
return ICamera

ID public_oe property

public string ID
return string

IsInvalidated public_oe static_oe property

public static bool IsInvalidated
return bool

Visible public_oe property

public bool Visible
return bool

m_Device protected_oe property

protected GraphicsDevice m_Device
return GraphicsDevice