Table of Contents

Enum ShapePrimitive

Namespace
BSGameLib.Game.Rendering
Assembly
BSGameLib.Game.dll

The kind of shape a ShapeDrawOptions draws.

public enum ShapePrimitive

Fields

Circle = 3

A circle outline.

ColoredTriangleList = 7

A triangle list with a colour per vertex, rather than one colour for the whole shape. See TriangleList(ReadOnlyMemory<Vector2>, ReadOnlyMemory<Color>, int, Material).

FilledCircle = 4

A filled circle.

FilledRectangle = 2

A filled rectangle.

Line = 0

A line between two points.

Point = 6

A point at a position, drawn with a size.

Rectangle = 1

A rectangle outline.

Triangle = 5

A triangle outline.