Table of Contents

Class Primitive3D.SphereShape

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

A sphere; Sphere(float, int) makes one.

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

Constructors

SphereShape(float, int)

A sphere; Sphere(float, int) makes one.

public SphereShape(float Radius, int Tessellation)

Parameters

Radius float
Tessellation int

Properties

Radius

public float Radius { get; init; }

Property Value

float

Tessellation

public int Tessellation { get; init; }

Property Value

int