C# Class CNCMaps.Engine.Rendering.VxlRenderer

Inheritance: IDisposable
Afficher le fichier Open project: zzattack/ccmaps-net

Méthodes publiques

Méthode Description
Dispose ( ) : void
GetBounds ( GameObject obj, CNCMaps.FileFormats.VxlFile vxl, CNCMaps.FileFormats.HvaFile hva, CNCMaps.Engine.Rendering.DrawProperties props ) : Rectangle
Initialize ( ) : void
Render ( CNCMaps.FileFormats.VxlFile vxl, CNCMaps.FileFormats.HvaFile hva, GameObject obj, CNCMaps.Engine.Rendering.DrawProperties props ) : CNCMaps.Engine.Rendering.DrawingSurface
RenderVoxel ( Vector3 v ) : void

Private Methods

Méthode Description
CreateContext ( ) : bool
CreateGameWindow ( ) : bool
CreateMesaContext ( ) : bool
DrawAxes ( ) : void
ExtractRotationVector ( float mtx ) : Vector3
MatrixVectorMultiply ( float mtx, float vec ) : float[]
SetupFramebuffer ( ) : bool
ToOpenGL ( Matrix4 source ) : float[]

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetBounds() public static méthode

public static GetBounds ( GameObject obj, CNCMaps.FileFormats.VxlFile vxl, CNCMaps.FileFormats.HvaFile hva, CNCMaps.Engine.Rendering.DrawProperties props ) : Rectangle
obj CNCMaps.Engine.Map.GameObject
vxl CNCMaps.FileFormats.VxlFile
hva CNCMaps.FileFormats.HvaFile
props CNCMaps.Engine.Rendering.DrawProperties
Résultat Rectangle

Initialize() public méthode

public Initialize ( ) : void
Résultat void

Render() public méthode

public Render ( CNCMaps.FileFormats.VxlFile vxl, CNCMaps.FileFormats.HvaFile hva, GameObject obj, CNCMaps.Engine.Rendering.DrawProperties props ) : CNCMaps.Engine.Rendering.DrawingSurface
vxl CNCMaps.FileFormats.VxlFile
hva CNCMaps.FileFormats.HvaFile
obj CNCMaps.Engine.Map.GameObject
props CNCMaps.Engine.Rendering.DrawProperties
Résultat CNCMaps.Engine.Rendering.DrawingSurface

RenderVoxel() public méthode

public RenderVoxel ( Vector3 v ) : void
v Vector3
Résultat void