SNavigationShapeParams

C++
struct SNavigationShapeParams {
  struct FlightNavData {
    float flyAgentWidth;
    float flyAgentHeight;
    float voxelOffsetX;
    float voxelOffsetY;
  };
  const char * szPathName;
  EnumAreaType areaType;
  bool pathIsRoad;
  bool closed;
  const Vec3* points;
  unsigned nPoints;
  float fHeight;
  int nNavType;
  int nAuxType;
  float fNodeAutoConnectDistance;
  EWaypointConnections waypointConnections;
  bool bVehiclesInHumanNav;
  bool bCalculate3DNav;
  bool bCritterOnly;
  EAILightLevel lightLevel;
  float f3DNavVolumeRadius;
  float extraLinkCostFactor;
  float fReductionPerMetre;
  float fReductionMax;
  float flyAgentWidth;
  float flyAgentHeight;
  FlightNavData flightNavData;
  const char * szPFPropertiesList;
};
File

IAISystem.h

SNavigationShapeParams::FlightNavData Structure
C++
struct FlightNavData {
  float flyAgentWidth;
  float flyAgentHeight;
  float voxelOffsetX;
  float voxelOffsetY;
};
File

IAISystem.h

SNavigationShapeParams::FlightNavData::flyAgentHeight Data Member
C++
float flyAgentHeight;
SNavigationShapeParams::FlightNavData::flyAgentWidth Data Member
C++
float flyAgentWidth;
SNavigationShapeParams::FlightNavData::voxelOffsetX Data Member
C++
float voxelOffsetX;
SNavigationShapeParams::FlightNavData::voxelOffsetY Data Member
C++
float voxelOffsetY;
SNavigationShapeParams::FlightNavData::FlightNavData Constructor
C++
FlightNavData();
SNavigationShapeParams::areaType Data Member
C++
EnumAreaType areaType;
SNavigationShapeParams::bCalculate3DNav Data Member
C++
bool bCalculate3DNav;
SNavigationShapeParams::bCritterOnly Data Member
C++
bool bCritterOnly;
SNavigationShapeParams::bVehiclesInHumanNav Data Member
C++
bool bVehiclesInHumanNav;
SNavigationShapeParams::closed Data Member
C++
bool closed;
SNavigationShapeParams::extraLinkCostFactor Data Member
C++
float extraLinkCostFactor;
Description

Cost of links going through this shape gets multiplied by (1 + extraCostScale) - should be >= 0 for A* heuristic to be valid.

SNavigationShapeParams::f3DNavVolumeRadius Data Member
C++
float f3DNavVolumeRadius;
SNavigationShapeParams::fHeight Data Member
C++
float fHeight;
SNavigationShapeParams::flightNavData Data Member
C++
FlightNavData flightNavData;
SNavigationShapeParams::flyAgentHeight Data Member
C++
float flyAgentHeight;
SNavigationShapeParams::flyAgentWidth Data Member
C++
float flyAgentWidth;
SNavigationShapeParams::fNodeAutoConnectDistance Data Member
C++
float fNodeAutoConnectDistance;
SNavigationShapeParams::fReductionMax Data Member
C++
float fReductionMax;
SNavigationShapeParams::fReductionPerMetre Data Member
C++
float fReductionPerMetre;
Description

size of the triangles to create when it's a nav modifier that adds extra triangles for Parameters for PerceptionModifier

SNavigationShapeParams::lightLevel Data Member
C++
EAILightLevel lightLevel;
SNavigationShapeParams::nAuxType Data Member
C++
int nAuxType;
SNavigationShapeParams::nNavType Data Member
C++
int nNavType;
SNavigationShapeParams::nPoints Data Member
C++
unsigned nPoints;
SNavigationShapeParams::pathIsRoad Data Member
C++
bool pathIsRoad;
SNavigationShapeParams::points Data Member
C++
const Vec3* points;
SNavigationShapeParams::szPathName Data Member
C++
const char * szPathName;
SNavigationShapeParams::szPFPropertiesList Data Member
C++
const char * szPFPropertiesList;
SNavigationShapeParams::waypointConnections Data Member
C++
EWaypointConnections waypointConnections;
SNavigationShapeParams::SNavigationShapeParams Constructor
C++
SNavigationShapeParams(const char * szPathName = 0, EnumAreaType areaType = AREATYPE_PATH, bool pathIsRoad = true, bool closed = false, const Vec3* points = 0, unsigned nPoints = 0, float fHeight = 0, int nNavType = 0, int nAuxType = 0, EAILightLevel lightLevel = AILL_NONE, float fNodeAutoConnectDistance = 0, EWaypointConnections waypointConnections = WPCON_DESIGNER_NONE, bool bVehiclesInHumanNav = false, bool bCalculate3DNav = true, bool bCritterOnly = false, float f3DNavVolumeRadius = 10.0f, float extraLinkCostFactor = 0.0f, float fReductionPerMetre = 0.0f, float fReductionMax = 1.0f, float flyAgentWidth = 0.0f, float flyAgentHeight = 0.0f, const char* szPFPropertiesList = 0);