Class DeformationUtils
Inheritance
DeformationUtils
Assembly: Sylves.dll
public static class DeformationUtils
Methods
Returns a deformation that transforms from cell co-ordinates to a prism defined by the mesh and the given parameters.
For quad meshes, cell co-ordinates is a unit cube centered at the origin.
For tri meshes, cell co-ordinates are a triangle prism centered at the origin.
Declaration
public static Deformation GetDeformation(MeshData surfaceMesh, int face, int subMesh, bool invertWinding)
Parameters
Returns
Returns a deformation that transforms from cell co-ordinates to a prism defined by the mesh and the given parameters.
For quad meshes, cell co-ordinates is a unit cube centered at the origin.
For tri meshes, cell co-ordinates are a triangle prism centered at the origin.
Declaration
public static Deformation GetDeformation(MeshData surfaceMesh, float tileHeight, float surfaceOffset, bool smoothNormals, int face, float layer, int subMesh, bool invertWinding)
Parameters
Returns