Method |
Description |
|
AddData ( Vector3 verts, Vector2 uvs, int tris, Vector3 norms, Vector4 tan, int subMesh ) : void |
Add new mesh data - all arrays are ordered together |
|
AddPlane ( Vector3 verts, Vector2 uvs, int submesh ) : void |
|
|
AddPlane ( Vector3 verts, Vector2 uvs, int tris, int submesh ) : void |
|
|
AddPlane ( Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3, Vector2 uv0, Vector2 uv1, Vector2 uv2, Vector2 uv3, int subMesh ) : void |
Adds the plane to the generic dynamic mesh. |
|
AddPlane ( Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3, Vector2 uv0, Vector2 uv1, Vector2 uv2, Vector2 uv3, int tri0, int tri1, int tri2, int tri3, int tri4, int tri5, int subMesh ) : void |
|
|
AddPlane ( Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3, Vector2 minUV, Vector2 maxUV, int subMesh ) : void |
Adds the plane to the generic dynamic mesh by specifying min and max UV coords. |
|
AddPlane ( Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3, int subMesh ) : void |
Adds the plane to the generic dynamic mesh without specifying UV coords. |
|
Build ( ) : void |
|
|
Clear ( ) : void |
Clears the mesh data, ready for nextNormIndex new mesh build |
|
DynamicMesh ( string newName = "dynmesh" ) : System.Collections.Generic |
|
|