unreal.VirtualCameraClipsMetaData

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

Bases: unreal.Object

Clips meta-data that is stored on ULevelSequence assets that are recorded through the virtual camera. Meta-data is retrieved through ULevelSequence::FindMetaData<UVirtualCameraClipsMetaData>()

C++ Source:

  • Plugin: VirtualCamera

  • Module: VirtualCamera

  • File: VirtualCameraClipsMetaData.h

get_display_rate() FrameRate
Returns

The display rate of the clip.

Return type

FrameRate

get_focal_length() float
Returns

The focal length for this clip

Return type

float

get_frame_count_end() int32
Returns

The final frame of the clip

Return type

int32

get_frame_count_start() int32
Returns

The initial frame of the clip

Return type

int32

get_is_a_cine_camera_recording() bool
Returns

Whether the clip was recorded by a CineCameraActor

Return type

bool

get_length_in_frames() int32
Returns

The length in frames of the clip.

Return type

int32

get_recorded_level_name() str
Returns

The name of the clip’s recorded level.

Return type

str

get_selected() bool
Returns

Whether or not the clip is selected.

Return type

bool

set_display_rate(display_rate) None

Set the DisplayRate of the clip used for AssetData calculations.

Parameters

display_rate (FrameRate) –

set_focal_length(focal_length) None

Set the focal length associated with this clip. note:: Used for tracking. Does not update the StreamedCameraComponent.

Parameters

focal_length (float) –

set_frame_count_end(frame) None

Set the final frame of the clip used for calculating duration.

Parameters

frame (int32) –

set_frame_count_start(frame) None

Set the initial frame of the clip used for calculating duration.

Parameters

frame (int32) –

set_is_a_cine_camera_recording(is_a_cine_camera_recording) None

Set if the clip was recorded by a CineCameraActor

Parameters

is_a_cine_camera_recording (bool) –

set_length_in_frames(length) None

Set the length in frames of the clip used for AssetData calculations.

Parameters

length (int32) –

set_recorded_level_name(level_name) None

Set the name of the level that the clip was recorded in.

Parameters

level_name (str) –

set_selected(selected) None

Set if this clip is ‘selected’

Parameters

selected (bool) –