Class Primitive2D.CapsuleShape
- Namespace
- Stride.CommunityToolkit.Rendering.ProceduralModels
- Assembly
- Stride.CommunityToolkit.dll
A capsule; Capsule(float, float, int) makes one. Height is the whole shape, end to end.
public sealed record Primitive2D.CapsuleShape : Primitive2D, IEquatable<Primitive2D>, IEquatable<Primitive2D.CapsuleShape>
- Inheritance
-
Primitive2D.CapsuleShape
- Implements
- Inherited Members
Constructors
CapsuleShape(float, float, int)
A capsule; Capsule(float, float, int) makes one. Height is the whole shape, end to end.
public CapsuleShape(float Radius, float Height, int Tessellation)
Parameters
Properties
Height
public float Height { get; init; }
Property Value
Radius
public float Radius { get; init; }
Property Value
Tessellation
public int Tessellation { get; init; }