Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: IEnumerable<VertexInfo[]> CreateMesh(bool, bool, MeshVertexInfo[][])

  • Declared in: RT.Modeling.Md

Declaration

public static IEnumerable<VertexInfo[]> CreateMesh(
    bool closedX,
    bool closedY,
    MeshVertexInfo[][] pts
)

Summary

Creates a mesh (3D object surface consisting of quadrilateral faces) based on a 2D array of 3D points.

Parameters

boolclosedX If true, the first rank of pts is considered to be cyclic (start and end are joined up).
boolclosedY If true, the second rank of pts is considered to be cyclic (start and end are joined up).
MeshVertexInfo[][]pts The 2D array of structures that include 3D points to connect, normal vectors (or instructions on generating them) and UV texture coordinates.

Returns

A collection of faces.