Search Results for

    Show / Hide Table of Contents

    Struct NavMeshProperties

    The navigation mesh properties container for navmesh building.

    Inherited Members
    ISerializable::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)
    ISerializable::DeserializeIfExists(DeserializeStream& stream, const char* memberName, ISerializeModifier* modifier)
    NavMeshProperties
    ISerializable::Serialize(SerializeStream& stream, const void* otherObj)
    NavMeshProperties
    NavMeshProperties
    ISerializable::~ISerializable()
    Assembly: FlaxEngine.dll
    File: Engine/Navigation/NavigationTypes.h
    Syntax
    public struct NavMeshProperties : public ISerializable

    Fields

    Agent

    The properties of the agent used to generate walkable navigation surface.

    Declaration
    public NavAgentProperties Agent
    Field Value
    NavAgentProperties

    Color

    The navmesh type color (for debugging).

    Declaration
    public Color Color = Color::Green
    Field Value
    Color

    DefaultQueryExtent

    The default extents for the nav queries that defines the search distance along each axis (x, y, z). Smaller values prevent queries from snapping to too far locations.

    Declaration
    public Float3 DefaultQueryExtent = Float3(50.0f, 250.0f, 50.0f)
    Field Value
    Float3

    Name

    The navmesh type name. Identifies different types of the navmeshes, used to sync navmesh properties with settings asset.

    Declaration
    public String Name
    Field Value
    String

    Rotation

    The navmesh rotation applied to navigation surface. Used during building to the rotate scene geometry and to revert back result during path finding queries. Can be used to generate navmesh on walls.

    Declaration
    public Quaternion Rotation = Quaternion::Identity
    Field Value
    Quaternion

    Methods

    operator!=(const NavMeshProperties& other)

    Declaration
    public bool operator!=(const NavMeshProperties& other) const
    Parameters
    NavMeshProperties other

    Returns
    bool

    operator==(const NavMeshProperties& other)

    Declaration
    public bool operator==(const NavMeshProperties& other) const
    Parameters
    NavMeshProperties other

    Returns
    bool

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