unreal.LuminARImageTrackingFunctionLibrary

class unreal.LuminARImageTrackingFunctionLibrary(outer=None, name='None')

Bases: unreal.BlueprintFunctionLibrary

Lumin ARImage Tracking Function Library

C++ Source:

  • Plugin: MagicLeap

  • Module: MagicLeapAR

  • File: LuminARFunctionLibrary.h

classmethod add_lumin_runtime_candidate_image(session_config, candidate_texture, friendly_name, physical_width, use_unreliable_pose, image_is_stationary)LuminARCandidateImage

Create a LuminARCandidateImage object and add it to the ARCandidateImageList of the given c UARSessionConfig object.

Note that you need to restart the AR session with the c UARSessionConfig you are adding to to make the change take effect.

On ARCore platform, you can leave the PhysicalWidth to 0 if you don’t know the physical size of the image or the physical size is dynamic. And this function takes time to perform non-trivial image processing (20ms - 30ms), and should be run on a background thread. deprecated: Function ‘AddLuminRuntimeCandidateImage’ is deprecated.

Parameters
Returns

A c ULuminARCandidateImage Object pointer if the underlying ARPlatform added the candidate image at runtime successfully. Return nullptr otherwise.

Return type

LuminARCandidateImage

classmethod add_lumin_runtime_candidate_image_ex(session_config, candidate_texture, friendly_name, physical_width, use_unreliable_pose, image_is_stationary, axis_orientation)LuminARCandidateImage

Add Lumin Runtime Candidate Image Ex

Parameters
Returns

Return type

LuminARCandidateImage