docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddLOD

    AddLOD(uint, uint, double)

    Add a LOD to a LODComponent

    Declaration
    public uint AddLOD(uint component, uint occurrence = 0, double distance = 0)
    Parameters
    Type Name Description
    uint component

    The LODComponent where to add the LOD

    uint occurrence

    The occurrence referenced by this LOD (if the occurrence is already used in another LOD, an exception will be thrown)

    double distance

    The distance of activation of this LOD

    Returns
    Type Description
    uint
    In This Article
    Back to top
    Copyright © 2024 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)