Show / Hide Table of Contents

Class DeformationUtils

Inheritance
object
DeformationUtils
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public static class DeformationUtils

Methods

GetDeformation(MeshData, int, int, bool)

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
Type Name Description
MeshData surfaceMesh
int face
int subMesh
bool invertWinding
Returns
Type Description
Deformation

GetDeformation(MeshData, float, float, bool, int, float, int, bool)

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
Type Name Description
MeshData surfaceMesh
float tileHeight
float surfaceOffset
bool smoothNormals
int face
float layer
int subMesh
bool invertWinding
Returns
Type Description
Deformation
In this article
Back to top Generated by DocFX