MD Package Technical & APi Documentation
Introduction
Essentials
MD_Preferences
MD_MeshProEditor
MD_MeshEditorRuntime
MD_MeshColliderRefresher
MD_MeshBase
Modifiers
MD_ModifierBase
MDM_Twist
MDM_SurfaceTracking
MDM_SoundReact
MDM_SculptingLite
MDM_RaycastEvent
MDM_Morpher
MDM_MeshSlime
MDM_MeshNoise
MDM_MeshFit
MDM_MeshEffector
MDM_MeshDamage
MDM_MeshCut_Cutter
MDM_MeshCut
MDM_MeltController
MDM_InteractiveSurface
MDM_FFD
MDM_Bend
MDM_AngularBend
Geometry
MD_GeometryBase
MDG_TunnelCreator
MDG_PathCreator
MDG_MeshPaint
MDG_Tube
MDG_Triangle
MDG_Torus
MDG_Sphere
MDG_ProceduralPlane
MDG_ProceduralExtendedPlane
MDG_Octahedron
MDG_HexagonGrid
MDG_Cube
MDG_Cone
Utilities
MD_VertexTool
MD_Utilities
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
;