unreal.DynamicPlayRateSettings

class unreal.DynamicPlayRateSettings(enabled=False, scale_bias_clamp=[False, False, False, [0.0, 1.0], [0.0, 1.0], 1.0, 0.0, 0.0, 1.0, 10.0, 10.0], remapping_curve=None, root_motion_sample_rate=60.0, zero_root_motion_angle_threshold=90.0, zero_root_motion_displacement_error=0.0004)

Bases: unreal.StructBase

Dynamic Play Rate Settings

C++ Source:

  • Module: DynamicPlayRate

  • File: DynamicPlayRateLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • debug_draw (bool): [Read-Write] Debug Draw: Display in-game world markers visualizing the most significant motion values in consideration for play rate adjustment

  • enabled (bool): [Read-Write] Enabled: Enable/Disable dynamic play rate adjusment

  • remapping_curve (CurveFloat): [Read-Write] Remapping Curve: Optional play rate remapping curve (X axis: Source play rate, Y axis: Target play rate)

  • root_motion_sample_rate (float): [Read-Write] Root Motion Sample Rate: Root motion time step (per second) used for analyzing and determining future zero velocities

  • scale_bias_clamp (InputScaleBiasClamp): [Read-Write] Scale Bias Clamp: Optional scaling, biasing, and clamping controls for play rate adjustment

  • zero_root_motion_angle_threshold (float): [Read-Write] Zero Root Motion Angle Threshold: Root motion angle threshold for determining significant changes in direction (ex: Identifying pivots)

  • zero_root_motion_displacement_error (float): [Read-Write] Zero Root Motion Displacement Error: Root motion displacement error tolerance, for identifying false positive associated with ZeroRootMotionAngleThreshold

property enabled

[Read-Write] Enabled: Enable/Disable dynamic play rate adjusment

Type

(bool)

property remapping_curve

[Read-Write] Remapping Curve: Optional play rate remapping curve (X axis: Source play rate, Y axis: Target play rate)

Type

(CurveFloat)

property root_motion_sample_rate

[Read-Write] Root Motion Sample Rate: Root motion time step (per second) used for analyzing and determining future zero velocities

Type

(float)

property scale_bias_clamp

[Read-Write] Scale Bias Clamp: Optional scaling, biasing, and clamping controls for play rate adjustment

Type

(InputScaleBiasClamp)

property zero_root_motion_angle_threshold

[Read-Write] Zero Root Motion Angle Threshold: Root motion angle threshold for determining significant changes in direction (ex: Identifying pivots)

Type

(float)

property zero_root_motion_displacement_error

[Read-Write] Zero Root Motion Displacement Error: Root motion displacement error tolerance, for identifying false positive associated with ZeroRootMotionAngleThreshold

Type

(float)