Navigation
API > API/Plugins > API/Plugins/ZoneGraph
| Name | FZoneShapePoint |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/ZoneGraph/Source/ZoneGraph/Public/ZoneGraphTypes.h |
| Include Path | #include "ZoneGraphTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FZoneShapePoint
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ZoneGraphTypes.h | |||
FZoneShapePoint
(
const FVector& InPosition |
ZoneGraphTypes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InheritLaneProfile | const uint8 | ZoneGraphTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bReverseLaneProfile | bool | True of lane profile should be reversed. | ZoneGraphTypes.h |
|
| InnerTurnRadius | float | Inner turn radius associated with this point. Used when polygon shape routing is set to 'Arcs'. | ZoneGraphTypes.h |
|
| LaneConnectionRestrictions | int32 | Lane connection restrictions | ZoneGraphTypes.h |
|
| LaneProfile | uint8 | Index to external array referring to Lane Profile, or FZoneShapePoint::InheritLaneProfile if we should use Shape's lane profile. | ZoneGraphTypes.h |
|
| Position | FVector | Position of the point | ZoneGraphTypes.h |
|
| Rotation | FRotator | Rotation of the point. | ZoneGraphTypes.h |
|
| TangentLength | float | Length of the Bezier point tangents, or cached half-width of the lane profile. | ZoneGraphTypes.h |
|
| Type | FZoneShapePointType | Type of the control point | ZoneGraphTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector GetInControlPoint() |
Returns incoming Bezier control point. Adjust rotation. | ZoneGraphTypes.h | |
EZoneShapeLaneConnectionRestrictions GetLaneConnectionRestrictions() |
ZoneGraphTypes.h | ||
FVector GetLaneProfileLeft () |
Returns left edge of lane profile control point (similar relation as outgoing control point). | ZoneGraphTypes.h | |
FVector GetLaneProfileRight () |
Returns right edge of lane profile control point (similar relation as incoming control point). | ZoneGraphTypes.h | |
FVector GetOutControlPoint() |
Returns outgoing Bezier control point. Adjust rotation. | ZoneGraphTypes.h | |
void SetInControlPoint
(
const FVector& InPoint |
Sets incoming Bezier control point. Adjust rotation. | ZoneGraphTypes.h | |
void SetLaneConnectionRestrictions
(
const EZoneShapeLaneConnectionRestrictions Restrictions |
ZoneGraphTypes.h | ||
void SetLaneProfileLeft
(
const FVector& InPoint |
Sets left edge of lane profile control point. | ZoneGraphTypes.h | |
void SetLaneProfileRight
(
const FVector& InPoint |
Returns right edge of lane profile control point. Adjust rotation. | ZoneGraphTypes.h | |
void SetOutControlPoint
(
const FVector& InPoint |
Sets outgoing Bezier control point. Adjust rotation. | ZoneGraphTypes.h | |
void SetRotationFromForwardAndUp
(
const FVector& Forward, |
Sets rotation pitch/yaw to match Forward direction, and then uses Up direction to find roll angle. | ZoneGraphTypes.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InControlPoint_DEPRECATED | FVector | Incoming control point | ZoneGraphTypes.h | |
| OutControlPoint_DEPRECATED | FVector | Outgoing control point | ZoneGraphTypes.h |