Class LODGenerator
Class to generate LODs.
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.LODs
Assembly: Unity.Pixyz.Plugin4Unity.LODs.Editor.dll
Syntax
[Serializable]
public class LODGenerator
Fields
Name | Description |
---|---|
OnGenerationEnded | Event raised when LODGenerator finished generation |
Properties
Name | Description |
---|---|
API | Pixyz session |
Assets | Keep track of generated assets. Per LOD. |
BakingOffset | Baking offset. |
BakingUpSampling | Baking up-sampling coefficient (bake at a higher resolution than desired output textures resolution, then resize). |
CompressTextures | Obsolete |
FilterTransparentObjects | Filter GameObjects with cutout materials from proxy mesh generation. |
GPUBaking | Obsolete |
Rules | Rules to execute. |
SaveAssets | Whether to save the generated assets in projects assets. If false assets will be volatile. |
SaveAssetsPath | If "SaveAssets" specifies where to save the generated assets. |
Methods
Name | Description |
---|---|
Clean(LOD, int) | Clean input from previously generated LODs |
Run(PiXYZAPI, GameObject, bool) | Run the LODRules defined in "rules". |