C# Класс CNCMaps.Engine.Rendering.VxlRenderer

Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
CreateContext ( ) : bool
CreateGameWindow ( ) : bool
CreateMesaContext ( ) : bool
DrawAxes ( ) : void
ExtractRotationVector ( float mtx ) : Vector3
MatrixVectorMultiply ( float mtx, float vec ) : float[]
SetupFramebuffer ( ) : bool
ToOpenGL ( Matrix4 source ) : float[]

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

GetBounds() публичный статический Метод

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
Результат Rectangle

Initialize() публичный Метод

public Initialize ( ) : void
Результат void

Render() публичный Метод

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
Результат CNCMaps.Engine.Rendering.DrawingSurface

RenderVoxel() публичный Метод

public RenderVoxel ( Vector3 v ) : void
v Vector3
Результат void