Table of Contents

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.

Polygon = 2

A polygon shape with a customizable number of sides.

Rectangle = 3

A rectangular shape with customizable width and height.

Square = 4

A square shape with equal width and height.

Triangle = 5

A triangular shape with three sides.