Class Decimation
Decimate (edge collapse) LOD0 meshes.
Implements
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.LODs
Assembly: Unity.Pixyz.Plugin4Unity.LODs.Editor.dll
Syntax
[Serializable]
public class Decimation : LODRule, IEquatable<LODRule>
Properties
| Name | Description |
|---|---|
| BakingResolution | The baking resolution. |
| DecimationRatio | The quality percentage of the LOD, compared to LOD 0. |
| MaterialSyncWithPixyz | How to sync materials with Pixyz |
| Merge | Whether to bake materials into one material with PBR textures. |
| OneToOne | Generates one LOD mesh per input mesh |
| RemoveOccludedTriangles | Whether to remove occluded triangles. |
Methods
| Name | Description |
|---|---|
| Default(int, int, GameObject) | Override this function to setup default parameters |
| Equals(LODRule) | Returns true if settings are the same |
| Run(PiXYZAPI, OccurrenceList, OccurrenceList, uint, bool, float, int, bool) | Run Rule inside Pixyz |