unreal.TrajectorySample

class unreal.TrajectorySample(accumulated_seconds: float = 0.0, transform: Transform = Ellipsis, linear_velocity: Vector = Ellipsis)

Bases: StructBase

Trajectory Sample

C++ Source:

  • Module: Engine

  • File: MotionTrajectoryTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • accumulated_seconds (float): [Read-Write] The relative accumulated time that this sample is associated with Zero value for instantaneous, negative values for the past, and positive values for the future

  • linear_velocity (Vector): [Read-Write] Linear velocity relative to the sampled in-motion object

  • transform (Transform): [Read-Write] Position relative to the sampled in-motion object

property accumulated_seconds: float

[Read-Write] The relative accumulated time that this sample is associated with Zero value for instantaneous, negative values for the past, and positive values for the future

Type:

(float)

property linear_velocity: Vector

[Read-Write] Linear velocity relative to the sampled in-motion object

Type:

(Vector)

property transform: Transform

[Read-Write] Position relative to the sampled in-motion object

Type:

(Transform)