Lib.mesh.generate.NGonMesh - tixl3d/tixl GitHub Wiki

NGonMesh

in Lib.mesh.generate


Generates a procedural flat circular mesh with a joined center vertex which can be rendered with [DrawMesh] , [DrawMeshUnlit] and [DrawMeshHatched] among others. Also consider using [CylinderMesh].

For a simple and interactive tutorial on the TiXL rendering pipeline, see [HowToDrawThings].

It can also become the source for a particle system with [MeshVerticesToPoints] or [PointsOnMesh]. To import static 3D meshes from other programs refer to [LoadObj].


Input Parameters

Name (Relevancy & Type) Description
Segments (Int32) Controls the tesselation.
Radius (Single) Defines the Radius
Stretch (Vector2) Scales the Mesh
X: Width
Y: Height
Center (Vector3) Transforms the position of the pivot
Rotation (Vector3) Rotates the Mesh
TextureMode (Int32) Select different UV Methods

Outputs

Name Type
Data T3.Core.DataTypes.MeshBuffers

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

⚠️ **GitHub.com Fallback** ⚠️