unreal.DataprepRandomizeTransformOperation

class unreal.DataprepRandomizeTransformOperation(outer=None, name='None')

Bases: unreal.DataprepOperation

For each actor in the input set, offset its position/rotation/scale with random vector generated from X/Y/Z Min-Max.

C++ Source:

  • Plugin: DataprepEditor
  • Module: DataprepLibraries
  • File: DataprepOperations.h

Editor Properties: (see get_editor_property/set_editor_property)

  • max (Vector): [Read-Write] Max random value
  • min (Vector): [Read-Write] Min random value
  • reference_frame (RandomizeTransformReferenceFrame): [Read-Write] Reference frame to use (relative/world)
  • transform_type (RandomizeTransformType): [Read-Write] Transform component to randomize