Constructor MeshF
| Edit this page View SourceMeshF()
Creates an empty mesh. (Invalid)
Declaration
public MeshF()
MeshF(Vector3[], TriFace[])
Creates a mesh and automatically checks if it is closed. (slow for large meshes, explicitly specify closeness if possible)
Declaration
public MeshF(Vector3[] vertices, TriFace[] faces)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3[] | vertices | |
| TriFace[] | faces |
MeshF(Vector3[], TriFace[], bool)
Creates a mesh with explicit specified closeness. (no watertight check)
Declaration
public MeshF(Vector3[] vertices, TriFace[] faces, bool isClosed)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3[] | vertices | |
| TriFace[] | faces | |
| bool | isClosed |