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 = 0A capsule shape, which is a rectangle with semi-circular ends.
Circle = 1A circle shape with a customizable radius.
Circle2D = 2A circle shape with a customizable radius.
Polygon = 3A polygon shape with a customizable number of sides.
Quad = 4A quadrilateral shape, which can represent any four-sided polygon.
Rectangle = 5A rectangular shape with customizable width and height.
Rectangle2D = 6A rectangular shape with customizable width and height.
Square = 7A square shape with equal width and height.
Square2D = 8A square shape with equal width and height.
Triangle = 9A triangular shape with three sides.
Triangle2D = 10A triangular shape with three sides.