Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Types for deciding how to shade geometry primitives.
Namespace: Visual3D.Graphics3DAssembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
public enum ShadingMode
Public Enumeration ShadingMode
Members
| Member | Value | Description |
|---|---|---|
| Flat | 0 | Draw with a single color. |
| Gouraud | 1 | Interpolate color across primitive vertices. |
| Phong | 2 | Draw everything (2 sided geometry). |