Table of Contents

Class Primitive3D.CapsuleShape

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

A capsule; Capsule(float, float, int) makes one. Length is the cylinder between the two hemispheres.

public sealed record Primitive3D.CapsuleShape : Primitive3D, IEquatable<Primitive3D>, IEquatable<Primitive3D.CapsuleShape>
Inheritance
Primitive3D.CapsuleShape
Implements
Inherited Members

Constructors

CapsuleShape(float, float, int)

A capsule; Capsule(float, float, int) makes one. Length is the cylinder between the two hemispheres.

public CapsuleShape(float Radius, float Length, int Tessellation)

Parameters

Radius float
Length float
Tessellation int

Properties

Length

public float Length { get; init; }

Property Value

float

Radius

public float Radius { get; init; }

Property Value

float

Tessellation

public int Tessellation { get; init; }

Property Value

int