unreal.TrajectorySample

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

Bases: StructBase

A motion trajectory sample associated with a specific time or distance domain value

C++ Source:

  • Module: Engine

  • File: MotionTrajectoryTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • accumulated_seconds (float): [Read-Write] Accumulated Seconds: 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: Linear velocity relative to the sampled in-motion object

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

property accumulated_distance: float

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

Type:

(float)

property accumulated_seconds: float

[Read-Write] Accumulated Seconds: 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: Linear velocity relative to the sampled in-motion object

Type:

(Vector)

property transform: Transform

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

Type:

(Transform)