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
Properties
Length
public float Length { get; init; }
Property Value
Radius
public float Radius { get; init; }
Property Value
Tessellation
public int Tessellation { get; init; }