C# Class Visualizer.SpherePrimitive

Geometric primitive class for drawing spheres.
Inheritance: GeometricPrimitive
ファイルを表示 Open project: omanamos/kinect-nao Class Usage Examples

Public Methods

Method Description
SpherePrimitive ( GraphicsDevice graphicsDevice ) : System

Constructs a new sphere primitive, using default settings.

SpherePrimitive ( GraphicsDevice graphicsDevice, float diameter, int tessellation ) : System

Constructs a new sphere primitive, with the specified size and tessellation level.

Method Details

SpherePrimitive() public method

Constructs a new sphere primitive, using default settings.
public SpherePrimitive ( GraphicsDevice graphicsDevice ) : System
graphicsDevice GraphicsDevice
return System

SpherePrimitive() public method

Constructs a new sphere primitive, with the specified size and tessellation level.
public SpherePrimitive ( GraphicsDevice graphicsDevice, float diameter, int tessellation ) : System
graphicsDevice GraphicsDevice
diameter float
tessellation int
return System