Get Laser Pointer

Get Laser Pointer

Windows
MacOS
Linux

Gets the start and end point of the laser pointer for the specified hand

Target is Viewport Interactor

Get Laser Pointer
Target
Select Asset
Even if Blocked
Laser Length Override
0.000000
Laser Pointer Start
X0
Y 0
Z 0
Laser Pointer End
X0
Y 0
Z 0
Return Value

Inputs

In
Exec
Target
Viewport Interactor Object Reference
Even if Blocked
Boolean

If true, returns a laser pointer even if the hand has UI in front of it (defaults to false)

Laser Length Override
Float

If zero the default laser length (VREdMode::GetLaserLength) is used

Outputs

Out
Exec
Laser Pointer Start
Vector
Laser Pointer End
Vector
Return Value
Boolean

True if we have motion controller data for this hand and could return a valid result

Select Skin
Light
Dark

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