unreal.BodyStateBPLibrary

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

Bases: unreal.BlueprintFunctionLibrary

  • Extra functions useful for animation rigging in BP

C++ Source:

  • Plugin: LeapMotion
  • Module: BodyState
  • File: BodyStateBPLibrary.h
classmethod attach_device(configuration, input_callback_delegate) → int32

Attach Device

Parameters:
Returns:

Return type:

int32

classmethod detach_device(device_id) → bool

Detach Device

Parameters:device_id (int32) –
Returns:
Return type:bool
classmethod skeleton_for_device(world_context_object, device_id=0) → BodyStateSkeleton

Obtain the UBodyStateSkeleton attached to device or 0 if you want the merged skeleton

Parameters:
  • world_context_object (Object) –
  • device_id (int32) –
Returns:

Return type:

BodyStateSkeleton

classmethod transform_for_bone_named_in_anim_instance(bone, instance) → Transform

Convenience function for rigging

Parameters:
Returns:

Return type:

Transform