Enum Primitive2DModelType
- Namespace
- Stride.CommunityToolkit.Rendering.ProceduralModels
- Assembly
- Stride.CommunityToolkit.dll
Specifies the types of 2D primitive models that can be created.
public enum Primitive2DModelType
Fields
Capsule = 0
A capsule shape, which is a rectangle with semi-circular ends.
Circle = 1
A circle shape with a customizable radius.
Circle2D = 2
A circle shape with a customizable radius.
Polygon = 3
A polygon shape with a customizable number of sides.
Quad = 4
A quadrilateral shape, which can represent any four-sided polygon.
Rectangle = 5
A rectangular shape with customizable width and height.
Rectangle2D = 6
A rectangular shape with customizable width and height.
Square = 7
A square shape with equal width and height.
Square2D = 8
A square shape with equal width and height.
Triangle = 9
A triangular shape with three sides.
Triangle2D = 10
A triangular shape with three sides.