Class MeshExtensions
Inheritance
System.Object
MeshExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ProjectDawn.Geometry3D
Assembly: ProjectDawn.Geometry.dll
Syntax
public static class MeshExtensions
Methods
| Improve this Doc View SourceToMesh<T>(TriangularSurface<T>)
Declaration
public static Mesh ToMesh<T>(this TriangularSurface<T> surface)
where T : struct, ITransformFloat3
Parameters
| Type | Name | Description |
|---|---|---|
| TriangularSurface<T> | surface |
Returns
| Type | Description |
|---|---|
| UnityEngine.Mesh |
Type Parameters
| Name | Description |
|---|---|
| T |
ToTriangularSurface<T>(Mesh, Allocator, T)
Declaration
public static TriangularSurface<T> ToTriangularSurface<T>(this Mesh mesh, Allocator allocator, T transform = default(T))
where T : struct, ITransformFloat3
Parameters
| Type | Name | Description |
|---|---|---|
| UnityEngine.Mesh | mesh | |
| Unity.Collections.Allocator | allocator | |
| T | transform |
Returns
| Type | Description |
|---|---|
| TriangularSurface<T> |
Type Parameters
| Name | Description |
|---|---|
| T |