MeshSimplifier Class |
Namespace: Internal
public sealed class MeshSimplifier
The MeshSimplifier type exposes the following members.
Name | Description | |
---|---|---|
MeshSimplifier |
Creates a new mesh simplifier.
|
Name | Description | |
---|---|---|
Agressiveness | Obsolete.
Gets or sets the agressiveness of the mesh simplification. Higher number equals higher quality, but more expensive to run.
Default value: 7.0
| |
BlendShapeCount |
Gets the count of blend shapes.
| |
BoneWeights |
Gets or sets the vertex bone weights.
| |
Colors |
Gets or sets the vertex colors.
| |
EnableSmartLink | Obsolete.
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
| |
MaxIterationCount | Obsolete.
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
| |
Normals |
Gets or sets the vertex normals.
| |
PreserveBorderEdges | Obsolete.
Gets or sets if the border edges should be preserved.
Default value: false
| |
PreserveSurfaceCurvature | Obsolete.
Gets or sets if the discrete curvature of the mesh surface be taken into account during simplification.
Default value: false
| |
PreserveUVFoldoverEdges | Obsolete.
Gets or sets if the UV foldover edges should be preserved.
Default value: false
| |
PreserveUVSeamEdges | Obsolete.
Gets or sets if the UV seam edges should be preserved.
Default value: false
| |
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 | Obsolete.
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.
| |
VertexLinkDistanceSqr | Obsolete.
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
| |
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(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertyGetT(String, Object, Boolean) | Overloaded.
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.) |