C# Class FSO.LotView.Utils._3DWorldBatch

Used for drawing 3D elements in world.
Afficher le fichier Open project: RHY3756547/FreeSO

Méthodes publiques

Свойство Type Description
OBJIDMode bool

Méthodes publiques

Méthode 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

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

Method Details

ApplyCamera() public méthode

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

ApplyCamera() public méthode

public ApplyCamera ( Effect effect ) : void
effect Microsoft.Xna.Framework.Graphics.Effect
Résultat void

Begin() public méthode

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

DrawMesh() public méthode

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
Résultat void

End() public méthode

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

_3DWorldBatch() public méthode

public _3DWorldBatch ( WorldState state ) : System
state WorldState
Résultat System

Property Details

OBJIDMode public_oe property

public bool OBJIDMode
Résultat bool