| MeshHelperCreateBoxLines Method |
Creates a new 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)
Syntax public static Submesh CreateBoxLines(
GraphicsDevice graphicsDevice
)
Public Shared Function CreateBoxLines (
graphicsDevice As GraphicsDevice
) As Submesh
public:
static Submesh^ CreateBoxLines(
GraphicsDevice^ graphicsDevice
)
static member CreateBoxLines :
graphicsDevice : GraphicsDevice -> Submesh
Parameters
- graphicsDevice
- Type: GraphicsDevice
The graphics device.
Return Value
Type:
SubmeshA new
Submesh that represents a box line list.
Exceptions Remarks See Also