unreal.InterpCurveVector2D

class unreal.InterpCurveVector2D(points: None = [], is_looped: bool = False, loop_key_offset: float = 0.0)

Bases: StructBase

Describes an entire curve that is used to compute a 2D vector output value from a float input. note: This is a mirror of TInterpCurve<FVector2D>, defined in InterpCurve.h

C++ Source:

  • Module: CoreUObject

  • File: NoExportTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • is_looped (bool): [Read-Write] Specify whether the curve is looped or not

  • loop_key_offset (float): [Read-Write] Specify the offset from the last point’s input key corresponding to the loop point

  • points (Array[InterpCurvePointVector2D]): [Read-Write] Holds the collection of interpolation points.

property is_looped: bool

[Read-Write] Specify whether the curve is looped or not

Type:

(bool)

keys_from_interp_curve_vector2d(component_idx) Array[RichCurveKeyBP]

Keys from Interp Curve Vector 2D

Parameters:

component_idx (int32) –

Return type:

Array[RichCurveKeyBP]

property loop_key_offset: float

[Read-Write] Specify the offset from the last point’s input key corresponding to the loop point

Type:

(float)

property points: None

[Read-Write] Holds the collection of interpolation points.

Type:

(Array[InterpCurvePointVector2D])