C# Class Primitives3D.CubePrimitive

Geometric primitive class for drawing cubes.
Inheritance: Primitives3D.GeometricPrimitive
Afficher le fichier Open project: procfxgen/MGShaderEditor Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

CubePrimitive() public méthode

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