unreal.GeometryScriptPolygonOffsetOptions

class unreal.GeometryScriptPolygonOffsetOptions(join_type: GeometryScriptPolyOffsetJoinType = Ellipsis, miter_limit: float = 0.0, offset_both_sides: bool = False, steps_per_radian_scale: float = 0.0, maximum_steps_per_radian: float = 0.0)

Bases: StructBase

Geometry Script Polygon Offset Options

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: PolygonFunctions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • join_type (GeometryScriptPolyOffsetJoinType): [Read-Write] How to join / extend corners between two edges

  • maximum_steps_per_radian (double): [Read-Write] Maximum vertices per radian for round joins. Only applied if > 0.

  • miter_limit (double): [Read-Write] if JoinType is Miter, limits how far the miter can extend

  • offset_both_sides (bool): [Read-Write] Whether to apply the offset to both sides of the polygon, i.e. adding an inner hole to any polygon. If false, the offset is only applied to one side.

  • steps_per_radian_scale (double): [Read-Write] Scales the default number of vertices (per radian) used for round joins.

property join_type: GeometryScriptPolyOffsetJoinType

[Read-Write] How to join / extend corners between two edges

Type:

(GeometryScriptPolyOffsetJoinType)

property maximum_steps_per_radian: float

[Read-Write] Maximum vertices per radian for round joins. Only applied if > 0.

Type:

(double)

property miter_limit: float

[Read-Write] if JoinType is Miter, limits how far the miter can extend

Type:

(double)

property offset_both_sides: bool

[Read-Write] Whether to apply the offset to both sides of the polygon, i.e. adding an inner hole to any polygon. If false, the offset is only applied to one side.

Type:

(bool)

property steps_per_radian_scale: float

[Read-Write] Scales the default number of vertices (per radian) used for round joins.

Type:

(double)