docs.unity3d.com
    Show / Hide Table of Contents

    Struct MeshLODGroupComponent

    Represents an LOD group.

    Namespace: Unity.Rendering
    Syntax
    public struct MeshLODGroupComponent : IComponentData, IQueryTypeParameter
    Remarks

    Each MeshLODGroupComponent contains multiple MeshLODComponents and can also have multiple child groups.

    Fields

    LocalReferencePoint

    Local reference point.

    Declaration
    public float3 LocalReferencePoint
    Field Value
    Type Description
    float3

    LODDistances0

    The low part of the LOD distance container.

    Declaration
    public float4 LODDistances0
    Field Value
    Type Description
    float4

    LODDistances1

    LOD distance container, high part.

    Declaration
    public float4 LODDistances1
    Field Value
    Type Description
    float4

    ParentGroup

    The LOD parent group.

    Declaration
    public Entity ParentGroup
    Field Value
    Type Description
    Entity

    ParentMask

    The LOD mask.

    Declaration
    public int ParentMask
    Field Value
    Type Description
    Int32
    Remarks

    Each bit matches with one of the 8 possible LOD levels.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023