MD Package Technical & APi Documentation
MDG_Torus :: MD_GeometryBase
Namespace: MDPackage.Geometry
Simple torus primitive generated at runtime in Unity Engine.
Read more here (Online documentation slide)
Public Methods
public void MDGTorus_ChangeRadius(float radius)
public void MDGTorus_ChangeThickness(float thickness)

public static GameObject CreateGeometry()
Public Fields
public float torusThickness = 0.4f;
public float torusRadius = 1.0f;
[Range(3, 220)] public int torusSegments = 24;
[Range(3, 220)] public int torusSides = 18;