C# Class OpenRA.Mods.Common.Graphics.VoxelRenderable

Afficher le fichier Open project: pchote/OpenRA Class Usage Examples

Méthodes publiques

Méthode Description
AsDecoration ( ) : IRenderable
OffsetBy ( WVec vec ) : IRenderable
PrepareRender ( WorldRenderer wr ) : IFinalizedRenderable
VoxelRenderable ( IEnumerable voxels, WPos pos, int zOffset, WRot camera, float scale, WRot lightSource, float lightAmbientColor, float lightDiffuseColor, OpenRA.Graphics.PaletteReference color, OpenRA.Graphics.PaletteReference normals, OpenRA.Graphics.PaletteReference shadow ) : System
WithPalette ( OpenRA.Graphics.PaletteReference newPalette ) : IRenderable
WithZOffset ( int newOffset ) : IRenderable

Method Details

AsDecoration() public méthode

public AsDecoration ( ) : IRenderable
Résultat IRenderable

OffsetBy() public méthode

public OffsetBy ( WVec vec ) : IRenderable
vec WVec
Résultat IRenderable

PrepareRender() public méthode

public PrepareRender ( WorldRenderer wr ) : IFinalizedRenderable
wr OpenRA.Graphics.WorldRenderer
Résultat IFinalizedRenderable

VoxelRenderable() public méthode

public VoxelRenderable ( IEnumerable voxels, WPos pos, int zOffset, WRot camera, float scale, WRot lightSource, float lightAmbientColor, float lightDiffuseColor, OpenRA.Graphics.PaletteReference color, OpenRA.Graphics.PaletteReference normals, OpenRA.Graphics.PaletteReference shadow ) : System
voxels IEnumerable
pos WPos
zOffset int
camera WRot
scale float
lightSource WRot
lightAmbientColor float
lightDiffuseColor float
color OpenRA.Graphics.PaletteReference
normals OpenRA.Graphics.PaletteReference
shadow OpenRA.Graphics.PaletteReference
Résultat System

WithPalette() public méthode

public WithPalette ( OpenRA.Graphics.PaletteReference newPalette ) : IRenderable
newPalette OpenRA.Graphics.PaletteReference
Résultat IRenderable

WithZOffset() public méthode

public WithZOffset ( int newOffset ) : IRenderable
newOffset int
Résultat IRenderable