unreal.VPBlueprintLibrary

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

Bases: unreal.BlueprintFunctionLibrary

Functionality added to prototype the VR scouting tools

C++ Source:

  • Plugin: VirtualProductionUtilities

  • Module: VPUtilities

  • File: VPBlueprintLibrary.h

classmethod editor_delete_selected_objects()bool

Trigger an UnrealEd Delete

Returns

Return type

bool

classmethod editor_duplicate()bool

Trigger an UnrealEd Duplicate

Returns

Return type

bool

classmethod editor_redo()bool

Trigger an UnrealEd Redo

Returns

Return type

bool

classmethod editor_undo()bool

Trigger an UnrealEd Undo

Returns

Return type

bool

classmethod get_editor_viewport_transform()Transform

Get the location of the 2D viewport camera

Returns

Return type

Transform

classmethod get_editor_vr_head_transform()Transform

Get the location of the VR HMD

Returns

Return type

Transform

classmethod get_editor_vr_room_transform()Transform

Get the VR room transform (the playable area shown as a wireframe cage on Vive and Rift

Returns

Return type

Transform

classmethod get_virtual_production_role()GameplayTagContainer

The machine role(s) in a virtual production context.

Returns

Return type

GameplayTagContainer

classmethod get_vr_editor_laser_hover_location()Vector

Get the hitlocation of the interaction controller’s laser pointer, in world space

Returns

Return type

Vector

classmethod is_vr_editor_mode_active()bool

Get whether the user is in editor VR mode

Returns

Return type

bool

classmethod jump_to_bookmark_in_level_editor(bookmark)bool

Jump to a virtual production bookmark

Parameters

bookmark (VPBookmark) –

Returns

Return type

bool

classmethod refresh3d_editor_viewport()None

Refresh the desktop 3D viewport so that it updates changes even when not set to ‘Realtime’

classmethod set_grab_speed(speed)None

Set the VR grab speed cvar

Parameters

speed (float) –

classmethod spawn_bookmark_at_current_level_editor_position(actor_class, creation_context, offset, flatten_rotation=True)Actor

Spawn a virtual production bookmark

Parameters
Returns

Return type

Actor

classmethod spawn_vp_tickable_actor(context_object, actor_class, location, rotation)VPViewportTickableActorBase

Spawn a virtual production tickable actor

Parameters
Returns

Return type

VPViewportTickableActorBase

classmethod vp_bookmark_spline_mesh_indicator_disable(spline_mesh)None

VPBookmark Spline Mesh Indicator Disable

Parameters

spline_mesh (SplineMeshComponent) –

classmethod vp_bookmark_spline_mesh_indicator_set_start_and_end(spline_mesh)None

VPBookmark Spline Mesh Indicator Set Start and End

Parameters

spline_mesh (SplineMeshComponent) –