unreal.VirtualCameraPresetContainer

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

Bases: unreal.Interface

Virtual Camera Preset Container

C++ Source:

  • Plugin: VirtualCamera

  • Module: VirtualCamera

  • File: IVirtualCameraPresetContainer.h

delete_preset(preset_name)int32

Deletes a preset using its name as the key.

Parameters

preset_name (str) – The name of the preset to delete

Returns

the number of values associated with the key

Return type

int32

get_settings_presets()

Returns a sorted TMap of the current presets.

Returns

a sorted TMap of settings presets

Return type

Map(str, VirtualCameraSettingsPreset)

load_preset(preset_name)bool

Loads a preset using its name as a string key.

Parameters

preset_name (str) – The name of the preset to load

Returns

true if successful, false otherwise

Return type

bool

save_preset(save_camera_settings, save_stabilization, save_axis_locking, save_motion_scale)str

Saves a preset into the list of presets.

Parameters
  • save_camera_settings (bool) – Should this preset save camera settings

  • save_stabilization (bool) – Should this preset save stabilization settings

  • save_axis_locking (bool) – Should this preset save axis locking settings

  • save_motion_scale (bool) – Should this preset save motion scaled settings

Returns

the name of the preset

Return type

str