Метод | Описание | |
---|---|---|
AllocateSheet ( ) : |
||
BeginFrame ( ) : void | ||
Dispose ( ) : void | ||
EndFrame ( ) : void | ||
RenderAsync ( |
||
SetPalette ( ITexture palette ) : void | ||
SetViewportParams ( |
||
VoxelRenderer ( Renderer renderer, IShader shader ) : System |
Метод | Описание | |
---|---|---|
CalculateSpriteGeometry ( float2 tl, float2 br, float scale, |
||
DisableFrameBuffer ( IFrameBuffer fbo ) : void | ||
EnableFrameBuffer ( |
||
ExtractRotationVector ( float mtx ) : float[] | ||
Render ( |
public RenderAsync ( |
||
wr | ||
voxels | IEnumerable |
|
camera | WRot | |
scale | float | |
groundNormal | float | |
lightSource | WRot | |
lightAmbientColor | float | |
lightDiffuseColor | float | |
color | OpenRA.Graphics.PaletteReference | |
normals | OpenRA.Graphics.PaletteReference | |
shadowPalette | OpenRA.Graphics.PaletteReference | |
Результат |
public SetPalette ( ITexture palette ) : void | ||
palette | ITexture | |
Результат | void |
public SetViewportParams ( |
||
screen | ||
zoom | float | |
scroll | int2 | |
Результат | void |
public VoxelRenderer ( Renderer renderer, IShader shader ) : System | ||
renderer | Renderer | |
shader | IShader | |
Результат | System |