Viewport World Interaction

Viewport World Interaction

Windows
MacOS
Linux
On this page

Actions

Add Actor to Exclude from Hit Tests

Adds an actor to the list of actors to never allow an interactor to hit in the scene. No selection. No hover. There's no need to remove actors from this list. They'll expire from it automatically when destroyed.

Target is Viewport World Interaction

Add Interactor

Adds interactor to the worldinteraction

Target is Viewport World Interaction

Get Head Transform

Gets the transform of the viewport / user's HMD in world space

Target is Viewport World Interaction

Get Interactors

Gets all the interactors

Target is Viewport World Interaction

Get Room Space Head Transform

Gets the transform of the viewport / user's HMD in room space

Target is Viewport World Interaction

Get Room Transform

Gets the world space transform of the calibrated VR room origin. When using a seated VR device, this will feel like the camera's world transform (before any HMD positional or rotation adjustments are applied.)

Target is Viewport World Interaction

Get Transform Gizmo Actor

Gets the transform gizmo actor, or returns null if we currently don't have one

Target is Viewport World Interaction

Get World Scale Factor

Gets the world scale factor, which can be multiplied by a scale vector to convert to room space

Target is Viewport World Interaction

Remove Interactor

Removes interactor from the worldinteraction and removes the interactor from its paired interactor if any

Target is Viewport World Interaction

Set Head Transform

Sets a new transform for the room so that the HMD is aligned to the new transform. The Head is kept level to the ground and only rotated on the yaw

Target is Viewport World Interaction

Set Room Transform for Next Frame

Set Room Transform for Next Frame

Target is Viewport World Interaction

Set World to Meters Scale

Sets GNewWorldToMetersScale

Target is Viewport World Interaction

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss