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.
Polygon = 2A polygon shape with a customizable number of sides.
Quad = 3A quadrilateral shape, which can represent any four-sided polygon.
Rectangle = 4A rectangular shape with customizable width and height.
Square = 5A square shape with equal width and height.
Triangle = 6A triangular shape with three sides.