C# Class Primitives3D.CubePrimitive

Geometric primitive class for drawing cubes.
Inheritance: Primitives3D.GeometricPrimitive
Mostra file Open project: procfxgen/MGShaderEditor 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