unreal.LuminARSessionFunctionLibrary
¶
-
class
unreal.
LuminARSessionFunctionLibrary
(outer=None, name='None')¶ Bases:
unreal.BlueprintFunctionLibrary
A function library that provides static/Blueprint functions associated with LuminAR session.
C++ Source:
Plugin: MagicLeap
Module: MagicLeapAR
File: LuminARFunctionLibrary.h
-
classmethod
start_lumin_ar_session
(world_context_object, latent_info, configuration) → None¶ Starts a new LuminAR tracking session LuminAR specific configuration. If the session already started and the config isn’t the same, it will stop the previous session and start a new session with the new config. Note that this is a latent action, you can query the session start result by querying GetLuminARSessionStatus() after the latent action finished.
- Parameters
world_context_object (Object) –
latent_info (LatentActionInfo) –
configuration (LuminARSessionConfig) – The LuminARSession configuration to start the session.