Class LODRule
Provides of a set of parameters for LODs. See the LOD sample parameters.
Implements
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.LODs
Assembly: Unity.Pixyz.Plugin4Unity.LODs.Editor.dll
Syntax
[Serializable]
public abstract class LODRule : IEquatable<LODRule>
Fields
Name | Description |
---|---|
Foldout | GUI |
Locked | Don't regenerate if locked. |
kPadding | Padding used for baking |
Properties
Name | Description |
---|---|
MaterialSyncWithPixyz | How to sync materials with Pixyz |
OneToOne | Generates one LOD mesh per input mesh |
RecomputeTangentsList | Occurrences which tangents got destroyed. Will be regenerated. |
UsePixyz | Is using Pixyz SDK to generate LODs |
Methods
Name | Description |
---|---|
Default(int, int, GameObject) | Override this function to setup default parameters |
Equals(object) | Returns true if rules are the same |
Equals(LODRule) | Returns true if settings are the same |
GetHashCode() | Override function for hash computation |
Run(List<GameObject>) | Run Rule in Unity |
Run(PiXYZAPI, OccurrenceList, OccurrenceList, uint, bool, float, int, bool) | Run Rule inside Pixyz |