C# Class FSO.LotView.Utils._3DWorldBatch

Used for drawing 3D elements in world.
Mostrar archivo Open project: RHY3756547/FreeSO

Public Properties

Property Type Description
OBJIDMode bool

Public Methods

Method Description
ApplyCamera ( BasicEffect effect, WorldComponent component ) : void
ApplyCamera ( Effect effect ) : void
Begin ( GraphicsDevice device ) : void

Begins rendering, should always be called before DrawMesh()!

DrawMesh ( Matrix world, Avatar binding, short objID, ushort room, Color color ) : void
End ( ) : void

Ends rendering, should always be called after DrawMesh()!

_3DWorldBatch ( WorldState state ) : System

Private Methods

Method Description
RenderSpriteList ( List<_3DSprite> sprites, Effect effect, EffectTechnique technique ) : void

Method Details

ApplyCamera() public method

public ApplyCamera ( BasicEffect effect, WorldComponent component ) : void
effect Microsoft.Xna.Framework.Graphics.BasicEffect
component WorldComponent
return void

ApplyCamera() public method

public ApplyCamera ( Effect effect ) : void
effect Microsoft.Xna.Framework.Graphics.Effect
return void

Begin() public method

Begins rendering, should always be called before DrawMesh()!
public Begin ( GraphicsDevice device ) : void
device GraphicsDevice GraphicsDevice instance.
return void

DrawMesh() public method

public DrawMesh ( Matrix world, Avatar binding, short objID, ushort room, Color color ) : void
world Matrix
binding FSO.Vitaboy.Avatar
objID short
room ushort
color Color
return void

End() public method

Ends rendering, should always be called after DrawMesh()!
public End ( ) : void
return void

_3DWorldBatch() public method

public _3DWorldBatch ( WorldState state ) : System
state WorldState
return System

Property Details

OBJIDMode public_oe property

public bool OBJIDMode
return bool