Class MeshGridOptions
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public class MeshGridOptions : Object
Constructors
MeshGridOptions()
Declaration
public MeshGridOptions()
MeshGridOptions(MeshGridOptions)
Declaration
public MeshGridOptions(MeshGridOptions other)
Parameters
Type | Name | Description |
---|---|---|
MeshGridOptions | other |
Properties
DoubleOddFaces
If set, odd faces become cells with twice as many edges. It's often more convenient to work with even polygons as an about face is possible.
Declaration
public bool DoubleOddFaces { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
InvertWinding
If false, vertices and edges of the mesh are assumed to be consistent with Sylves conventions, counter clockwise winding. E.g. for a quad, edges 0 => SquareDir.Right, 1 => SquareDir.Up, 2 => SquareDir.Left, 3 => SquareDir.Down verts 0 => DownRight, 1 => UpRight, 2 => UpLeft, 3=> DownLeft
If true, the order of vertices is swapped E.g. for a quad, edges 0 => Square.Left, 1 => SquareDir.Up, 2 => SquareDir.Right, 3 => SquareDir.Down verts 0 => DownLeft, 1 => UpLeft, 2=> UpRight, 3 = DownRight
Declaration
public bool InvertWinding { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Tolerance
Snap distance for vertices.
Declaration
public float Tolerance { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
UseXZPlane
If set, assumes the 2d plane that a face maps from is in the XZ axis.
Declaration
public bool UseXZPlane { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |