unreal.ZoneShapePoint

class unreal.ZoneShapePoint(position: Vector = Ellipsis, tangent_length: float = 0.0, inner_turn_radius: float = 0.0, rotation: Rotator = Ellipsis, type: FZoneShapePointType = Ellipsis, lane_profile: int = 0, reverse_lane_profile: bool = False, lane_connection_restrictions: int = 0)

Bases: StructBase

Zone Shape Point

C++ Source:

  • Plugin: ZoneGraph

  • Module: ZoneGraph

  • File: ZoneGraphTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • inner_turn_radius (float): [Read-Write] Inner turn radius associated with this point. Used when polygon shape routing is set to ‘Arcs’.

  • lane_connection_restrictions (int32): [Read-Write] Lane connection restrictions

  • lane_profile (uint8): [Read-Write] Index to external array referring to Lane Profile, or FZoneShapePoint::InheritLaneProfile if we should use Shape’s lane profile. This is a little awkward indirection, but keeps the point memory usage in check.

  • position (Vector): [Read-Write] Position of the point

  • reverse_lane_profile (bool): [Read-Write] True of lane profile should be reversed.

  • rotation (Rotator): [Read-Write] Rotation of the point. Forward direction of the rotation matches the tangents. For Lane Profile points, the forward directions points into the shape so that we can match the incoming lanes rotation.

  • tangent_length (float): [Read-Write] Length of the Bezier point tangents, or cached half-width of the lane profile.

  • type (FZoneShapePointType): [Read-Write] Type of the control point

property inner_turn_radius: float

[Read-Write] Inner turn radius associated with this point. Used when polygon shape routing is set to ‘Arcs’.

Type:

(float)

property lane_connection_restrictions: int

[Read-Write] Lane connection restrictions

Type:

(int32)

property lane_profile: int

[Read-Write] Index to external array referring to Lane Profile, or FZoneShapePoint::InheritLaneProfile if we should use Shape’s lane profile. This is a little awkward indirection, but keeps the point memory usage in check.

Type:

(uint8)

property lane_template: int

‘lane_template’ was renamed to ‘lane_profile’.

Type:

deprecated

property position: Vector

[Read-Write] Position of the point

Type:

(Vector)

property reverse_lane_profile: bool

[Read-Write] True of lane profile should be reversed.

Type:

(bool)

property rotation: Rotator

[Read-Write] Rotation of the point. Forward direction of the rotation matches the tangents. For Lane Profile points, the forward directions points into the shape so that we can match the incoming lanes rotation.

Type:

(Rotator)

property tangent_length: float

[Read-Write] Length of the Bezier point tangents, or cached half-width of the lane profile.

Type:

(float)

property type: FZoneShapePointType

[Read-Write] Type of the control point

Type:

(FZoneShapePointType)