| MeshHelperGetUncappedCylinder Method |
Gets the default submesh that represents an uncapped (open) cylinder using triangles.
(The cylinder centered at the origin. Radius = 1. Height = 2 (along the y axis).)
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public static Submesh GetUncappedCylinder(
IGraphicsService graphicsService
)
Public Shared Function GetUncappedCylinder (
graphicsService As IGraphicsService
) As Submesh
public:
static Submesh^ GetUncappedCylinder(
IGraphicsService^ graphicsService
)
static member GetUncappedCylinder :
graphicsService : IGraphicsService -> Submesh
Parameters
- graphicsService
- Type: DigitalRune.GraphicsIGraphicsService
The graphics service.
Return Value
Type:
Submesh
The default submesh of an uncapped cylinder.
This submesh is shared and must not be modified!
Exceptions Remarks See Also