UHoloLensARFunctionLibrary

A function library that provides static/Blueprint functions for HoloLensAR.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

HoloLensAR

Header

/Engine/Plugins/Runtime/AR/Microsoft/HoloLensAR/Source/HoloLensAR/Public/HoloLensARFunctionLibrary.h

Include

#include "HoloLensARFunctionLibrary.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UHoloLensARFunctionLibrary : public UBlueprintFunctionLibrary

Remarks

A function library that provides static/Blueprint functions for HoloLensAR.

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category, Meta

UWMRARPin &#...

 

CreateNamedARPin

(
    FName Name,
    const FTransform& PinToWorldTransf...
)

Create an UARPin with the specified name, which will also be the name used to store it in the Windows Mixed Reality Anchor Store.

Public function Static

UWMRARPin &#...

 

CreateNamedARPinAroundAnchor

(
    FName Name,
    const FString& AnchorId
)

Public function Static UFunction BlueprintPure, Category, Meta

bool

 

GetPVCameraIntrinsics

(
    FVector2D& focalLength,
    int& width,
    int& height,
    FVector2D& principalPoint,
    FVector& radialDistortion,
    FVector2D& tangentialDistortion
)

Get the PV Camera intrinsics.

Public function Static UFunction BlueprintPure, Category, Meta

FTransform

 

GetPVCameraToWorldTransform()

Get the transform from PV camera space to Unreal world space.

Public function Static UFunction BlueprintPure, Category, Meta

FVector

 

GetWorldSpaceRayFromCameraPoint

(
    FVector2D pixelCoordinate
)

Get a ray into the scene from a camera point. X is left/right Y is up/down

Public function Static UFunction BlueprintPure, Category, Meta

bool

 

IsWMRAnchorStoreReady()

Is the WMRAnchorStore ready to handle calls.

Public function Static UFunction BlueprintCallable, Category, Meta

TArray< UWMR...

 

LoadWMRAnchorStoreARPins()

Load all ARPins from the Windows Mixed Reality Anchor Store.

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

PinComponentToARPin

(
    USceneComponent* ComponentToPi...,
    UWMRARPin* Pin
)

Associate a component with an ARPin, so that its transform will be updated by the pin.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

RemoveAllARPinsFromWMRAnchorStore()

Remove all ARPins from the the Windows Mixed Reality Anchor Store.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

RemoveARPinFromWMRAnchorStore

(
    UARPin* InPin
)

Remove an ARPin from the the Windows Mixed Reality Anchor Store.

Public function Static UFunction BlueprintCallable, Category, Meta

FIntPoint

 

ResizeMixedRealityCamera

(
    const FIntPoint& size
)

Change screen size of Mixed Reality Capture camera.

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

SaveARPinToWMRAnchorStore

(
    UARPin* InPin
)

Save an ARPin to the the Windows Mixed Reality Anchor Store.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

SetEnabledMixedRealityCamera

(
    bool IsEnabled
)

Enable or disable Mixed Reality Capture camera.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

StartCameraCapture()

Turn the camera on.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

StopCameraCapture()

Turn the camera off.

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