unreal.ZoneShapePoint

class unreal.ZoneShapePoint(position=[0.0, 0.0, 0.0], tangent_length=0.0, inner_turn_radius=100.0, rotation=[0.0, 0.0, 0.0], type=FZoneShapePointType.SHARP, lane_profile=255, reverse_lane_profile=False, lane_connection_restrictions=0)

Bases: unreal.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: 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 connection restrictions

  • lane_profile (uint8): [Read-Write] Lane Profile: 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: Position of the point

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

  • rotation (Rotator): [Read-Write] Rotation: 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] Tangent Length: Length of the Bezier point tangents, or cached half-width of the lane profile.

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

property inner_turn_radius

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

Type

(float)

property lane_connection_restrictions

[Read-Write] Lane Connection Restrictions: Lane connection restrictions

Type

(int32)

property lane_profile

[Read-Write] Lane Profile: 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

‘lane_template’ was renamed to ‘lane_profile’.

Type

deprecated

property position

[Read-Write] Position: Position of the point

Type

(Vector)

property reverse_lane_profile

[Read-Write] Reverse Lane Profile: True of lane profile should be reversed.

Type

(bool)

property rotation

[Read-Write] Rotation: 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

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

Type

(float)

property type

[Read-Write] Type: Type of the control point

Type

(FZoneShapePointType)