Click or drag to resize
DigitalRuneMeshHelperGetHemisphere Method
Gets the default submesh that represents a spherical cap using triangles. (The sphere is centered at the origin. Radius = 1. The submesh contains only the top half (+y) of the sphere.)

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public static Submesh GetHemisphere(
	IGraphicsService graphicsService
)

Parameters

graphicsService
Type: DigitalRune.GraphicsIGraphicsService
The graphics service.

Return Value

Type: Submesh
The default submesh of a hemisphere. This submesh is shared and must not be modified!
Exceptions
ExceptionCondition
ArgumentNullExceptiongraphicsService is .
Remarks
The returned Submesh is a shared instance that must not be modified. Use CreateHemisphere(GraphicsDevice, Int32) to create a new Submesh instance.
See Also