Banuba SDK
Instance Methods | List of all members
BNBComponent Class Reference

#import <BNBComponent.h>

Inheritance diagram for BNBComponent:

Instance Methods

(BNBComponentType) - getComponentType
 
(nullable BNBFaceTracker *) - asFaceTracker
 cast component to face tracker subclass instance. More...
 
(nullable BNBMeshInstance *) - asMeshInstance
 cast component to mesh_instance subclass instance. More...
 
(nullable BNBFaceMorphing *) - asFaceMorphing
 cast component to face_morphing subclass instance. More...
 
(nullable BNBTransformation3d *) - asTransformation
 cast component to transformation_3d subclass instance. More...
 
(nullable BNBHandTracker *) - asHandTracker
 cast component to hand_tracker subclass instance. More...
 
(nullable BNBBodyTracker *) - asBodyTracker
 cast component to body_tracker subclass instance. More...
 

Detailed Description

Definition at line 21 of file BNBComponent.h.

Method Documentation

◆ asBodyTracker

- (nullable BNBBodyTracker *) asBodyTracker

cast component to body_tracker subclass instance.

Will throw if derived class is not instance of body_tracker.

◆ asFaceMorphing

- (nullable BNBFaceMorphing *) asFaceMorphing

cast component to face_morphing subclass instance.

Will throw if derived class is not instance of face_morphing.

◆ asFaceTracker

- (nullable BNBFaceTracker *) asFaceTracker

cast component to face tracker subclass instance.

Will throw if derived class is not instance of face_tracker.

◆ asHandTracker

- (nullable BNBHandTracker *) asHandTracker

cast component to hand_tracker subclass instance.

Will throw if derived class is not instance of hand_tracker.

◆ asMeshInstance

- (nullable BNBMeshInstance *) asMeshInstance

cast component to mesh_instance subclass instance.

Will throw if derived class is not instance of mesh_instance.

◆ asTransformation

- (nullable BNBTransformation3d *) asTransformation

cast component to transformation_3d subclass instance.

Will throw if derived class is not instance of transformation_3d.

◆ getComponentType

- (BNBComponentType) getComponentType
Returns
component type. Can be face_tracker, transformation, mesh_instance or face_morphing.

The documentation for this class was generated from the following file: