unreal.ToolsetTransform

class unreal.ToolsetTransform(location: Vector | None = Ellipsis, rotation: Rotator | None = Ellipsis, scale: Vector | None = Ellipsis)

Bases: StructBase

Represents a 3D transformation with optional location, rotation, and scale. Unset fields mean “identity” when creating objects and “don’t change” when modifying existing ones.

C++ Source:

  • Plugin: ToolsetRegistry

  • Module: ToolsetRegistry

  • File: TransformConverter.h

Editor Properties: (see get_editor_property/set_editor_property)

  • location (Optional[Vector]): [Read-Write] The world-space location.

  • rotation (Optional[Rotator]): [Read-Write] The world-space rotation.

  • scale (Optional[Vector]): [Read-Write] The scale.

property location: Vector | None

[Read-Write] The world-space location.

Type:

(Optional[Vector])

property rotation: Rotator | None

[Read-Write] The world-space rotation.

Type:

(Optional[Rotator])

property scale: Vector | None

[Read-Write] The scale.

Type:

(Optional[Vector])