 | MeshHelperGetBoxLines Method |
Gets the default submesh that represents a box using lines.
(The box is centered at the origin. The side length is 1.)
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntaxpublic static Submesh GetBoxLines(
IGraphicsService graphicsService
)
Public Shared Function GetBoxLines (
graphicsService As IGraphicsService
) As Submesh
public:
static Submesh^ GetBoxLines(
IGraphicsService^ graphicsService
)
static member GetBoxLines :
graphicsService : IGraphicsService -> Submesh
Parameters
- graphicsService
- Type: DigitalRune.GraphicsIGraphicsService
The graphics service.
Return Value
Type:
Submesh
The default submesh of box line list. This submesh is shared and must not be modified!
Exceptions
Remarks
See Also