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

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