Class Primitive2D.RectangleShape
- Namespace
- Stride.CommunityToolkit.Rendering.ProceduralModels
- Assembly
- Stride.CommunityToolkit.dll
A rectangle; Rectangle(float, float) and Square(float) make one.
public sealed record Primitive2D.RectangleShape : Primitive2D, IEquatable<Primitive2D>, IEquatable<Primitive2D.RectangleShape>
- Inheritance
-
Primitive2D.RectangleShape
- Implements
- Inherited Members
Constructors
RectangleShape(Vector2)
A rectangle; Rectangle(float, float) and Square(float) make one.
public RectangleShape(Vector2 Size)
Parameters
SizeVector2
Properties
Size
public Vector2 Size { get; init; }