Search Results for

    Show / Hide Table of Contents

    Struct ModelLodData

    Data container for LOD metadata and sub meshes.

    Assembly: FlaxEngine.dll
    File: Engine/Graphics/Models/ModelData.h
    Syntax
    public struct ModelLodData

    Constructors

    ~ModelLodData()

    Finalizes an instance of the ModelLodData class.

    Declaration
    public ~ModelLodData()

    Fields

    Meshes

    The meshes array.

    Declaration
    public Array<MeshData* > Meshes
    Field Value
    Array<MeshData >

    ScreenSize

    The screen size to switch LODs. Bottom limit of the model screen size to render this LOD.

    Declaration
    public float ScreenSize = 1.0f
    Field Value
    float

    Methods

    GetBox()

    Gets the bounding box combined for all meshes in this model LOD.

    Declaration
    public BoundingBox GetBox() const
    Returns
    BoundingBox

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat