Package com.banuba.sdk.scene
Interface Component
- All Known Implementing Classes:
Component.CppProxy
public interface Component
Base component class.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptioncast component to body_tracker subclass instance.cast component to face_morphing subclass instance.cast component to face tracker subclass instance.cast component to hand_tracker subclass instance.cast component to mesh_instance subclass instance.cast component to transformation_3d subclass instance.
-
Method Details
-
getComponentType
- Returns:
- component type. Can be face_tracker, transformation, mesh_instance or face_morphing.
-
asFaceTracker
cast component to face tracker subclass instance. Will throw if derived class is not instance of face_tracker. -
asMeshInstance
cast component to mesh_instance subclass instance. Will throw if derived class is not instance of mesh_instance. -
asFaceMorphing
cast component to face_morphing subclass instance. Will throw if derived class is not instance of face_morphing. -
asTransformation
cast component to transformation_3d subclass instance. Will throw if derived class is not instance of transformation_3d. -
asHandTracker
cast component to hand_tracker subclass instance. Will throw if derived class is not instance of hand_tracker. -
asBodyTracker
cast component to body_tracker subclass instance. Will throw if derived class is not instance of body_tracker.
-