Table of Contents

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

Radius float
Height float
Tessellation int

Properties

Height

public float Height { get; init; }

Property Value

float

Radius

public float Radius { get; init; }

Property Value

float

Tessellation

public int Tessellation { get; init; }

Property Value

int