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