Navigation
API > API/Editor > API/Editor/ViewportInteraction > API/Editor/ViewportInteraction/UViewportInteractor
References
| Module | ViewportInteraction |
| Header | /Engine/Source/Editor/ViewportInteraction/Public/ViewportInteractor.h |
| Include | #include "ViewportInteractor.h" |
| Source | /Engine/Source/Editor/ViewportInteraction/Private/ViewportInteractor.cpp |
bool GetLaserPointer
&40;
FVector & LaserPointerStart,
FVector & LaserPointerEnd,
const bool bEvenIfBlocked,
const float LaserLengthOverride
&41;
Remarks
Gets the start and end point of the laser pointer for the specified hand True if we have motion controller data for this hand and could return a valid result
Parameters
| Name | Description |
|---|---|
| LasertPointerStart | (Out) The start location of the laser pointer in world space |
| LasertPointerEnd | (Out) The end location of the laser pointer in world space |
| bEvenIfBlocked | If true, returns a laser pointer even if the hand has UI in front of it (defaults to false) |
| LaserLengthOverride | If zero the default laser length (VREdMode::GetLaserLength) is used |