unreal.VPBlueprintLibrary
¶
- class unreal.VPBlueprintLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibrary
Functionality added to prototype the VR scouting tools
C++ Source:
Plugin: VirtualProductionUtilities
Module: VPUtilities
File: VPBlueprintLibrary.h
- classmethod get_editor_viewport_transform() Transform ¶
Get the location of the 2D viewport camera
- Return type:
- classmethod get_editor_vr_room_transform() Transform ¶
Get the VR room transform (the playable area shown as a wireframe cage on Vive and Rift
- Return type:
- classmethod get_editor_world() World ¶
Wrapper around UUnrealEditorSubsystem::GetEditorWorld. Used because you can’t get the subsystem without being an editor utility actor.
- Return type:
- classmethod get_virtual_production_role() GameplayTagContainer ¶
The machine role(s) in a virtual production context.
- Return type:
- classmethod get_vr_editor_laser_hover_location() Vector ¶
Get the hitlocation of the interaction controller’s laser pointer, in world space
- Return type:
- classmethod is_vr_editor_mode_active() bool ¶
Get whether the user is in editor VR mode
- Return type:
- classmethod jump_to_bookmark_in_level_editor(bookmark) bool ¶
Jump to a virtual production bookmark
- Parameters:
bookmark (VPBookmark) –
- Return type:
- classmethod refresh3d_editor_viewport() None ¶
Refresh the desktop 3D viewport so that it updates changes even when not set to ‘Realtime’
- classmethod spawn_bookmark_at_current_level_editor_position(actor_class, creation_context, offset, flatten_rotation=True) Actor ¶
Spawn a virtual production bookmark
- classmethod spawn_vp_tickable_actor(context_object, actor_class, location, rotation) VPViewportTickableActorBase ¶
Spawn a virtual production tickable actor
- 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) –