| MeshHelperGetCone Method |
Gets the default submesh that represents a cone using triangles.
(The cone is standing on the xz plane pointing along the y axis. Radius = 1. Height = 1.)
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public static Submesh GetCone(
IGraphicsService graphicsService
)
Public Shared Function GetCone (
graphicsService As IGraphicsService
) As Submesh
public:
static Submesh^ GetCone(
IGraphicsService^ graphicsService
)
static member GetCone :
graphicsService : IGraphicsService -> Submesh
Parameters
- graphicsService
- Type: DigitalRune.GraphicsIGraphicsService
The graphics service.
Return Value
Type:
Submesh
The default submesh of cone.
This submesh is shared and must not be modified!
Exceptions Remarks See Also