unreal.VirtualCameraMovement

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

Bases: unreal.Object

A class to handle the virtual Camera transform.

C++ Source:

  • Plugin: VirtualCamera

  • Module: VirtualCamera

  • File: VirtualCameraMovement.h

get_local_transform()Transform

Get the unmodified local transform.

Returns

Return type

Transform

get_transform()Transform

Get the modified transform.

Returns

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) –