unreal.InterpCurveVector2D

class unreal.InterpCurveVector2D(points=[], is_looped=False, loop_key_offset=0.0)

Bases: unreal.StructBase

Describes an entire curve that is used to compute a 2D vector output value from a float input. 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

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

Type

(bool)

keys_from_interp_curve_vector2d(component_idx)

Keys from Interp Curve Vector 2D

Parameters

component_idx (int32) –

Returns

Return type

Array(RichCurveKeyBP)

property loop_key_offset

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

Type

(float)

property points

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

Type

(Array(InterpCurvePointVector2D))