Search Results for

    Show / Hide Table of Contents

    Class NavMeshData

    Inheritance
    NavMeshData
    Assembly: FlaxEngine.dll
    File: Engine/Navigation/NavMeshData.h
    Syntax
    public class NavMeshData

    Fields

    Tiles

    The all loaded tiles.

    Declaration
    public Array<NavMeshTileData> Tiles
    Field Value
    Array<NavMeshTileData>

    TileSize

    The size of the navmesh tile (in world units).

    Declaration
    public float TileSize = 0.0f
    Field Value
    float

    Methods

    Load(BytesContainer& data, bool copyData)

    Loads the navmesh tiles from the specified data source.

    Declaration
    public bool Load(BytesContainer& data, bool copyData)
    Parameters
    BytesContainer data

    The data container.

    bool copyData

    True if copy data into this container, otherwise will link the navmesh tiles data to the input bytes to reduce memory allocations and copies Use with caution.

    Returns
    bool

    True if failed, otherwise false.

    Save(WriteStream& stream)

    Saves the navmesh tiles to the specified stream.

    Declaration
    public void Save(WriteStream& stream)
    Parameters
    WriteStream stream

    The output stream.

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