Package com.banuba.sdk.scene
Class HandTracker.CppProxy
- java.lang.Object
-
- com.banuba.sdk.scene.HandTracker.CppProxy
-
- All Implemented Interfaces:
HandTracker
- Enclosing interface:
- HandTracker
public static final class HandTracker.CppProxy extends java.lang.Object implements HandTracker
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.HandTracker
HandTracker.CppProxy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_djinni_private_destroy()
Component
asComponent()
static HandTracker
create()
Fabric method for hand creating.protected void
finalize()
Hand
getHand()
HandTrackerType
getType()
void
setHand(Hand hand)
Sets hand to hand tracker.void
setType(HandTrackerType type)
-
-
-
Method Detail
-
_djinni_private_destroy
public void _djinni_private_destroy()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
setHand
public void setHand(Hand hand)
Description copied from interface:HandTracker
Sets hand to hand tracker.- Specified by:
setHand
in interfaceHandTracker
- Parameters:
hand
- (hand): hand asset
-
getHand
public Hand getHand()
- Specified by:
getHand
in interfaceHandTracker
- Returns:
- hand (hand): hand asset
-
getType
public HandTrackerType getType()
- Specified by:
getType
in interfaceHandTracker
- Returns:
- tracker type. Can be hand_skelet or ring
-
setType
public void setType(HandTrackerType type)
- Specified by:
setType
in interfaceHandTracker
-
asComponent
public Component asComponent()
- Specified by:
asComponent
in interfaceHandTracker
- Returns:
- upcast to base type
-
create
@Nullable public static HandTracker create()
Description copied from interface:HandTracker
Fabric method for hand creating.- Returns:
- created (hand_tracker).
-
-