unreal.VREditorFloatingUICreationContext

class unreal.VREditorFloatingUICreationContext(widget_class=None, panel_id='None', panel_spawn_offset=[[0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [1.0, 1.0, 1.0]], panel_size=[0.0, 0.0], panel_mesh=None, editor_ui_size=0.0, hide_window_handles=False)

Bases: unreal.StructBase

Creation parameters for AVREditorFloatingUI

C++ Source:

  • Module: VREditor
  • File: VREditorFloatingUI.h

Editor Properties: (see get_editor_property/set_editor_property)

  • editor_ui_size (float): [Read-Write] Optional override for “VREd.EditorUISize”. Leave at 0 for default.
  • hide_window_handles (bool): [Read-Write] / Turn off handles under window? (X-To-Close, movement bar…)
  • panel_id (Name): [Read-Write] ID that the UI system will use to identify the panel. MUST BE UNIQUE!
  • panel_mesh (StaticMesh): [Read-Write] NOT IN USE YET! Custom mesh to use for the VR window.
  • panel_size (Vector2D): [Read-Write] Panel size. Should match the size of the UMG passed in.
  • panel_spawn_offset (Transform): [Read-Write] Optional offset from HMD where the window opens. Pass FTransform::Identity for default logic - window will open at controller location.
  • widget_class (type(Class)): [Read-Write] Widget to open in the VR window. null to close an open window (if if matches the PanelID)
editor_ui_size

(float) – [Read-Write] Optional override for “VREd.EditorUISize”. Leave at 0 for default.

hide_window_handles

(bool) – [Read-Write] / Turn off handles under window? (X-To-Close, movement bar…)

panel_id

(Name) – [Read-Write] ID that the UI system will use to identify the panel. MUST BE UNIQUE!

panel_mesh

(StaticMesh) – [Read-Write] NOT IN USE YET! Custom mesh to use for the VR window.

panel_size

(Vector2D) – [Read-Write] Panel size. Should match the size of the UMG passed in.

panel_spawn_offset

(Transform) – [Read-Write] Optional offset from HMD where the window opens. Pass FTransform::Identity for default logic - window will open at controller location.

widget_class

(type(Class)) – [Read-Write] Widget to open in the VR window. null to close an open window (if if matches the PanelID)