C# Class MonoGame.Interop.Wpf.Primitives.CubePrimitive

Geometric primitive class for drawing cubes.
Inheritance: GeometricPrimitive
Datei anzeigen Open project: Eastrall/MonoGame.Interop Class Usage Examples

Public Methods

Method Description
CubePrimitive ( GraphicsDevice graphicsDevice ) : Microsoft.Xna.Framework

Constructs a new cube primitive, using default settings.

CubePrimitive ( GraphicsDevice graphicsDevice, float size ) : Microsoft.Xna.Framework

Constructs a new cube primitive, with the specified size.

Method Details

CubePrimitive() public method

Constructs a new cube primitive, using default settings.
public CubePrimitive ( GraphicsDevice graphicsDevice ) : Microsoft.Xna.Framework
graphicsDevice GraphicsDevice
return Microsoft.Xna.Framework

CubePrimitive() public method

Constructs a new cube primitive, with the specified size.
public CubePrimitive ( GraphicsDevice graphicsDevice, float size ) : Microsoft.Xna.Framework
graphicsDevice GraphicsDevice
size float
return Microsoft.Xna.Framework