FZoneShapePoint

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(BlueprintType)
struct FZoneShapePoint

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

bool

 

bReverseLaneProfile

True of lane profile should be reversed.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

float

 

InnerTurnRadius

Inner turn radius associated with this point. Used when polygon shape routing is set to 'Arcs'.

Public variable UProperty Category, EditAnywhere, Meta BlueprintReadWrite

int32

 

LaneConnectionRestrictions

Lane connection restrictions

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

uint8

 

LaneProfile

Index to external array referring to Lane Profile, or FZoneShapePoint::InheritLaneProfile if we should use Shape's lane profile.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FVector

 

Position

Position of the point

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FRotator

 

Rotation

Rotation of the point.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

float

 

TangentLength

Length of the Bezier point tangents, or cached half-width of the lane profile.

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FZoneShapePoint...

 

Type

Type of the control point

Constructors

Name Description

Public function

FZoneShapePoint()

Public function

FZoneShapePoint

(
    const FVector& InPosition
)

Functions

Name Description

Public function Const

FVector

 

GetInControlPoint()

Returns incoming Bezier control point. Adjust rotation.

Public function Const

EZoneShapeLa...

 

GetLaneConnectionRestrictions()

Public function Const

FVector

 

GetLaneProfileLeft()

Returns left edge of lane profile control point (similar relation as outgoing control point).

Public function Const

FVector

 

GetLaneProfileRight()

Returns right edge of lane profile control point (similar relation as incoming control point).

Public function Const

FVector

 

GetOutControlPoint()

Returns outgoing Bezier control point. Adjust rotation.

Public function

void

 

SetInControlPoint

(
    const FVector& InPoint
)

Sets incoming Bezier control point. Adjust rotation.

Public function

void

 

SetLaneConnectionRestrictions

(
    const EZoneShapeLaneConnectionRestr...
)

Public function

void

 

SetLaneProfileLeft

(
    const FVector& InPoint
)

Sets left edge of lane profile control point.

Public function

void

 

SetLaneProfileRight

(
    const FVector& InPoint
)

Returns right edge of lane profile control point. Adjust rotation.

Public function

void

 

SetOutControlPoint

(
    const FVector& InPoint
)

Sets outgoing Bezier control point. Adjust rotation.

Public function

void

 

SetRotationFromForwardAndUp

(
    const FVector& Forward,
    const FVector& Up
)

Sets rotation pitch/yaw to match Forward direction, and then uses Up direction to find roll angle.

Constants

Name

Description

InheritLaneProfile

Deprecated Variables

Name Description

Public variable UProperty

FVector

 

InControlPoint_DEPRECATED

Incoming control point

Public variable UProperty

FVector

 

OutControlPoint_DEPRECATED

Outgoing control point