unreal.MagicLeapHandMeshingFunctionLibrary

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

Bases: unreal.BlueprintFunctionLibrary

Magic Leap Hand Meshing Function Library

C++ Source:

  • Plugin: MagicLeap
  • Module: MagicLeapHandMeshing
  • File: MagicLeapHandMeshingFunctionLibrary.h
classmethod connect_mr_mesh(mr_mesh_ptr) → bool

Connects the MRMesh component.

Parameters:mr_mesh_ptr (MRMeshComponent) – The MRMeshComponent to be used as the hand meshing source.
Returns:True if successful, false otherwise.
Return type:bool
classmethod create_client() → bool

Create the hand meshing client Note that this will be the only function in the HandMeshing API that will raise a PrivilegeDenied error. Trying to call the other functions with an invalid MLHandle will result in an InvalidParam error.

Returns:True if successful, false otherwise.
Return type:bool
classmethod destroy_client() → bool

Destroys the hand meshing client.

Returns:True if successful, false otherwise.
Return type:bool
classmethod disconnect_mr_mesh(mr_mesh_ptr) → bool

Disconnects the MRMesh component.

Parameters:mr_mesh_ptr (MRMeshComponent) – The MRMeshComponent to be removed as the hand meshing source.
Returns:True if successful, false otherwise.
Return type:bool