Class Tolerances
Store all necessary info to set a quality on an import
Inherited Members
Namespace: UnityEngine.PixyzPlugin4Unity.Import
Assembly: Unity.Pixyz.Plugin4Unity.dll
Syntax
public class Tolerances
Constructors
Name | Description |
---|---|
Tolerances(LodQuality) | Generate a tolerance with all value set based on the provided quality |
Fields
Name | Description |
---|---|
createFreeEdges | If true, free edges will be created for each patch borders |
createNormals | If true, normals will be generated |
doDecimation | Should the decimation happen based on tolerance from this object |
lineicTolerance | Maximum distance between lineic vertices and resulting simplified lines |
maxAngle | Maximum angle between normals of two adjacent elements |
maxSag | Maximum distance between the geometry and the tessellation |
normalTolerance | Maximum angle between original normals and those interpolated on the simplified surface |
pointCloudDensity | Used to compute avarage distance between points when decimating a point cloud |
sagRatio | Maximum ratio distance between the geometry and the tessellation |
surfacicTolerance | Maximum distance between surfacic vertices and resulting simplified surfaces |
uvTolerance | Maximum distance (in UV space) between original texcoords and those interpolated on the simplified surface |