Mesh |
public sealed class MeshSimplifier
The MeshSimplifier type exposes the following members.
| Name | Description | |
|---|---|---|
| MeshSimplifier | Creates a new mesh simplifier. |
| Name | Description | |
|---|---|---|
| Agressiveness |
Gets or sets the agressiveness of the mesh simplification. Higher number equals higher quality, but more expensive to run.
Default value: 7.0
Obsolete | |
| BlendShapeCount | Gets the count of blend shapes. | |
| BoneWeights | Gets or sets the vertex bone weights. | |
| Colors | Gets or sets the vertex colors. | |
| EnableSmartLink |
Gets or sets if a feature for smarter vertex linking should be enabled, reducing artifacts in the
decimated result at the cost of a slightly more expensive initialization by treating vertices at
the same position as the same vertex while separating the attributes.
Default value: true
Obsolete | |
| MaxIterationCount |
Gets or sets the maximum iteration count. Higher number is more expensive but can bring you closer to your target quality.
Sometimes a lower maximum count might be desired in order to lower the performance cost.
Default value: 100
Obsolete | |
| Normals | Gets or sets the vertex normals. | |
| PreserveBorderEdges |
Gets or sets if the border edges should be preserved.
Default value: false
Obsolete | |
| PreserveSurfaceCurvature |
Gets or sets if the discrete curvature of the mesh surface be taken into account during simplification.
Default value: false
Obsolete | |
| PreserveUVFoldoverEdges |
Gets or sets if the UV foldover edges should be preserved.
Default value: false
Obsolete | |
| PreserveUVSeamEdges |
Gets or sets if the UV seam edges should be preserved.
Default value: false
Obsolete | |
| SimplificationOptions | Gets or sets all of the simplification options as a single block. Default value: SimplificationOptions.Default | |
| SubMeshCount | Gets the count of sub-meshes. | |
| Tangents | Gets or sets the vertex tangents. | |
| UV1 | Gets or sets the vertex 2D UV set 1. | |
| UV2 | Gets or sets the vertex 2D UV set 2. | |
| UV3 | Gets or sets the vertex 2D UV set 3. | |
| UV4 | Gets or sets the vertex 2D UV set 4. | |
| UV5 | Gets or sets the vertex 2D UV set 5. | |
| UV6 | Gets or sets the vertex 2D UV set 6. | |
| UV7 | Gets or sets the vertex 2D UV set 7. | |
| UV8 | Gets or sets the vertex 2D UV set 8. | |
| Verbose | Gets or sets if verbose information should be printed to the console. Default value: false | |
| VertexLinkDistance |
Gets or sets the maximum distance between two vertices in order to link them.
Note that this value is only used if EnableSmartLink is true.
Obsolete | |
| VertexLinkDistanceSqr |
Gets or sets the maximum squared distance between two vertices in order to link them.
Note that this value is only used if EnableSmartLink is true.
Default value: double.Epsilon
Obsolete | |
| Vertices | Gets or sets the vertex positions. |
| Name | Description | |
|---|---|---|
| AddBlendShape | Adds a blend shape. | |
| AddBlendShapes | Adds several blend shapes. | |
| AddSubMeshTriangles(Int32) | Adds a sub-mesh triangle indices for a specific sub-mesh. | |
| AddSubMeshTriangles(Int32) | Adds several sub-meshes at once with their triangle indices for each sub-mesh. | |
| ClearBlendShapes | Clears all blend shapes. | |
| ClearSubMeshes | Clears out all sub-meshes. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetAllBlendShapes | Returns all blend shapes. | |
| GetAllSubMeshTriangles | Returns the triangle indices for all sub-meshes. | |
| GetBlendShape | Returns a specific blend shape. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetSubMeshTriangles | Returns the triangle indices for a specific sub-mesh. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| GetUVs(Int32, ListVector2) | Returns the UVs (2D) from a specific channel. | |
| GetUVs(Int32, ListVector3) | Returns the UVs (3D) from a specific channel. | |
| GetUVs(Int32, ListVector4) | Returns the UVs (4D) from a specific channel. | |
| GetUVs2D | Returns the UVs (2D) from a specific channel. | |
| GetUVs3D | Returns the UVs (3D) from a specific channel. | |
| GetUVs4D | Returns the UVs (4D) from a specific channel. | |
| SetUVs(Int32, IListVector2) | Sets the UVs (2D) for a specific channel. | |
| SetUVs(Int32, IListVector3) | Sets the UVs (3D) for a specific channel. | |
| SetUVs(Int32, IListVector4) | Sets the UVs (4D) for a specific channel. | |
| SetUVs(Int32, IListVector4, Int32) | Sets the UVs for a specific channel with a specific count of UV components. | |
| SetUVsAuto | Sets the UVs for a specific channel and automatically detects the used components. | |
| SimplifyMeshCarefully | Simplifies the mesh to a desired quality. | |
| SimplifyMeshDefault | Simplifies the mesh to a desired quality. | |
| SimplifyMeshLossless | Simplifies the mesh without losing too much quality. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |