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

QuadMesh

in Lib.mesh.generate


Generates a procedural three-dimensional tesselated mesh which can be rendered with [DrawMesh] , [DrawMeshUnlit] and [DrawMeshHatched] among others. Also known as: Plane, Quad

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].

Also consider using [CylinderMesh].


Input Parameters

Name (Relevancy & Type) Description
Segments (Int2) Defines the tesselation
X: Left to Right
Y: Top to Bottom
Stretch (Vector2) Controls the scaling:
X: Width
Y: Height
Scale (Single) -
Pivot (Vector2) Offsets the position of the pivotpoint (center).

This is helpful to change the point around which the Mesh rotates / along which it is scaled.
Center (Vector3) Transforms the position of the pivot
Rotation (Vector3) Rotates the Mesh

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** ⚠️