FZoneGraphBuildSettings

Choose your operating system:

Windows

macOS

Linux

References

Module

ZoneGraph

Header

/Engine/Plugins/Runtime/ZoneGraph/Source/ZoneGraph/Public/ZoneGraphTypes.h

Include

#include "ZoneGraphTypes.h"

Syntax

USTRUCT()
struct FZoneGraphBuildSettings

Variables

Name Description

Public variable UProperty Category, EditAnywhere

float

 

CommonTessellationTolerance

Common tolerance for all lane tessellation, the error between tessellated point and the spline.

Public variable UProperty Category, EditAnywhere

float

 

ConnectionSnapAngle

Max relative angle (in degrees) between two shape points for them to be snapped together.

Public variable UProperty Category, EditAnywhere

float

 

ConnectionSnapDistance

Max distance between two shape points for them to be snapped together.

Public variable UProperty Category, EditAnywhere

float

 

LaneConnectionAngle

Max relative angle (in degrees) between two lane profiles for them to be connected with lanes.

Public variable UProperty Category, EditAnywhere

FZoneGraphTagMa...

 

LaneConnectionMask

Mask of tags which should be used to check if lanes should connect.

Public variable UProperty Category, EditAnywhere

TArray< FZoneGr...

 

PolygonRoutingRules

Routing rules applied to polygon shapes

Public variable UProperty Category, EditAnywhere

TArray< FZoneGr...

 

SpecificTessellationTolerances

Custom tessellation tolerances based on lane tags, first match is returned.

Public variable UProperty Category, EditAnywhere

float

 

TurnThresholdAngle

When the relative angle (in degrees) to destination on a polygon is more than the specified angle, it is considered left or right turn.

Functions

Name Description

Public function Const

EZoneShapeLa...

 

GetConnectionRestrictions

(
    const FZoneGraphTagMask ZoneTags,
    const FZoneLaneProfileRef& SourceL...,
    const int32 SourceConnectionCount,
    const FZoneLaneProfileRef& Destina...,
    const int32 DestinationConnectionCo...
)

Connection restrictions for specified lane based on PolygonRoutingRules

Public function Const

float

 

GetLaneTessellationTolerance

(
    const FZoneGraphTagMask LaneTags
)