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

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback