unreal.VirtualCameraMovement

class unreal.VirtualCameraMovement(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

A class to handle the virtual Camera transform.

C++ Source:

  • Plugin: VirtualCameraCore

  • Module: VirtualCamera

  • File: VirtualCameraMovement.h

get_local_transform() Transform

Get the unmodified local transform.

Return type:

Transform

get_transform() Transform

Get the modified transform.

Return type:

Transform

reset_local_axis() None

Remove the axis transform, all scaling factor will be calculated from the origin.

set_local_axis(transform) None

Set the transform from where the scaling factor will be calculated from.

Parameters:

transform (Transform) –

set_local_transform(transform) None

Set the local transform that will be modified by the scaling factor.

Parameters:

transform (Transform) –

set_location_scale(location_scale) None

Scale the local location of the local transform from the local axis.

Parameters:

location_scale (Vector) –

set_rotation_scale(rotation_scale) None

Scale the local rotation of the local transform from the local axis.

Parameters:

rotation_scale (Rotator) –