UMagicLeapCVCameraComponent

The MagicLeapCVCameraComponent provides access to and maintains state for computer vision camera capture functionality.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MagicLeapCVCamera

Header

/Engine/Plugins/Lumin/MagicLeapCamera/Source/MagicLeapCVCamera/Public/MagicLeapCVCameraComponent.h

Include

#include "MagicLeapCVCameraComponent.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ClassGroup=MagicLeap, BlueprintType, Blueprintable, EditInlineNew,
       Meta=(BlueprintSpawnableComponent))
class UMagicLeapCVCameraComponent : public UActorComponent

Remarks

The MagicLeapCVCameraComponent provides access to and maintains state for computer vision camera capture functionality. The connection to the device's camera is managed internally. Users of this component are able to retrieve various computer vision data for processing.

Functions

Name Description

Public function UFunction BlueprintPure, Category

bool

 

GetCameraOutput

(
    FMagicLeapCameraOutput& OutCameraO...
)

Gets the latest transform of the camera.

Public function UFunction BlueprintPure, Category

bool

 

GetFramePose

(
    FTransform& OutFramePose
)

Gets the latest transform of the camera.

Public function UFunction BlueprintPure, Category

bool

 

GetIntrinsicCalibrationParameters

Gets the intrinsic calibration parameters of the camera. Requires the camera to be connected.

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

BeginPlay()

Initializes the computer vision stream.

Public function Virtual

void

 

EndPlay

(
    const EEndPlayReason::Type EndPlayR...
)

Closes the computer vision stream.

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