Table of Contents

Class Primitive2D.RegularPolygonShape

Namespace
Stride.CommunityToolkit.Rendering.ProceduralModels
Assembly
Stride.CommunityToolkit.dll

A regular polygon; RegularPolygon(float, int) makes one.

public sealed record Primitive2D.RegularPolygonShape : Primitive2D, IEquatable<Primitive2D>, IEquatable<Primitive2D.RegularPolygonShape>
Inheritance
Primitive2D.RegularPolygonShape
Implements
Inherited Members

Constructors

RegularPolygonShape(float, int)

A regular polygon; RegularPolygon(float, int) makes one.

public RegularPolygonShape(float Radius, int Sides)

Parameters

Radius float
Sides int

Properties

Radius

public float Radius { get; init; }

Property Value

float

Sides

public int Sides { get; init; }

Property Value

int