docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LODGenerator

    Class to generate LODs.

    Inheritance
    object
    LODGenerator
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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".

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)