unreal.VirtualCameraController
¶
- class unreal.VirtualCameraController(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
Interface
Virtual Camera Controller
C++ Source:
Plugin: VirtualCameraCore
Module: VirtualCamera
File: IVirtualCameraController.h
- add_blendable_to_camera(blendable_to_add, weight) None ¶
Add Blendable to Camera
- Parameters:
blendable_to_add (BlendableInterface) –
weight (float) –
- add_on_virtual_camera_updated_delegate(delegate) None ¶
Adds a delegate that will be executed every tick while streaming.
- Parameters:
delegate (VirtualCameraTickDelegate) –
- get_live_link_representation() LiveLinkSubjectRepresentation ¶
Get Live Link Representation
- Return type:
- get_options() VirtualCameraOptions ¶
Get Options
- Return type:
- get_preset_container() VirtualCameraPresetContainer ¶
Get Preset Container
- Return type:
- get_scene_capture_component() SceneCaptureComponent2D ¶
Get Scene Capture Component
- Return type:
- get_sequence_controller() LevelSequencePlaybackController ¶
Returns the VirtualCamera’s Sequence Controller.
- Return type:
- get_streamed_camera_component() CineCameraComponent ¶
Returns the target camera that is used to create the streamed view.
- Return type:
- remove_on_virtual_camera_updated_delegate(delegate) None ¶
Remove delegate that is executed every tick while streaming.
- Parameters:
delegate (VirtualCameraTickDelegate) –
- set_before_set_virtual_camera_transform_delegate(delegate) None ¶
Delegate will be executed before transform is set onto VirtualCamera.
- Parameters:
delegate (PreSetVirtualCameraTransform) –
- set_focus_visualization(show_focus_visualization) None ¶
Set Focus Visualization
- Parameters:
show_focus_visualization (bool) –
- set_live_link_representation(live_link_represenation) None ¶
Set Live Link Representation
- Parameters:
live_link_represenation (LiveLinkSubjectRepresentation) –
- set_on_actor_clicked_delegate(delegate) None ¶
Delegate will be executed when an actor in the scene was clicked/touched.
- Parameters:
delegate (OnActorClickedDelegate) –
- set_save_settings_on_stop_streaming(should_settings_save) None ¶
Sets whether settings should be saved when stream is stopped.
- Parameters:
should_settings_save (bool) –