unreal.ScreenTransform

class unreal.ScreenTransform(screen_position=[0.0, 0.0, 0.0], screen_orientation=[0.0, 0.0, 0.0], screen_dimensions=[0.0, 0.0, 0.0])

Bases: unreal.StructBase

Information required to place a screen in the world.

This will be received from the Screens Launcher api, based on the previous screens spawned by user.

C++ Source:

  • Plugin: MagicLeapScreens
  • Module: MagicLeapScreens
  • File: MagicLeapScreensTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • screen_dimensions (Vector): [Read-Write] Dimensions of the screen in Unreal Units. The dimensions are axis-aligned with the orientation.
  • screen_orientation (Rotator): [Read-Write] Orientation of the screen in Unreal’s world space.
  • screen_position (Vector): [Read-Write] Position of the screen in Unreal’s world space.
screen_dimensions

(Vector) – [Read-Write] Dimensions of the screen in Unreal Units. The dimensions are axis-aligned with the orientation.

screen_orientation

(Rotator) – [Read-Write] Orientation of the screen in Unreal’s world space.

screen_position

(Vector) – [Read-Write] Position of the screen in Unreal’s world space.